:root {
    /* Dark Mode (Default) */
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    --border-color: #334155;
    --bg-avatar: #475569;
    --bg-avatar: #475569;
    --bg-input: #334155;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;
}

[data-theme="light"] {
    /* Light Mode Overrides */
    --bg-dark: #f1f5f9;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-green: #059669;
    --accent-yellow: #d97706;
    --accent-red: #dc2626;
    --border-color: #e2e8f0;
    --bg-avatar: #cbd5e1;
    --bg-input: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar, .topbar, .card {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

/* Collapsed State Styles */
.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .sidebar-header span,
.sidebar.collapsed .nav-item span {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 1.5rem 0;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 0.75rem 0;
}

.sidebar.collapsed .nav-item i {
    margin: 0;
}

.main-content.collapsed {
    margin-left: var(--sidebar-collapsed-width);
}

.topbar {
    height: var(--header-height);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.content-body {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Sidebar Styling */
.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--accent-blue);
    color: white;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* UI Components */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 1.875rem;
    font-weight: 700;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: #334155;
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 0.375rem;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.badge {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-prospect { background: rgba(245, 158, 11, 0.1); color: var(--accent-yellow); }
.badge-active { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.badge-pending { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.badge-suspended { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }

/* Notifications */
.notification-wrapper {
    position: relative;
    color: var(--text-muted);
    transition: color 0.2s;
}

.notification-wrapper:hover {
    color: var(--accent-blue);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.sidebar-badge {
    position: static;
    margin-left: auto;
    border: none;
    background-color: var(--accent-blue);
    font-size: 0.75rem;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
}

.nav-item:hover .sidebar-badge, 
.nav-item.active .sidebar-badge {
    background-color: white;
    color: var(--accent-blue);
}

/* Utility */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-align {
    display: flex;
    align-items: center;
}

.gap-02 { gap: 0.2rem; }
.gap-05 { gap: 0.5rem; }
.gap-1 { gap: 1rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-05 { margin-top: 0.5rem; }
.mt-02 { margin-top: 0.2rem; }

@media (max-width: 768px) {
    .sidebar { width: 0; display: none; }
    .main-content { margin-left: 0; }
}

/* Flash Messages */
.flash {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flash-close {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    opacity: 0.6;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.flash-close:hover {
    opacity: 1;
}
.flash-close i {
    width: 16px;
    height: 16px;
}
.flash-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}
.flash-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}
.flash-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

/* Dashboard Hero Banner */
.hero-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hero-welcome {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.hero-alert {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.hero-icon i {
    width: 28px;
    height: 28px;
}

.hero-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
    color: white;
}

.hero-card p {
    opacity: 0.9;
    font-size: 1rem;
}

.btn-white {
    background: white;
    color: #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}


.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Component */
.theme-toggle-floating {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.theme-toggle-floating:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.theme-toggle-floating i {
    width: 18px;
    height: 18px;
}

/* Input with Icon utility */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.input-with-icon .form-control {
    padding-left: 2.75rem;
}

/* ==========================================================================
   CLIENT DIRECTORY DESIGN SYSTEM (.cl-)
   Used by Directory and Dashboard for consistent UI
   ========================================================================== */

/* Page Header */
.cl-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.cl-breadcrumb {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cl-breadcrumb a {
    color: var(--accent-blue);
    text-decoration: none;
}
.cl-breadcrumb .separator {
    opacity: 0.5;
}
.cl-page-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}
.cl-page-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}
.cl-header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* KPI Row */
.cl-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.cl-kpi-card {
    background: var(--bg-card, white);
    border: 1px solid var(--border-color, #e1e4e8);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cl-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cl-kpi-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}
.cl-kpi-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

/* Directory Card */
.cl-directory-card {
    background: var(--bg-card, white);
    border: 1px solid var(--border-color, #e1e4e8);
    border-radius: 8px;
    overflow: hidden;
}

/* Toolbar */
.cl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color, #e1e4e8);
    gap: 1rem;
    flex-wrap: wrap;
}
.cl-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cl-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 360px;
}
.cl-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    pointer-events: none;
}
.cl-search-input {
    width: 100%;
    padding: 7px 12px 7px 34px;
    border: 1px solid var(--border-color, #e1e4e8);
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg-input, #f8f9fa);
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cl-search-input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,0.1);
    background: white;
}

/* Tabs */
.cl-tab-group {
    display: flex;
    background: var(--bg-input, #f3f2f1);
    border-radius: 6px;
    padding: 3px;
    gap: 2px;
}
.cl-tab {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}
.cl-tab.active {
    background: white;
    color: #0078d4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Table */
.cl-table-wrapper {
    overflow-x: auto;
}
.cl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.cl-table thead tr {
    border-bottom: 1px solid var(--border-color, #e1e4e8);
}
.cl-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
    background: var(--bg-input, #fafafa);
}
.cl-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #f3f2f1);
    vertical-align: middle;
}
.cl-row {
    transition: background 0.15s;
}
.cl-row:hover {
    background: rgba(59, 130, 246, 0.05);
}
.cl-row:last-child td {
    border-bottom: none;
}

/* Client Cell */
.cl-client-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cl-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.cl-avatar-active { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.cl-avatar-prospect { background: rgba(245, 158, 11, 0.1); color: var(--accent-yellow); }

.cl-client-name {
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    display: block;
    transition: color 0.15s;
}
.cl-client-name:hover {
    color: var(--accent-blue);
}
.cl-client-id {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}
.cl-cell-muted {
    color: var(--text-muted);
    font-size: 12px;
}

/* Directory Badges */
.cl-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cl-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cl-badge-active { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.cl-badge-active .cl-badge-dot { background: var(--accent-green); }
.cl-badge-prospect { background: rgba(245, 158, 11, 0.1); color: var(--accent-yellow); }
.cl-badge-prospect .cl-badge-dot { background: var(--accent-yellow); }

/* Actions */
.cl-actions-cell {
    text-align: right;
    white-space: nowrap;
}
.cl-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--text-muted);
    border: 1px solid var(--border-color, #e1e4e8);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.15s;
    margin-left: 4px;
    background: transparent;
}
.cl-action-btn:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}
.cl-action-btn.text-danger:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

/* Empty State */
.cl-empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    font-size: 13px;
}

/* Table Footer */
.cl-table-footer {
    padding: 0.6rem 1.25rem;
    border-top: 1px solid var(--border-color, #e1e4e8);
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-input, #fafafa);
}

/* Directory Buttons */
.cl-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.cl-btn-primary:hover { background: var(--accent-blue-hover); color: white; }
 
 /* Pagination Styles */
 .cl-pagination {
     display: flex;
     gap: 4px;
 }
 
 .cl-page-btn {
     width: 32px;
     height: 32px;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 1px solid var(--border-color);
     background: var(--bg-card);
     color: var(--text-muted);
     border-radius: 6px;
     cursor: pointer;
     font-size: 13px;
     font-weight: 600;
     transition: all 0.2s;
 }
 
 .cl-page-btn:hover {
     border-color: var(--accent-blue);
     color: var(--accent-blue);
     background: rgba(59, 130, 246, 0.05);
 }
 
 .cl-page-btn.active {
     background: var(--accent-blue);
     color: white;
     border-color: var(--accent-blue);
 }
 
 .cl-page-btn.disabled {
     opacity: 0.4;
     cursor: not-allowed;
     pointer-events: none;
 }
.cl-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color, #e1e4e8);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.cl-btn-secondary:hover { border-color: var(--accent-blue); color: var(--accent-blue); }


/* Help & FAQ Section Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
    width: fit-content;
}

.faq-category-title i {
    color: var(--accent-blue);
    width: 20px;
    height: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-blue);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(59, 130, 246, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

.faq-empty-state {
    text-align: center;
    padding: 3rem;
    display: none;
}

.faq-empty-state i {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 640px) {
    .faq-question {
        padding: 1rem;
    }
    .faq-answer-content {
        padding: 0 1rem 1rem;
    }
}
/* ==========================================================================
   INACTIVITY MODAL DESIGN
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse-yellow 2s infinite;
}

.modal-icon i {
    width: 40px;
    height: 40px;
}

@keyframes pulse-yellow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.modal-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.timer-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    margin-bottom: 2rem;
    font-family: 'Inter', monospace;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.875rem;
    font-size: 0.95rem;
}
