:root {
    --sidebar-width: 260px;
    --primary-green: #25D366;
    --primary-dark: #128C7E;
    --primary-darker: #075E54;
    --accent-teal: #00a884;
    --bg-dark: #111b21;
    --bg-light: #f0f2f5;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
}

/* ========== AUTH / LOGIN ========== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at 15% 20%, #0ea5e9 0%, transparent 25%),
                radial-gradient(circle at 85% 80%, #22c55e 0%, transparent 30%),
                linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #0b1220 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.35);
    width: 100%;
    max-width: 360px;
    padding: 32px 28px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease-out;
    border: 1px solid #e5e7eb;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: block;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    color: #667781;
    text-align: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.login-form .form-label {
    font-weight: 600;
    color: #3b4a54;
    font-size: 14px;
    margin-bottom: 8px;
}

.login-form .form-control {
    height: 52px;
    border-radius: 12px;
    border: 2px solid #e9edef;
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.login-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.login-form .btn-login {
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    border: none;
    transition: var(--transition);
}

.login-form .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e9edef;
    color: #667781;
    font-size: 13px;
}

/* ========== WRAPPER & LAYOUT ========== */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a2c35 100%);
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.32);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    padding: 8px;
}

.sidebar-header .btn-close:hover {
    opacity: 1;
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.sidebar-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: white;
    line-height: 1.2;
}

.sidebar-header span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.sidebar .nav {
    padding: 16px 12px;
}

.sidebar .nav-item {
    margin-bottom: 4px;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    will-change: transform;
}

.sidebar .nav-link:hover {
    background: rgba(37, 211, 102, 0.15);
    color: var(--primary-green);
    transform: translateX(4px);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.sidebar .nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sidebar .section-toggle {
    font-weight: 700;
    color: #d1d5db;
}

.sidebar .section-toggle[aria-expanded="true"] .section-chevron {
    transform: rotate(180deg);
}

.sidebar .section-chevron {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    margin-right: 0 !important;
    width: auto !important;
    font-size: 0.9rem !important;
}

.sidebar .section-links {
    padding-left: 10px;
}

.sidebar .sub-link {
    padding: 10px 14px 10px 18px;
    font-size: 13px;
    margin: 2px 0;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.sidebar .sub-link i {
    font-size: 1rem;
}

.sidebar .section-links.show .sub-link {
    opacity: 1;
    transform: translateX(0);
}

.sidebar .section-links.show .sub-link:nth-child(1) { transition-delay: 0.02s; }
.sidebar .section-links.show .sub-link:nth-child(2) { transition-delay: 0.05s; }
.sidebar .section-links.show .sub-link:nth-child(3) { transition-delay: 0.08s; }
.sidebar .section-links.show .sub-link:nth-child(4) { transition-delay: 0.11s; }
.sidebar .section-links.show .sub-link:nth-child(5) { transition-delay: 0.14s; }

.sidebar hr {
    border-color: rgba(255,255,255,0.08);
    margin: 16px 12px;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--bg-light);
    min-height: 100vh;
}

/* ========== NAVBAR ========== */
.navbar {
    padding: 16px 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #e9edef;
}

.navbar .page-title {
    font-weight: 700;
    font-size: 22px;
    color: var(--bg-dark);
    margin: 0;
}

.navbar .user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* ========== CARDS ========== */
.card {
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: 16px;
    transition: var(--transition);
    background: white;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
}

.card-header {
    background: white;
    border-bottom: 1px solid #e9edef;
    padding: 20px 24px;
    border-radius: 16px 16px 0 0 !important;
}

.card-header h5, .card-header h6 {
    font-weight: 700;
    color: var(--bg-dark);
    margin: 0;
}

.card-body {
    padding: 24px;
}

/* ========== STATS CARDS ========== */
.stat-card {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stat-card.green {
    background: linear-gradient(135deg, #25D366 0%, #20c65a 100%);
}

.stat-card.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-card.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-card.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-card .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.stat-card .stat-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.stat-card .stat-link:hover {
    color: white;
}

/* ========== TABLES ========== */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: #667781;
    border-top: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px;
    background: #f8f9fa;
}

.table td {
    padding: 16px;
    vertical-align: middle;
    color: #3b4a54;
}

.table-hover tbody tr {
    transition: var(--transition);
}

.table-hover tbody tr:hover {
    background-color: rgba(37, 211, 102, 0.05);
}

/* ========== BUTTONS ========== */
.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c65a 0%, #009973 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-success {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-success:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
}

/* ========== BADGES ========== */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%) !important;
}

/* ========== FORMS ========== */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9edef;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.form-check-input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* ========== ALERTS ========== */
.alert {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
}

.alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* ========== PROGRESS ========== */
.progress {
    border-radius: 10px;
    background: #e9edef;
    height: 10px;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
}

/* ========== AVATAR ========== */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 10px;
}

.avatar-lg {
    width: 50px;
    height: 50px;
    font-size: 18px;
    border-radius: 14px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* ========== LIST GROUP ========== */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9edef;
    padding: 16px 20px;
    transition: var(--transition);
}

.list-group-item:hover {
    background: rgba(37, 211, 102, 0.05);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ========== WHATSAPP STATUS ========== */
.whatsapp-connected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(0, 168, 132, 0.1) 100%);
    border-radius: 12px;
}

.whatsapp-connected .status-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .sidebar .sub-link {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .main-content {
        margin-left: 0;
    }

    .navbar {
        padding: 12px 16px;
    }

    .navbar .page-title {
        font-size: 18px;
    }

    .card-body {
        padding: 20px;
    }

    .card-header {
        padding: 16px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 280px;
    }

    .login-card {
        padding: 32px 24px;
        margin: 16px;
        border-radius: 20px;
    }

    .login-logo {
        width: 64px;
        height: 64px;
    }

    .login-title {
        font-size: 24px;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 10px 12px;
        gap: 8px;
    }

    .navbar .page-title {
        font-size: 16px;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar .ms-auto {
        gap: 8px !important;
    }

    .navbar .btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .navbar .btn-success .me-1 {
        margin-right: 0 !important;
    }

    .navbar .btn-success span,
    .navbar .d-none.d-md-inline {
        display: none !important;
    }

    /* Esconde texto do botão Novo no mobile */
    .navbar .btn-success {
        padding: 10px 12px;
    }

    /* User menu compacto */
    .navbar .dropdown > .btn {
        padding: 6px 10px !important;
    }

    .navbar .dropdown > .btn .d-none {
        display: none !important;
    }

    .navbar .dropdown > .btn .bi-chevron-down {
        display: none;
    }

    /* Dropdowns mobile */
    .navbar .dropdown-menu {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        top: auto !important;
        bottom: 8px !important;
        transform: none !important;
        max-width: none;
        border-radius: 16px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar .dropdown-menu[data-bs-popper] {
        left: 8px !important;
        right: 8px !important;
    }

    /* Stat Cards Mobile */
    .stat-card {
        padding: 16px;
        border-radius: 14px;
    }

    .stat-card .stat-value {
        font-size: 24px;
    }

    .stat-card .stat-icon {
        font-size: 2rem;
    }

    .stat-card .stat-label {
        font-size: 11px;
    }

    /* Cards */
    .card {
        border-radius: 14px;
    }

    .card-body {
        padding: 16px;
    }

    .card-header {
        padding: 14px 16px;
        border-radius: 14px 14px 0 0 !important;
    }

    .card-header h5, .card-header h6 {
        font-size: 15px;
    }

    /* Tables Mobile - Scroll Horizontal */
    .table-responsive {
        border-radius: 12px;
        margin: 0 -16px;
        padding: 0 16px;
    }

    .table th, .table td {
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .table th {
        font-size: 11px;
    }

    /* Botões Mobile */
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-group-sm > .btn {
        padding: 6px 10px;
    }

    /* Forms Mobile */
    .form-control, .form-select {
        padding: 12px 14px;
        font-size: 16px; /* Previne zoom no iOS */
        border-radius: 10px;
    }

    .form-label {
        font-size: 13px;
    }

    .input-group {
        flex-wrap: nowrap;
    }

    .input-group .form-control {
        min-width: 0;
    }

    /* Alerts Mobile */
    .alert {
        padding: 14px 16px;
        font-size: 13px;
        border-radius: 12px;
    }

    /* Badges Mobile */
    .badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Avatar Mobile */
    .avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .avatar-lg {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    /* Page Header Mobile */
    .d-flex.justify-content-between.align-items-center.mb-4 {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .d-flex.justify-content-between.align-items-center.mb-4 > div:first-child {
        text-align: center;
    }

    .d-flex.justify-content-between.align-items-center.mb-4 > a,
    .d-flex.justify-content-between.align-items-center.mb-4 > .btn {
        width: 100%;
        justify-content: center;
    }

    /* List Group Mobile */
    .list-group-item {
        padding: 14px 16px;
    }

    /* Modal Mobile */
    .modal-dialog {
        margin: 8px;
    }

    .modal-content {
        border-radius: 16px;
    }

    .modal-header, .modal-footer {
        padding: 14px 16px;
    }

    .modal-body {
        padding: 16px;
    }

    /* Margin/Padding adjustments */
    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .p-4 {
        padding: 1rem !important;
    }

    .gap-3 {
        gap: 0.75rem !important;
    }

    /* Grid ajustes */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    /* Progress Mobile */
    .progress {
        height: 8px;
    }

    /* Contacts Import Table Mobile */
    #contacts-list td:nth-child(5),
    #contacts-list th:nth-child(5) {
        display: none; /* Esconde coluna status em telas pequenas */
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .login-card {
        padding: 24px 20px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .navbar .page-title {
        font-size: 14px;
        max-width: 100px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card .stat-value {
        font-size: 20px;
    }

    .stat-card .stat-icon {
        font-size: 1.5rem;
    }

    .stat-card .stat-label {
        font-size: 10px;
    }

    .stat-card .stat-link {
        font-size: 11px;
    }

    /* Esconde mais colunas em telas muito pequenas */
    .table th:nth-child(n+4),
    .table td:nth-child(n+4) {
        display: none;
    }

    /* Botões em tela cheia */
    .d-flex.gap-2 > .btn,
    .d-flex.gap-3 > .btn {
        flex: 1;
        min-width: 0;
    }

    /* Cards com menos padding */
    .card-body {
        padding: 14px;
    }

    .card-header {
        padding: 12px 14px;
    }

    /* Forms mais compactos */
    .form-control, .form-select {
        padding: 10px 12px;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .login-card {
        max-width: 500px;
        padding: 24px 32px;
    }

    .navbar .dropdown-menu {
        max-height: 50vh;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Botões maiores para toque */
    .btn {
        min-height: 44px;
    }

    .btn-sm {
        min-height: 38px;
    }

    /* Checkboxes maiores */
    .form-check-input {
        width: 22px;
        height: 22px;
    }

    /* Links com área de toque maior */
    .nav-link {
        min-height: 48px;
    }

    .dropdown-item {
        padding: 12px 16px;
    }

    /* Remove hover effects em touch */
    .card:hover {
        transform: none;
        box-shadow: var(--card-shadow);
    }

    .stat-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Safe area para iPhone X+ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .navbar .dropdown-menu {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .sidebar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ========== UTILITIES ========== */
.text-whatsapp {
    color: var(--primary-green);
}

/* Responsive font sizes */
@media (min-width: 768px) {
    .fs-md-2 {
        font-size: calc(1.325rem + .9vw) !important;
    }
}

/* Queue stat icon responsive */
@media (min-width: 768px) {
    .card-body .col-4 i {
        font-size: 2rem !important;
    }
}

.bg-whatsapp {
    background-color: var(--primary-green);
}

.border-whatsapp {
    border-color: var(--primary-green) !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== NAVBAR DROPDOWNS ========== */
.navbar .dropdown-menu {
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    border-radius: 8px;
    margin: 2px 8px;
    width: calc(100% - 16px);
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background: rgba(37, 211, 102, 0.1);
}

.navbar .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Notification badge pulse */
#notification-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Notification items */
#notifications-list .dropdown-item:hover {
    background: rgba(37, 211, 102, 0.08);
}
