/* =====================================================
   VEDWISE CREATOR DASHBOARD - Premium Design System
   ===================================================== */

:root {
    /* Primary Palette - From Front Website */
    --primary: #0e62fb;
    --primary-light: #458fff;
    --primary-dark: #0041a9;
    --primary-50: rgba(14, 98, 251, 0.08);
    --primary-100: rgba(14, 98, 251, 0.15);

    /* Accent Colors - From Front Website */
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #fd0bdc; /* Front Website Magenta */
    --accent-violet: #8b5cf6;
    --accent-pink: #fd0bdc; /* Front Website Magenta */

    /* Soft Accents for Dark Mode */
    --accent-pink-soft: rgba(253, 11, 220, 0.15);
    --accent-emerald-soft: rgba(16, 185, 129, 0.15);
    --accent-amber-soft: rgba(245, 158, 11, 0.15);
    --accent-cyan-soft: rgba(6, 182, 212, 0.15);

    /* Neutrals - Matches Front Website Dark/Light Mix - DARK THEME */
    --bg-body: #1a1124; /* Darker Purple Background */
    --bg-card: #251b33; /* Dark Card Background */
    --bg-sidebar: #22182e; /* Front Website Dark Purple */
    --bg-sidebar-hover: rgba(255, 255, 255, 0.05);
    --bg-sidebar-active: rgba(14, 98, 251, 0.2);
    --bg-header: rgba(34, 24, 46, 0.9);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-sidebar: #a0a0c0;
    --text-sidebar-active: #ffffff;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);

    /* Shadows and Gradients */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(14, 98, 251, 0.3);
    --gradient-primary: linear-gradient(135deg, #0e62fb 0%, #fd0bdc 100%);

    /* Dimensions */
    --sidebar-width: 270px;
    --sidebar-collapsed: 80px;
    --header-height: 70px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
}

/* ==================== BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ==================== LAYOUT ==================== */
.creator-wrapper {
    display: flex;
    min-height: 100vh;
}

.creator-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.creator-content {
    padding: 24px;
    flex: 1;
}

/* ==================== SIDEBAR ==================== */
.creator-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--bg-sidebar);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
    overflow: hidden;
}

.sidebar-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-violet));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 98, 251, 0.4);
}

.logo-text h5 {
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-sidebar);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-sidebar);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* Sidebar Profile */
.sidebar-profile {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar img,
.avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.avatar-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-emerald);
    border: 2px solid var(--bg-sidebar);
    border-radius: var(--radius-full);
    position: absolute;
    bottom: 0;
    right: 0;
}

.profile-info h6 {
    color: #fff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.badge-creator {
    background: var(--primary-100);
    color: var(--primary-light);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-title {
    display: block;
    padding: 12px 24px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(148, 163, 184, 0.6);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    color: var(--text-sidebar);
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
    color: #fff;
    background: var(--bg-sidebar-hover);
}

.sidebar-nav li a.active {
    color: #fff;
    background: var(--bg-sidebar-active);
    border-left-color: var(--primary);
}

.sidebar-nav li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-nav li a i {
    font-size: 20px;
    flex-shrink: 0;
}

.nav-badge {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.nav-badge.coming-soon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.nav-badge.unread {
    background: var(--accent-rose);
    color: white;
    min-width: 20px;
    text-align: center;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-sidebar);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.logout-btn:hover {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
}

.logout-btn i {
    font-size: 20px;
}

/* ==================== HEADER ==================== */
.creator-header {
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.breadcrumb {
    font-size: 12px;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.manager-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary-100);
}

.manager-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.manager-details small {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    line-height: 1;
}

.manager-details span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.header-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}

.header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--accent-rose);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--accent-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}

.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-toggle::after {
    display: none;
}

/* ==================== STATS CARDS ==================== */
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(14, 98, 251, 0.1), 0 8px 10px -6px rgba(14, 98, 251, 0.1);
    border-color: var(--primary-100);
}

.stat-card.purple::before { background: linear-gradient(90deg, var(--primary), var(--accent-violet)); }
.stat-card.cyan::before { background: linear-gradient(90deg, var(--accent-cyan), #22d3ee); }
.stat-card.emerald::before { background: linear-gradient(90deg, var(--accent-emerald), #34d399); }
.stat-card.amber::before { background: linear-gradient(90deg, var(--accent-amber), #fbbf24); }
.stat-card.rose::before { background: linear-gradient(90deg, var(--accent-rose), #fb7185); }
.stat-card.pink::before { background: linear-gradient(90deg, var(--accent-pink), #f472b6); }

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.purple { background: rgba(14, 98, 251, 0.1); color: var(--primary); }
.stat-icon.cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }
.stat-icon.amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.stat-icon.rose { background: rgba(244, 63, 94, 0.1); color: var(--accent-rose); }
.stat-icon.pink { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); }

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== CARDS ==================== */
.dashboard-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-base);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
}

.card-header-custom {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-custom h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-body-custom {
    padding: 20px 24px;
}

/* ==================== TABLE ==================== */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-light);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}

.table-modern thead th {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border: none;
}

.table-modern tbody td {
    padding: 16px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-primary);
    vertical-align: middle;
}

.table-modern tbody tr {
    transition: var(--transition-fast);
}

.table-modern tbody tr:hover {
    background: var(--bs-table-hover-bg);
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* ==================== STATUS BADGES ==================== */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
}

.status-badge.pending { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.status-badge.pending::before { background: var(--accent-amber); }
.status-badge.approved { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }
.status-badge.approved::before { background: var(--accent-emerald); }
.status-badge.rejected { background: rgba(244, 63, 94, 0.1); color: var(--accent-rose); }
.status-badge.rejected::before { background: var(--accent-rose); }
.status-badge.paid { background: rgba(14, 98, 251, 0.1); color: var(--primary); }
.status-badge.paid::before { background: var(--primary); }
.status-badge.draft { background: rgba(148, 163, 184, 0.1); color: var(--text-secondary); }
.status-badge.draft::before { background: var(--text-secondary); }
.status-badge.sent { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.status-badge.sent::before { background: var(--accent-cyan); }
.status-badge.suspended { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.status-badge.suspended::before { background: var(--accent-rose); }

/* ==================== BUTTONS ==================== */
.btn-creator {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-creator {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(14, 98, 251, 0.3);
}

.btn-primary-creator:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-outline-creator {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline-creator:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-success-creator {
    background: linear-gradient(135deg, var(--accent-emerald), #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success-creator:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-danger-creator {
    background: linear-gradient(135deg, var(--accent-rose), #dc2626);
    color: white;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.btn-danger-creator:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-sm-creator {
    padding: 6px 14px;
    font-size: 12px;
}

/* ==================== FORMS ==================== */
.form-control-creator {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: var(--transition-fast);
    background: var(--bg-card);
}

.form-control-creator:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-control-creator::placeholder {
    color: var(--text-muted);
}

.form-label-creator {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
}

.form-group-creator {
    margin-bottom: 20px;
}

/* ==================== MESSAGES CHAT ==================== */
.chat-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
}

.chat-message {
    display: flex;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.chat-message.received .chat-bubble {
    background: var(--bg-body);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.sent .chat-bubble {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.7;
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input-area textarea {
    flex: 1;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    transition: var(--transition-fast);
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

/* ==================== COMING SOON ==================== */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-50), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.coming-soon-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.coming-soon-text {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.6;
}

/* ==================== INVOICE PREVIEW ==================== */
.invoice-preview {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.invoice-header-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.invoice-logo-area h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.invoice-logo-area p {
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
}

.invoice-number-area {
    text-align: right;
}

.invoice-number-area .inv-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.invoice-number-area .inv-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.invoice-body-section {
    padding: 32px;
}

.invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.party-block h6 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.party-block .party-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.party-block p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 2px 0;
}

.invoice-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.date-block {
    background: var(--bg-body);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.date-block small {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-block strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.invoice-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.invoice-items-table thead {
    background: var(--bg-body);
}

.invoice-items-table th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-align: left;
}

.invoice-items-table th:last-child,
.invoice-items-table td:last-child {
    text-align: right;
}

.invoice-items-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.invoice-totals {
    display: flex;
    justify-content: flex-end;
}

.totals-table {
    width: 280px;
}

.totals-table .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.totals-table .total-row.grand-total {
    border-top: 2px solid var(--text-primary);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.invoice-footer-section {
    padding: 24px 32px;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
}

.invoice-footer-section h6 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.invoice-footer-section p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* ==================== ACTIVITY TIMELINE ==================== */
.activity-timeline {
    position: relative;
    padding-left: 28px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.activity-item {
    position: relative;
    padding-bottom: 20px;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--primary);
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.activity-item .activity-text {
    font-size: 13.5px;
    color: var(--text-primary);
    font-weight: 500;
}

.activity-item .activity-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 48px 20px;
}

.empty-state-icon {
    font-size: 56px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 320px;
    margin: 0 auto;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease forwards;
}

.fade-in-up-1 { animation-delay: 0.05s; }
.fade-in-up-2 { animation-delay: 0.1s; }
.fade-in-up-3 { animation-delay: 0.15s; }
.fade-in-up-4 { animation-delay: 0.2s; }
.fade-in-up-5 { animation-delay: 0.25s; }
.fade-in-up-6 { animation-delay: 0.3s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .creator-sidebar {
        transform: translateX(-100%);
    }

    .creator-sidebar.active {
        transform: translateX(0);
    }

    .creator-main {
        margin-left: 0;
    }

    .invoice-parties {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .creator-content {
        padding: 16px;
    }

    .stat-card {
        padding: 12px 15px;
        gap: 12px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .stat-value {
        font-size: 18px;
    }

    .invoice-header-section {
        flex-direction: column;
        gap: 16px;
    }

    .invoice-number-area {
        text-align: left;
    }
}

/* ==================== AUTH PAGES ==================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22182e 0%, #3a1c5d 50%, #22182e 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 98, 251, 0.15), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-mark {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent-violet));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 24px rgba(14, 98, 251, 0.4);
}

.auth-logo h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.auth-logo p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.auth-form .form-group-creator label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-form .form-control-creator {
    padding: 12px 14px;
    font-size: 14px;
}

.auth-form .btn-primary-creator {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    justify-content: center;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-card);
    padding: 0 16px;
    position: relative;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    font-weight: 600;
    color: var(--primary);
}

.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-alert.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.auth-alert.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.auth-alert.alert-danger {
    background: rgba(244, 63, 94, 0.1);
    color: var(--accent-rose);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* ==================== INVOICE PDF PRINT ==================== */
@media print {
    body {
        background: white !important;
        margin: 0;
        padding: 0;
    }

    .no-print {
        display: none !important;
    }

    .invoice-preview {
        box-shadow: none;
        border-radius: 0;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==================== MODAL CUSTOM ==================== */
.modal-creator .modal-content {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.modal-creator .modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
}

.modal-creator .modal-title {
    font-size: 18px;
    font-weight: 700;
}

.modal-creator .modal-body {
    padding: 24px;
}

.modal-creator .modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
}

/* ==================== QUICK ACTIONS ==================== */
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
}

.quick-action-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quick-action-btn .action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.quick-action-btn .action-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== MANAGER SIDEBAR CARD ==================== */
.nav-manager-section {
    margin-top: 0.8rem;
}

.nav-manager-title {
    display: block;
    padding: 8px 24px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(148, 163, 184, 0.5);
}

.manager-card-enhanced {
    margin: 4px 12px 16px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
}

.manager-card-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    filter: blur(40px);
    opacity: 0.2;
    pointer-events: none;
}

.manager-avatar-enhanced {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.manager-name-text {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    margin-bottom: 0;
}

.manager-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    padding: 1px 6px;
    border-radius: 100px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-dot-pulse {
    width: 4px;
    height: 4px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 5px #4ade80;
}

.manager-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.manager-contact-link:hover {
    transform: translateX(4px);
}

.manager-contact-link:hover .link-text {
    color: #fff;
}

.manager-contact-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

.manager-contact-icon.email { color: #3b82f6; }
.manager-contact-icon.phone { color: #10b981; }

.link-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    word-break: break-all;
}

.link-text.phone {
    font-size: 11px;
    font-weight: 600;
}

/* ==================== KYC LINK CARD ==================== */
.border-gradient {
    position: relative;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: -1px; bottom: -1px;
    left: -1px; right: -1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
}

.kyc-icon-badge {
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    position: relative;
}

.kyc-icon-badge::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 1px solid var(--primary);
    opacity: 0.2;
    transform: scale(1.1);
}

/* ==================== DARK THEME DROPDOWNS ==================== */
.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border-radius: var(--radius-md);
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-primary);
}

.dropdown-header {
    color: var(--text-primary);
    padding: 8px 12px;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

/* ==================== SWEETALERT DARK THEME ==================== */
.swal2-popup {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
}

.swal2-title {
    color: var(--text-primary) !important;
}

.swal2-html-container {
    color: var(--text-secondary) !important;
}

.swal2-actions button {
    border-radius: var(--radius-sm) !important;
}

.swal2-confirm {
    background-color: var(--primary) !important;
}

.swal2-cancel {
    background-color: var(--bg-sidebar-hover) !important;
    color: var(--text-primary) !important;
}

/* ==================== SELECT2 DARK THEME (IF USED) ==================== */
.select2-container--default .select2-selection--single {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
}

/* ==================== DASHBOARD REFINEMENTS ==================== */
.welcome-banner {
    background: linear-gradient(135deg, #22182e 0%, #3a1c5d 100%);
    color: white;
    padding: 32px;
}

.welcome-title {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 8px;
}

.welcome-subtitle {
    opacity: 0.7;
    margin: 0;
    font-size: 15px;
}

.kyc-badge-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.text-bold {
    font-weight: 600;
}

.p-32 {
    padding: 32px;
}

/* ==================== BRANDS PAGE STYLES ==================== */
.border-primary-left { border-left: 4px solid var(--primary) !important; }
.border-amber-left { border-left: 4px solid var(--accent-amber) !important; }
.border-emerald-left { border-left: 4px solid var(--accent-emerald) !important; }

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon-primary { background: var(--primary-50); color: var(--primary); }
.stat-icon-amber { background: var(--accent-amber-soft); color: var(--accent-amber); }
.stat-icon-emerald { background: var(--accent-emerald-soft); color: var(--accent-emerald); }

.stat-label-small {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-value-large {
    font-weight: 800;
    margin-bottom: 0;
}

/* Custom Pills for Tabs */
.custom-pills .nav-link {
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-body);
    margin: 0 4px;
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.custom-pills .nav-link.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 98, 251, 0.2);
}

.brand-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-pink-soft);
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.brand-logo-primary {
    background: var(--primary-50);
    color: var(--primary);
}

.text-small-muted {
    font-size: 11px;
    color: var(--text-muted);
}

.table-custom {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-light);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}

.table-custom thead th {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border: none;
}

.table-custom tbody td {
    padding: 16px 24px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.table-custom tbody tr:hover {
    background: var(--bs-table-hover-bg);
}

.bg-soft-primary {
    background-color: rgba(14, 98, 251, 0.1);
}

/* Quick Action Icons */
.action-icon-primary { background: var(--primary-50); color: var(--primary); }
.action-icon-emerald { background: var(--accent-emerald-soft); color: var(--accent-emerald); }
.action-icon-violet { background: var(--accent-violet-soft); color: var(--accent-violet); }

:root {
    --accent-violet-soft: rgba(139, 92, 246, 0.15);
}

/* ==================== PROFILE PAGE REFINEMENTS ==================== */
.profile-header-premium {
    background: linear-gradient(135deg, #22182e 0%, #3a1c5d 100%);
    color: white;
    padding: 0;
    overflow: hidden;
}

.profile-header-content {
    padding: 32px 32px 24px;
    position: relative;
}

.profile-avatar-lg {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-lg {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 36px;
}

.profile-name-title {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 4px;
}

.profile-meta-text {
    opacity: 0.7;
    margin: 0;
    font-size: 14px;
}

.status-badge.approved-premium {
    background: rgba(16, 185, 129, 0.2);
    font-size: 11px;
}

.badge-outline-glass {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.profile-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    border: 3px solid var(--border-color);
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-preview-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 48px;
}

.password-card-premium {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, rgba(14, 98, 251, 0.04) 0%, rgba(253, 11, 220, 0.04) 100%);
}

.password-shield-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
    flex-shrink: 0;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.profile-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.invite-code-display {
    font-family: monospace;
    font-weight: 600;
    color: var(--primary);
}

.password-card-body-padding {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

/* ==================== KYC PAGE REFINEMENTS ==================== */
.kyc-header-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.kyc-status-badge-lg {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.alert-rejected-premium {
    border-radius: 12px;
    border: none;
    background: rgba(253, 11, 220, 0.1);
    color: #ff6b6b;
    padding: 20px;
}

.alert-approved-premium {
    border-radius: 12px;
    border: none;
    background: rgba(16, 185, 129, 0.1);
    color: #00e676;
    padding: 20px;
}

.kyc-section-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kyc-guidelines-list {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-kyc-submit {
    padding: 14px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(14, 98, 251, 0.3);
}

.safety-notice-card {
    border-left: 4px solid var(--accent-emerald) !important;
}

.safety-info-text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.border-right-light {
    border-right: 1px solid var(--border-light);
}

.font-16 { font-size: 16px; }
.font-13 { font-size: 13px; }
.font-12 { font-size: 12px; }
.opacity-60 { opacity: 0.6; }
.pointer { cursor: pointer; }

/* ==================== DARK MODAL STYLES ==================== */
.modal-content {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-lg) !important;
}

.modal-header {
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-color) !important;
}

.modal-body {
    background: var(--bg-card) !important;
    color: var(--text-primary);
}

.modal-title {
    color: var(--text-primary) !important;
}

.modal .form-label {
    color: var(--text-secondary);
}

.modal .text-muted {
    color: var(--text-muted) !important;
}

.modal .form-control,
.modal textarea.form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
}

.modal .form-control::placeholder,
.modal textarea.form-control::placeholder {
    color: var(--text-muted);
}

.modal .form-control:focus,
.modal textarea.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-50) !important;
    outline: none;
}

.modal .list-group-item {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-primary);
}

.modal .alert {
    border-radius: var(--radius-sm);
}
