@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

/* main.css */
body {
    font-family: 'Kanit', sans-serif;
}

/* Header gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
}

/* Card shadow effect */
.card-shadow {
    box-shadow: 0 20px 25px -5px rgba(46, 125, 50, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.06);
}

/* Table row hover effect */
.phone-row:hover {
    background: linear-gradient(90deg, #f0fdf4 0%, #ecfdf5 100%);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Phone number gradient text */
.phone-number {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Department icon background */
.department-icon {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
}

/* Note badge background */
.note-badge {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
    color: #fff;
    font-family: 'Kanit', sans-serif;
}

/* Additional utility classes */
.bg-gray-50 {
    background-color: #f9fafb;
}

.min-h-screen {
    min-height: 100vh;
}

.text-white {
    color: #ffffff;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.text-center {
    text-align: center;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.bg-white {
    background-color: #ffffff;
}

.bg-opacity-20 {
    background-opacity: 0.2;
}

.rounded-full {
    border-radius: 9999px;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-opacity-90 {
    color-opacity: 0.9;
}

.max-w-2xl {
    max-width: 42rem;
}

.border-b {
    border-bottom-width: 1px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.flex {
    display: flex;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-green-700 {
    color: #2e7d32;
}

.hover\:text-gold:hover {
    color: #c0a040;
}

.font-medium {
    font-weight: 500;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-600 {
    color: #4b5563;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.overflow-hidden {
    overflow: hidden;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-to: rgb(249 250 251 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-gray-100 {
    --tw-gradient-to: #f3f4f6;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-gray-800 {
    color: #1f2937;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.bg-green-600 {
    background-color: #2e7d32;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.text-gray-500 {
    color: #6b7280;
}

.overflow-x-auto {
    overflow-x: auto;
}

.w-full {
    width: 100%;
}

.text-left {
    text-align: left;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-700 {
    color: #374151;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.divide-y {
    border-top-width: 0px;
}

.divide-y > * + * {
    border-top-width: 1px;
}

.divide-gray-200 > * + * {
    border-color: #e5e7eb;
}

.mr-4 {
    margin-right: 1rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 0.5rem;
}

.italic {
    font-style: italic;
}

.inline-flex {
    display: inline-flex;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mt-8 {
    margin-top: 2rem;
}

.from-green-50 {
    --tw-gradient-from: #f0fdf4;
    --tw-gradient-to: rgb(240 253 244 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-gold-50 {
    --tw-gradient-to: #fff8e1;
}

.p-8 {
    padding: 2rem;
}

.border {
    border-width: 1px;
}

.border-green-100 {
    border-color: #d0f0d9;
}

.items-start {
    align-items: flex-start;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.bg-green-900 {
    background-color: #1b5e20;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.text-gray-300 {
    color: #d1d5db;
}

/* Responsive classes */
@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}
/* ================= DARK MODE ================= */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

/* Header gradient background */
body.dark-mode .gradient-bg {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
}

/* Card shadow effect */
body.dark-mode .card-shadow {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8),
                0 10px 10px -5px rgba(0, 0, 0, 0.6);
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

/* Table row hover effect */
body.dark-mode .phone-row:hover {
    background: linear-gradient(90deg, #1e1e1e 0%, #2a2a2a 100%);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Phone number gradient text */
body.dark-mode .phone-number {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Department icon background */
body.dark-mode .department-icon {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
    color: #fff;
}

/* Note badge background */
body.dark-mode .note-badge {
    background: linear-gradient(135deg, #2e7d32 0%, #c0a040 100%);
    color: #fff;
}

/* Utility overrides */
body.dark-mode .bg-gray-50,
body.dark-mode .from-gray-50,
body.dark-mode .to-gray-100 {
    background-color: #1a1a1a !important;
    --tw-gradient-from: #1a1a1a;
    --tw-gradient-to: #121212;
}

body.dark-mode .bg-white {
    background-color: #1a1a1a !important;
}

body.dark-mode .text-gray-800,
body.dark-mode .text-gray-700,
body.dark-mode .text-gray-600,
body.dark-mode .text-gray-500,
body.dark-mode .text-gray-400 {
    color: #ddd !important;
}

body.dark-mode .border-gray-200,
body.dark-mode .divide-gray-200 > * + * {
    border-color: #2a2a2a !important;
}

/* Accent replacements */
body.dark-mode .text-green-700 {
    color: #2e7d32 !important;
}

body.dark-mode .hover\:text-gold:hover {
    color: #c0a040 !important;
}

body.dark-mode .bg-green-600 {
    background-color: #2e7d32 !important;
}

body.dark-mode .bg-green-900 {
    background-color: #0f3d17 !important;
}

body.dark-mode .text-gray-300 {
    color: #bbb !important;
}
