/* --- FastChat Premium Web Styles (Dark Mode & Bold) --- */

:root {
    --primary: #4CAF50;
    --primary-light: #E8F5E9;
    --primary-dark: #2E7D32;
    --gray-bg: #F9FAFB;
}

/* Dark Mode Overrides */
.dark {
    --gray-bg: #0F172A;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--gray-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Bold & Readable Text */
.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }

/* Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Custom Scrollbar */
.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Pill Styles */
.pill-active {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* Stat Cards */
.stat-card {
    transition: all 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* Navigation Active State */
.nav-active i { color: var(--primary) !important; }
.nav-active div { background-color: var(--primary-light); }
.dark .nav-active div { background-color: rgba(76, 175, 80, 0.1); }

/* Checkbox Modern Styling */
input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    border-color: #E5E7EB;
}

/* Modal Styling */
#modal-qr, #modal-scheduler, #modal-category, #modal-template {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Group Item */
.group-item {
    transition: all 0.1s ease;
    border: 1.5px solid transparent;
}
.group-item:hover {
    border-color: var(--primary-light);
}

/* Typography Overrides */
input::placeholder {
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.05em;
}

/* Shadow Inner */
.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .screen { padding-bottom: 5rem; }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark Mode Utility helper */
.dark .bg-white { background-color: #1E293B; }
.dark .border-gray-100, .dark .border-gray-50 { border-color: #334155; }
.dark .text-gray-900 { color: #F8FAFC; }
.dark .text-gray-800 { color: #F1F5F9; }
.dark .text-gray-700 { color: #E2E8F0; }
.dark .text-gray-400 { color: #94A3B8; }
.dark .bg-gray-50 { background-color: #1E293B; }
.dark .bg-gray-100 { background-color: #0F172A; }

/* Theme Toggle Animation */
#theme-icon { transition: transform 0.5s ease; }
.dark #theme-icon { transform: rotate(360deg); }
