/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8fafc;
}

/* ==================== LOGO BASED COLOR VARIABLES ==================== */
:root {
    --primary-dark: #0a2472;      /* Dark Blue - Knowledge */
    --primary-light: #3a7ca5;     /* Medium Blue - Wave */
    --primary-soft: #5e9bcf;      /* Light Blue - Wave effect */
    --accent: #0d3b66;             /* Deep Blue */
    --gradient-1: #0a2472;         /* Dark Blue */
    --gradient-2: #3a7ca5;         /* Medium Blue */
    --gradient-soft: #5e9bcf;      /* Light Blue */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
}

/* ==================== UTILITY CLASSES ==================== */
.page-transition {
    transition: all 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 114, 0.5);
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(10, 36, 114, 0.2);
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.tab-active {
    border-bottom: 3px solid var(--primary-dark);
    color: var(--primary-dark);
}

/* ==================== SIDEBAR STYLES ==================== */
.sidebar {
    width: 288px;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(10, 36, 114, 0.1), 0 10px 10px -5px rgba(10, 36, 114, 0.04);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
}

.sidebar-logo {
    padding: 5.1px 10px;
    border-bottom: 1px solid #e2e8f0;
    background:  var(--primary-dark);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.logo-knowledge {
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.logo-wave {
    color: var(--primary-light);
    font-weight: 600;
}

.logo-india {
    color: var(--primary-soft);
    font-size: 20px;
    font-weight: 500;
    margin-top: 2px;
}

/* Alternative - Single line logo */
.logo-text {
    font-size: 30px;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-span {
    color: var(--primary-light);
}

.sidebar-profile {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    background-color: var(--bg-light);
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.profile-info h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.profile-info p {
    font-size: 12px;
    color: var(--text-light);
}

.status-container {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-dark);
    border-radius: 50%;
}

.status-text {
    font-size: 12px;
    color: var(--primary-dark);
    margin-left: 4px;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dark);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.nav-item:hover {
    background-color: #e6f0fa;
}

.nav-item.active {
    background: linear-gradient(to right, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
    color: var(--primary-dark);
    border-left: 3px solid var(--primary-dark);
}

.nav-item.active i {
    color: var(--primary-dark) !important;
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

.nav-text {
    margin-left: 12px;
    font-weight: 500;
}

.nav-badge {
    margin-left: auto;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.logout-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #dc2626;
    border-radius: 12px;
    text-decoration: none;
}

.logout-link:hover {
    background-color: #fee2e2;
}

/* ==================== MAIN CONTENT AREA ==================== */
.main-content {
    flex: 1;
    margin-left: 288px;
    overflow-y: auto;
    background-color: var(--bg-light);
}

.top-bar {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(10, 36, 114, 0.1);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    border-radius: 2px;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-dark);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background-color: var(--primary-light);
    color: white;
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.upload-btn:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(10, 36, 114, 0.2);
}

.content-area {
    padding: 24px 32px;
}

.section {
    display: block;
}

.section.hidden {
    display: none;
}

/* ==================== LOGIN/REGISTER PAGES ==================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.auth-container {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(10, 36, 114, 0.25);
    width: 384px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 30px;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-light);
    margin-top: 8px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    ring: 2px solid var(--primary-dark);
    border-color: var(--primary-dark);
}

.auth-btn {
    width: 100%;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.auth-btn:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 16px;
}

.auth-link {
    color: var(--primary-dark);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ==================== DASHBOARD CARDS ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stats-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
    border-left-width: 4px;
}

.stats-card.green {
    border-left-color: var(--primary-dark);
}

.stats-card.purple {
    border-left-color: var(--primary-light);
}

.stats-card.blue {
    border-left-color: var(--primary-soft);
}

.stats-card.yellow {
    border-left-color: var(--accent);
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats-label {
    font-size: 14px;
    color: var(--text-light);
}

.stats-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
}

.stats-growth {
    font-size: 12px;
    color: var(--primary-dark);
    margin-top: 8px;
}

.stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-icon.green {
    background-color: #e0f2fe;
}

.stats-icon.purple {
    background-color: #dbeafe;
}

.stats-icon.blue {
    background-color: #e6f0fa;
}

.stats-icon.yellow {
    background-color: #fef9c3;
}

.stats-icon i {
    font-size: 20px;
}

.stats-icon.green i {
    color: var(--primary-dark);
}

.stats-icon.purple i {
    color: var(--primary-light);
}

.stats-icon.blue i {
    color: var(--primary-soft);
}

.stats-icon.yellow i {
    color: var(--accent);
}

/* ==================== PROGRESS CARDS ==================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.progress-item {
    margin-bottom: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.progress-percent {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
}

.progress-bar {
    width: 100%;
    background-color: #e2e8f0;
    border-radius: 9999px;
    height: 12px;
}

.progress-fill {
    height: 12px;
    border-radius: 9999px;
}

.progress-fill.purple {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
}

.progress-fill.pink {
    background: linear-gradient(to right, var(--primary-light), var(--primary-soft));
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bonus-item {
    background: linear-gradient(135deg, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
    border-radius: 8px;
    padding: 16px;
}

.bonus-label {
    font-size: 14px;
    color: var(--text-light);
}

.bonus-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-dark);
}

.bonus-desc {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================== RECENT ACTIVITY ==================== */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 8px;
}

.activity-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon.green {
    background-color: #e0f2fe;
}

.activity-icon.blue {
    background-color: #dbeafe;
}

.activity-icon i {
    font-size: 16px;
}

.activity-icon.green i {
    color: var(--primary-dark);
}

.activity-icon.blue i {
    color: var(--primary-light);
}

.activity-details p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.activity-details span {
    font-size: 12px;
    color: var(--text-light);
}

.activity-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
}

.activity-badge.yellow {
    background-color: #fef9c3;
    color: var(--accent);
}

.activity-badge.green {
    background-color: #e0f2fe;
    color: var(--primary-dark);
}

/* ==================== PAGES SECTION ==================== */
.pages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pages-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.add-page-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.page-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: white;
}

.page-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 6px rgba(10, 36, 114, 0.1);
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-avatar i {
    color: white;
    font-size: 24px;
}

.page-details h4 {
    font-weight: 600;
    color: var(--text-dark);
}

.page-details p {
    font-size: 14px;
    color: var(--text-light);
}

.page-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
}

.page-status.active {
    background-color: #e0f2fe;
    color: var(--primary-dark);
}

.page-status.pending {
    background-color: #fef9c3;
    color: var(--accent);
}

.page-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.page-stat-item p:first-child {
    font-size: 12px;
    color: var(--text-light);
}

.page-stat-item p:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.page-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.view-link {
    color: var(--primary-dark);
    font-size: 14px;
    text-decoration: none;
}

.view-link:hover {
    text-decoration: underline;
}

.delete-btn {
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
}

.delete-btn:hover {
    color: #ef4444;
}

/* ==================== VIDEOS TABLE ==================== */
.videos-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    overflow: hidden;
}

.videos-table {
    width: 100%;
    border-collapse: collapse;
}

.videos-table th {
    background-color: #f8fafc;
    padding: 12px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
}

.videos-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.video-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-thumb {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb i {
    color: var(--primary-dark);
}

.video-title {
    font-size: 14px;
    font-weight: 500;
}

.status-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
}

.status-badge.approved {
    background-color: #e0f2fe;
    color: var(--primary-dark);
}

.status-badge.pending {
    background-color: #fef9c3;
    color: var(--accent);
}

.earnings-positive {
    color: var(--primary-dark);
    font-weight: 600;
}

.action-btn {
    color: var(--primary-light);
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 8px;
}

.action-btn:hover {
    color: var(--primary-dark);
}

.edit-btn {
    color: var(--primary-soft);
    background: none;
    border: none;
    cursor: pointer;
}

.edit-btn:hover {
    color: var(--primary-light);
}

/* ==================== WALLET SECTION ==================== */
.wallet-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.wallet-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
}

.wallet-balance {
    margin-bottom: 24px;
}

.balance-label {
    font-size: 14px;
    color: var(--text-light);
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-dark);
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.withdraw-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.add-money-btn {
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    padding: 8px;
    background: none;
    border-radius: 8px;
    cursor: pointer;
}

.add-money-btn:hover {
    background: linear-gradient(to right, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
}

.stat-item span:first-child {
    color: var(--text-light);
}

.stat-item span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== REFERRALS SECTION ==================== */
.referral-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.code-box {
    background: linear-gradient(135deg, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-text {
    font-size: 24px;
    font-family: monospace;
    font-weight: bold;
    color: var(--primary-dark);
}

.copy-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.referral-stat-card {
    background: linear-gradient(135deg, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-dark);
}

.stat-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* ==================== KYC SECTION ==================== */
.kyc-container {
    max-width: 672px;
    margin: 0 auto;
}

.kyc-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
}

.kyc-status {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.kyc-status.verified {
    background: linear-gradient(135deg, rgba(10, 36, 114, 0.1), rgba(58, 124, 165, 0.1));
    border: 1px solid var(--primary-light);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    font-size: 24px;
    color: var(--primary-dark);
}

.status-text h4 {
    font-weight: 600;
    color: var(--primary-dark);
}

.status-text p {
    font-size: 14px;
    color: var(--primary-light);
}

.verified-message {
    text-align: center;
    padding: 32px 0;
}

.verified-icon {
    font-size: 60px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.verified-message h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.verified-message p {
    color: var(--text-light);
}

.update-link {
    margin-top: 16px;
    color: var(--primary-dark);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

/* ==================== SETTINGS SECTION ==================== */
.settings-container {
    max-width: 672px;
}

.settings-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
}

.settings-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.settings-section {
    margin-bottom: 24px;
}

.section-heading {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.settings-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.settings-full {
    grid-column: span 2;
}

.settings-actions {
    display: flex;
    gap: 12px;
}

.save-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.password-btn {
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 24px;
    background: none;
    border-radius: 8px;
    cursor: pointer;
}

.password-btn:hover {
    background: linear-gradient(to right, rgba(10, 36, 114, 0.05), rgba(58, 124, 165, 0.05));
}

/* ==================== UPLOAD SECTION ==================== */
.upload-container {
    max-width: 672px;
    margin: 0 auto;
}

.upload-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1);
    padding: 24px;
}

.upload-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.submit-upload {
    width: 100%;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.submit-upload:hover {
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
}

/* ==================== MODALS ==================== */
.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(10, 36, 114, 0.25);
    width: 384px;
    margin: auto;
    padding: 24px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 20px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.modal-primary-btn {
    flex: 1;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.modal-secondary-btn {
    flex: 1;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    padding: 8px;
    background: none;
    border-radius: 8px;
    cursor: pointer;
}

.modal-secondary-btn:hover {
    background: #f8fafc;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .wallet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar .logo-text,
    .sidebar .profile-info,
    .sidebar .nav-text,
    .sidebar .nav-badge {
        display: none;
    }
    
    .main-content {
        margin-left: 80px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
    }
}