/**
 * Creator Dashboard Styles
 * Dark theme with clean, instant interactions (no animations)
 */

/* ===== Common Creator Styles ===== */

.creator-dashboard,
.creator-content-library,
.creator-profile-editor {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Dashboard Header ===== */

.dashboard-header,
.library-header,
.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
}

.header-content h1 {
    margin: 0 0 5px 0;
    color: var(--text-primary, #ffffff);
    font-size: 28px;
}

.header-content p {
    margin: 0;
    color: var(--text-secondary, #b0b0b0);
    font-size: 14px;
}

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

/* Profile Visibility Badge */
.profile-visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.profile-visibility-badge.public {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.profile-visibility-badge.private {
    background: rgba(255, 255, 255, 0.08);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-visibility-badge i {
    font-size: 12px;
}

/* ===== Enhanced Dashboard Header ===== */

.dashboard-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding: 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

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

.creator-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a9eff 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #3a3a3a;
}

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

.creator-avatar i {
    font-size: 28px;
    color: #ffffff;
}

.header-info h1 {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.creator-handle {
    margin: 0;
    font-size: 14px;
    color: #808080;
}

/* ===== Enhanced Stats Grid ===== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card-enhanced {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.stat-card-enhanced .stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-card-enhanced.views .stat-icon-wrap {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
}

.stat-card-enhanced.subscribers .stat-icon-wrap {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.stat-card-enhanced.likes .stat-icon-wrap {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.stat-card-enhanced.content .stat-icon-wrap {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-card-enhanced .stat-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-card-enhanced .stat-number {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card-enhanced .stat-title {
    font-size: 13px;
    color: #808080;
}

/* ===== Dashboard Grid ===== */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    background: #161616;
}

.dashboard-card .card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card .card-header h3 i {
    color: #4a9eff;
    font-size: 14px;
}

.btn-card-action {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #808080;
    cursor: pointer;
    font-size: 13px;
}

.btn-card-action:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.dashboard-card .card-body {
    padding: 20px;
}

/* ===== Quick Actions Enhanced ===== */

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #d0d0d0;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    text-align: center;
}

.action-tile:hover {
    background: rgba(74, 158, 255, 0.08);
    border-color: #4a9eff;
    color: #ffffff;
}

.action-tile .action-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 10px;
    font-size: 18px;
    color: #4a9eff;
}

.action-tile:hover .action-icon {
    background: rgba(74, 158, 255, 0.2);
}

/* ===== Tiers Overview Enhanced ===== */

.tiers-summary {
    display: flex;
    gap: 24px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #4a9eff;
}

.summary-label {
    font-size: 12px;
    color: #808080;
}

.tiers-list-enhanced {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tier-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #141414;
    border-radius: 8px;
}

.tier-row.inactive {
    opacity: 0.5;
}

.tier-color-bar {
    width: 4px;
    height: 36px;
    border-radius: 2px;
    flex-shrink: 0;
}

.tier-row .tier-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tier-row .tier-name {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.tier-row .tier-meta {
    font-size: 12px;
    color: #808080;
}

.tier-price-badge {
    padding: 6px 12px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4a9eff;
}

.tiers-empty {
    text-align: center;
    padding: 30px 20px;
}

.tiers-empty .empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    font-size: 24px;
    color: #4a9eff;
}

.tiers-empty p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #808080;
}

/* ===== Responsive for Enhanced Dashboard ===== */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-header-enhanced {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .header-left {
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        flex: 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card-enhanced {
        padding: 16px;
    }

    .stat-card-enhanced .stat-number {
        font-size: 18px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Verification Banner ===== */

.verification-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 30px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.verification-banner.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
}

.verification-banner.ai {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.verification-banner.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.verification-banner.info .banner-icon i {
    color: #3b82f6;
}

.verification-banner.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.verification-banner.success .banner-icon i {
    color: #10b981;
}

.verification-banner.ai .banner-icon {
    color: #8b5cf6;
}

.banner-icon {
    font-size: 24px;
    color: #ffc107;
}

.banner-content {
    flex: 1;
}

.banner-content h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--text-primary, #ffffff);
}

.banner-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

/* Subtle verification notice */
.verification-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary, #b0b0b0);
}

.verification-notice i {
    color: #ff9800;
    font-size: 14px;
}

.verification-notice .btn-link {
    background: none;
    border: none;
    color: #4a9eff;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    margin-left: 4px;
}

.verification-notice .btn-link:hover {
    color: #3a8eef;
    text-decoration: underline;
}

/* ===== Dashboard Stats ===== */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    font-size: 24px;
    color: #4a9eff;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Dashboard Content Layout ===== */

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.sidebar-section.full-width {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.content-section {
    min-width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary, #ffffff);
}

.view-all-link {
    color: #4a9eff;
    text-decoration: none;
    font-size: 14px;
}

.view-all-link:hover {
    color: #3a8eef;
}

/* ===== Content Grid ===== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.content-card {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    overflow: hidden;
}

.content-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a0a0a;
    overflow: hidden;
}

.content-thumbnail img,
.content-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #3a3a3a;
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-wrapper .video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.3);
}

.content-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 4px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.content-info {
    padding: 15px;
}

.content-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary, #b0b0b0);
}

.content-stats i {
    margin-right: 5px;
}

.content-actions {
    display: flex;
    gap: 5px;
    padding: 0 10px 10px;
}

.btn-icon {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border-color, #2a2a2a);
    color: var(--text-secondary, #b0b0b0);
    border-radius: 4px;
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--card-bg, #1a1a1a);
    color: var(--text-primary, #ffffff);
    border-color: #4a9eff;
}

/* ===== Sidebar ===== */

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section.full-width {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.quick-actions-card,
.subscription-tiers-card {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    padding: 20px;
}

.quick-actions-card h3,
.subscription-tiers-card h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: var(--text-primary, #ffffff);
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.4;
    box-sizing: border-box;
}

.action-item:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
}

.action-item i {
    width: 20px;
    color: #4a9eff;
}

.tier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
}

.tier-item:last-child {
    border-bottom: none;
}

.tier-item.inactive {
    opacity: 0.5;
}

.tier-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.tier-price {
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

.tier-subscribers {
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Empty State ===== */

.empty-state {
    padding: 60px 20px;
    text-align: center;
    background: var(--card-bg, #1a1a1a);
    border: 1px dashed var(--border-color, #2a2a2a);
    border-radius: 8px;
}

.empty-state i {
    font-size: 64px;
    color: #3a3a3a;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary, #ffffff);
}

.empty-state p {
    margin: 0 0 20px 0;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Creator Setup Page ===== */

.creator-setup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.creator-setup-card {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 12px;
    padding: 40px;
}

.creator-setup-card h1 {
    margin: 0 0 10px 0;
    text-align: center;
    color: var(--text-primary, #ffffff);
}

.creator-setup-card>p {
    text-align: center;
    color: var(--text-secondary, #b0b0b0);
    margin-bottom: 40px;
}

.creator-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-item {
    text-align: center;
}

.benefit-item i {
    font-size: 32px;
    color: #4a9eff;
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--text-primary, #ffffff);
}

.benefit-item p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Content Library ===== */

.library-filters {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary, #b0b0b0);
}

.search-box input {
    width: 100%;
    padding: 10px 10px 10px 38px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: #4a9eff;
}

.filter-select {
    padding: 10px 15px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #4a9eff;
}

.view-toggle {
    display: flex;
    gap: 5px;
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary, #b0b0b0);
    cursor: pointer;
}

.view-btn.active {
    background: #4a9eff;
    color: #ffffff;
}

.view-btn:hover:not(.active) {
    background: rgba(74, 158, 255, 0.1);
    color: var(--text-primary, #ffffff);
}

/* ===== Content Grid View ===== */

.content-grid-item {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    overflow: hidden;
}

.content-grid-item .content-thumbnail {
    position: relative;
}

.content-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
}

.content-grid-item:hover .content-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    color: #000000;
    cursor: pointer;
}

.overlay-btn:hover {
    background: #ffffff;
}

.content-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 10px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 500;
}

.badge-type {
    background: rgba(74, 158, 255, 0.9);
    color: #ffffff;
}

.badge-monetization {
    background: rgba(76, 175, 80, 0.9);
    color: #ffffff;
}

.badge-visibility {
    background: rgba(255, 152, 0, 0.9);
    color: #ffffff;
}

.content-grid-info {
    padding: 15px;
}

.content-stats-row {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary, #b0b0b0);
    margin-bottom: 10px;
}

.content-date {
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Content List View ===== */

.content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-list-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
}

.list-thumbnail {
    width: 160px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #0a0a0a;
}

.list-thumbnail img,
.list-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-info {
    flex: 1;
    min-width: 0;
}

.list-info .content-title {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.content-description {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

.content-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 13px;
    color: var(--text-secondary, #b0b0b0);
}

.list-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    min-width: 80px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #b0b0b0);
}

.list-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

/* ===== Pagination ===== */

.library-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 8px 12px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    cursor: pointer;
    font-size: 14px;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
}

.pagination-btn.active {
    background: #4a9eff;
    border-color: #4a9eff;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 8px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Enhanced Profile Editor ===== */

.profile-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

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

.profile-editor-header .back-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #b0b0b0;
    text-decoration: none;
}

.profile-editor-header .back-link:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.profile-editor-header .header-info h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.profile-editor-header .header-subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #808080;
}

.profile-editor-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.editor-main-column,
.editor-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editor-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.editor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    background: #161616;
}

.editor-card-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editor-card-header h2 i {
    color: #4a9eff;
    font-size: 14px;
}

.editor-card-body {
    padding: 20px;
}

/* Profile Images Grid */
.profile-images-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.avatar-upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #141414;
    border: 2px dashed #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.avatar-box i {
    font-size: 32px;
    color: #606060;
}

.avatar-box .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-box:hover {
    border-color: #4a9eff;
}

.banner-upload-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banner-box {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    background: #141414;
    border: 2px dashed #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.banner-box i {
    font-size: 32px;
    color: #606060;
}

.banner-box .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-box:hover {
    border-color: #4a9eff;
}

.image-upload-box .upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    color: #ffffff;
}

.image-upload-box:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    font-size: 20px;
}

.upload-overlay span {
    font-size: 12px;
}

.upload-info {
    text-align: center;
}

.upload-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
}

.upload-hint {
    font-size: 11px;
    color: #606060;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-grid:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #b0b0b0;
}

.form-group label i {
    margin-right: 6px;
    color: #606060;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a9eff;
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #0f0f0f;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #505050;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.input-with-prefix .input-prefix {
    padding: 12px 0 12px 14px;
    color: #606060;
    font-size: 14px;
}

.input-with-prefix input {
    border: none;
    background: transparent;
    padding-left: 4px;
}

.input-with-prefix input:focus {
    border: none;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #606060;
}

.textarea-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.section-description {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #808080;
}

/* Social Links */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-platform {
    width: 140px;
    padding: 10px 12px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.social-url {
    flex: 1;
    padding: 10px 12px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.category-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #b0b0b0;
}

.category-tag:hover {
    border-color: #4a9eff;
    color: #ffffff;
}

.category-tag.selected,
.category-tag:has(input:checked) {
    background: rgba(74, 158, 255, 0.15);
    border-color: #4a9eff;
    color: #4a9eff;
}

.category-tag input {
    display: none;
}

/* Sidebar Stats */
.stats-card .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stats-card .stat-item {
    text-align: center;
    padding: 12px;
    background: #141414;
    border-radius: 8px;
}

.stats-card .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stats-card .stat-label {
    font-size: 11px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Verification */
.verification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.verification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #141414;
    border-radius: 8px;
}

.verification-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.verification-item.pending .verification-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.verification-item.verified .verification-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.verification-info {
    flex: 1;
}

.verification-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

.verification-status-text {
    font-size: 12px;
    color: #808080;
}

.fully-verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #10b981;
    font-size: 13px;
    font-weight: 500;
}

/* AI Badge Card */
.ai-badge-card {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.ai-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.ai-badge > i {
    font-size: 28px;
    color: #8b5cf6;
}

.ai-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-badge-title {
    font-size: 14px;
    font-weight: 600;
    color: #8b5cf6;
}

.ai-badge-desc {
    font-size: 12px;
    color: #888;
}

/* Form Select Styling */
.form-select {
    width: 100%;
    padding: 12px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:focus {
    border-color: #3b82f6;
}

.form-select option {
    background: #1a1a1a;
    color: #fff;
}

/* Quick Links */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 13px;
}

.quick-link-item:hover {
    background: rgba(74, 158, 255, 0.08);
    border-color: #4a9eff;
    color: #ffffff;
}

.quick-link-item i {
    width: 16px;
    color: #4a9eff;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-editor-layout {
        grid-template-columns: 1fr;
    }

    .editor-sidebar-column {
        order: -1;
    }
}

@media (max-width: 640px) {
    .profile-editor-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .profile-editor-header .header-left {
        flex-direction: column;
    }

    .profile-editor-header .header-actions {
        width: 100%;
    }

    .profile-editor-header .header-actions .btn {
        flex: 1;
    }

    .profile-images-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .avatar-upload-section {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-card .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Legacy Profile Editor Support */
.editor-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.editor-main,
.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.editor-section {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    padding: 25px;
}

.editor-section h2,
.editor-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: var(--text-primary, #ffffff);
}

/* ===== Form Elements ===== */

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a9eff;
}

.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Image Upload ===== */

.image-uploads {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.image-upload-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.image-upload-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--input-bg, #0a0a0a);
    border: 2px dashed var(--border-color, #2a2a2a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-upload-box:hover {
    border-color: #4a9eff;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.1);
}

.image-upload-box.banner {
    aspect-ratio: 4.8;
}

.image-upload-box i {
    font-size: 48px;
    color: var(--text-secondary, #b0b0b0);
}

.image-upload-box .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    color: #ffffff;
}

.image-upload-box:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    font-size: 32px;
}

.upload-overlay span {
    font-size: 14px;
}

/* ===== Social Links ===== */

.social-link-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.social-platform {
    flex: 0 0 150px;
    padding: 10px 15px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
}

.social-url {
    flex: 1;
    padding: 10px 15px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
}

/* ===== Category Tags ===== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.category-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    cursor: pointer;
}

.category-tag input {
    display: none;
}

.category-tag span {
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

.category-tag.selected,
.category-tag:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
}

.category-tag.selected span {
    color: #4a9eff;
}

/* ===== Subscription Tier Cards ===== */

.tier-card {
    padding: 20px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    margin-bottom: 15px;
}

.tier-card.inactive {
    opacity: 0.5;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tier-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary, #ffffff);
}

.tier-price {
    font-size: 18px;
    font-weight: 600;
    color: #4a9eff;
    margin-bottom: 15px;
}

.tier-benefits {
    margin-bottom: 15px;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.benefit-item i {
    margin-top: 2px;
    color: #4caf50;
}

.tier-stats {
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color, #2a2a2a);
}

.tier-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color, #2a2a2a);
    border-radius: 24px;
    cursor: pointer;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background: #4a9eff;
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

.toggle-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-switch.disabled .toggle-slider {
    cursor: not-allowed;
}

/* ===== Stats List ===== */

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row span {
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

.stat-row strong {
    font-size: 14px;
    color: var(--text-primary, #ffffff);
}

/* ===== Verification Status ===== */

.verification-status {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.verification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.verification-item i {
    font-size: 18px;
}

.verification-item.verified {
    color: #4caf50;
}

.verification-item.pending {
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Buttons ===== */

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #4a9eff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #3a8eef;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary, #ffffff);
    border: 1px solid var(--border-color, #2a2a2a);
}

.btn-secondary:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
}

.btn-danger {
    background: #f44336;
    color: #ffffff;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Loading States ===== */

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color, #2a2a2a);
    border-top-color: #4a9eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.creator-dashboard-loading,
.profile-editor-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    gap: 20px;
}

/* ===== Error States ===== */

.error-container,
.error-message {
    padding: 40px 20px;
    text-align: center;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
}

.error-container h2 {
    margin: 0 0 10px 0;
    color: #f44336;
}

.error-container p,
.error-message p {
    margin: 0 0 20px 0;
    color: var(--text-secondary, #b0b0b0);
}

/* ===== Responsive Design ===== */

@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .editor-content {
        grid-template-columns: 1fr;
    }

    .sidebar-section,
    .editor-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .dashboard-header,
    .library-header,
    .editor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .image-uploads {
        grid-template-columns: 1fr;
    }

    .creator-benefits {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .content-list-item {
        flex-direction: column;
    }

    .list-thumbnail {
        width: 100%;
        height: 200px;
    }

    .list-actions {
        flex-direction: row;
        width: 100%;
    }
}

/* ===== Utility Classes ===== */

.text-muted {
    color: var(--text-secondary, #b0b0b0);
}

.text-center {
    text-align: center;
}

/* ===== Subscription Tiers Modal ===== */

.tiers-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tiers-modal {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.tiers-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

.tiers-modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tiers-modal-header h2 i {
    color: #4a9eff;
    font-size: 24px;
}

.tiers-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 18px;
}

.tiers-modal-close:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.tiers-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
}

/* Tiers List */
.tiers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tier-management-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.tier-management-card.featured {
    border-color: #4a9eff;
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.15);
}

.tier-management-card.inactive {
    opacity: 0.6;
}

.tier-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1f1f1f 0%, #1a1a1a 100%);
    border-bottom: 1px solid #2a2a2a;
}

.tier-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.tier-icon.bronze { background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%); color: #ffffff; }
.tier-icon.silver { background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%); color: #1a1a1a; }
.tier-icon.gold { background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%); color: #1a1a1a; }
.tier-icon.platinum { background: linear-gradient(135deg, #e5e4e2 0%, #a3a3a3 100%); color: #1a1a1a; }
.tier-icon.diamond { background: linear-gradient(135deg, #b9f2ff 0%, #4a9eff 100%); color: #1a1a1a; }
.tier-icon.custom { background: linear-gradient(135deg, #4a9eff 0%, #2563eb 100%); color: #ffffff; }

.tier-name-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-name-price h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tier-price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tier-price-tag .amount {
    font-size: 24px;
    font-weight: 700;
    color: #4a9eff;
}

.tier-price-tag .period {
    font-size: 14px;
    color: #808080;
}

.tier-card-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-status-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-status-toggle span {
    font-size: 13px;
    color: #808080;
}

.tier-actions-menu {
    display: flex;
    gap: 8px;
}

.tier-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 14px;
}

.tier-action-btn:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.tier-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: #ef4444;
}

/* Tier Card Body */
.tier-card-body {
    padding: 20px 24px;
}

.tier-stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.tier-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.tier-stat-label {
    font-size: 12px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-benefits-section h5 {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #d0d0d0;
}

.tier-benefit-item i {
    color: #10b981;
    font-size: 14px;
    width: 16px;
}

/* Add Tier Button */
.add-tier-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 24px;
    background: transparent;
    border: 2px dashed #3a3a3a;
    border-radius: 12px;
    color: #808080;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.add-tier-btn:hover {
    background: rgba(74, 158, 255, 0.05);
    border-color: #4a9eff;
    color: #4a9eff;
}

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

/* Empty State */
.tiers-empty-state {
    text-align: center;
    padding: 60px 40px;
}

.tiers-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    font-size: 36px;
    color: #4a9eff;
}

.tiers-empty-state h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.tiers-empty-state p {
    margin: 0 0 28px 0;
    font-size: 15px;
    color: #808080;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Modal Footer */
.tiers-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid #2a2a2a;
    background: #0f0f0f;
}

/* ===== Tier Editor Modal (for adding/editing a tier) ===== */

.tier-editor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tier-editor-modal {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.tier-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

.tier-editor-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tier-editor-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.tier-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tier-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tier-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier-form-group.full-width {
    grid-column: 1 / -1;
}

.tier-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-form-group input,
.tier-form-group textarea,
.tier-form-group select {
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
}

.tier-form-group input:focus,
.tier-form-group textarea:focus,
.tier-form-group select:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.15);
}

.tier-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.tier-form-group .hint {
    font-size: 12px;
    color: #606060;
}

/* Price Input */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-wrapper .currency-symbol {
    position: absolute;
    left: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #4a9eff;
}

.price-input-wrapper input {
    padding-left: 36px;
}

/* Benefits Editor */
.benefits-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-input-row {
    display: flex;
    gap: 10px;
}

.benefit-input-row input {
    flex: 1;
}

.benefit-remove-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #b0b0b0;
    cursor: pointer;
}

.benefit-remove-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.add-benefit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px dashed #3a3a3a;
    border-radius: 8px;
    color: #808080;
    font-size: 14px;
    cursor: pointer;
    width: fit-content;
}

.add-benefit-btn:hover {
    background: rgba(74, 158, 255, 0.05);
    border-color: #4a9eff;
    color: #4a9eff;
}

/* Tier Preview */
.tier-preview-section {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.tier-preview-section h4 {
    margin: 0 0 16px 0;
    font-size: 13px;
    font-weight: 600;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-preview-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.tier-preview-card .preview-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.tier-preview-card .preview-price {
    font-size: 32px;
    font-weight: 700;
    color: #4a9eff;
    margin-bottom: 4px;
}

.tier-preview-card .preview-period {
    font-size: 14px;
    color: #808080;
    margin-bottom: 16px;
}

.tier-preview-card .preview-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.tier-preview-card .preview-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #d0d0d0;
}

.tier-preview-card .preview-benefit i {
    color: #10b981;
    font-size: 14px;
}

/* Tier Editor Footer */
.tier-editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #2a2a2a;
    background: #0f0f0f;
}

.tier-editor-footer .btn-danger {
    margin-right: auto;
}

/* Delete Confirmation */
.delete-tier-warning {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
}

.delete-tier-warning i {
    font-size: 24px;
    color: #ef4444;
    flex-shrink: 0;
}

.delete-tier-warning-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ef4444;
}

.delete-tier-warning-text p {
    margin: 0;
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tiers-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .tiers-modal-header,
    .tiers-modal-body,
    .tiers-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tier-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .tier-card-controls {
        width: 100%;
        justify-content: space-between;
    }

    .tier-stats-row {
        flex-wrap: wrap;
    }

    .tier-form-row {
        grid-template-columns: 1fr;
    }

    .tier-editor-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ===== Bulk Upload Modal ===== */

.bulk-upload-container {
    max-width: 800px;
    width: 90vw;
}

.bulk-upload-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-header {
    text-align: center;
}

.upload-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: var(--text-primary, #ffffff);
}

.upload-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

/* Drop Zone */

.upload-drop-zone {
    position: relative;
    min-height: 300px;
    background: var(--input-bg, #0a0a0a);
    border: 2px dashed var(--border-color, #2a2a2a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 40px;
}

.upload-drop-zone:hover {
    background: #0f0f0f;
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.drop-zone-content {
    text-align: center;
}

.drop-zone-icon {
    font-size: 64px;
    color: var(--text-secondary, #b0b0b0);
    margin-bottom: 20px;
}

.drop-zone-text {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.drop-zone-subtext {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--text-secondary, #b0b0b0);
}

.drop-zone-hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

/* Upload Queue */

.upload-queue {
    max-height: 400px;
    overflow-y: auto;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
    margin-bottom: 15px;
}

.queue-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.btn-link {
    background: none;
    border: none;
    color: #4a9eff;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: #3a8eef;
}

.queue-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Queue Item */

.queue-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.queue-item:hover {
    transform: translateX(5px);
    background: #111;
}

.file-preview {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.file-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 4px;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 28px;
    color: #4a9eff;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.file-meta {
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

.file-status {
    flex-shrink: 0;
}

.status-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.status-icon.pending {
    background: rgba(176, 176, 176, 0.1);
    color: var(--text-secondary, #b0b0b0);
}

.status-icon.uploading {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
}

.status-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.file-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
}

.queue-item:hover .file-remove {
    opacity: 1;
}

.file-remove:hover {
    background: #ef4444;
}

/* Progress Bar */

.file-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #4a9eff;
    width: 0%;
}

/* Upload Actions */

.upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #2a2a2a);
}

/* Mobile responsive */

@media (max-width: 768px) {
    .bulk-upload-container {
        width: 95vw;
    }

    .upload-drop-zone {
        min-height: 200px;
        padding: 20px;
    }

    .drop-zone-icon {
        font-size: 48px;
    }

    .queue-item {
        flex-wrap: wrap;
    }

    .file-status {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }

    .file-remove {
        opacity: 1;
    }
}

/* ===== Folder Sidebar ===== */

.creator-content-library-wrapper {
    display: flex;
    gap: 20px;
    min-height: calc(100vh - 100px);
}

.folder-sidebar {
    width: 280px;
    background: var(--card-bg, #1a1a1a);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

.sidebar-header .btn-icon {
    width: 32px;
    height: 32px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 4px;
    color: var(--text-secondary, #b0b0b0);
    cursor: pointer;
    font-size: 16px;
}

.sidebar-header .btn-icon:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
    color: #4a9eff;
}

.folder-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

.folder-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.folder-item.active {
    background: rgba(74, 158, 255, 0.15);
    border-left: 3px solid #4a9eff;
}

.folder-icon {
    font-size: 18px;
    color: var(--text-secondary, #b0b0b0);
    flex-shrink: 0;
}

.folder-item.active .folder-icon {
    color: #4a9eff;
}

.folder-info {
    flex: 1;
    min-width: 0;
}

.folder-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.folder-count {
    font-size: 12px;
    color: var(--text-secondary, #b0b0b0);
}

.folder-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
}

.folder-item:hover .folder-actions {
    opacity: 1;
}

.folder-action-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary, #b0b0b0);
    cursor: pointer;
    font-size: 13px;
}

.folder-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #ffffff);
}

.empty-folders {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary, #b0b0b0);
}

.empty-folders i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-folders p {
    margin: 8px 0 0 0;
    font-size: 14px;
}

.empty-folders .hint {
    font-size: 12px;
    opacity: 0.7;
}

/* Folder selection modal */

.folder-selection-modal {
    width: 400px;
}

.folder-selection-modal p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-primary, #ffffff);
}

.folder-selection-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.folder-selection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--input-bg, #0a0a0a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 6px;
    cursor: pointer;
}

.folder-selection-item:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: #4a9eff;
}

.folder-selection-item i {
    font-size: 18px;
    color: var(--text-secondary, #b0b0b0);
}

.folder-selection-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

/* Header updates */

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title h1 {
    margin: 0;
}

.content-count {
    padding: 4px 12px;
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Mobile responsive */

@media (max-width: 1024px) {
    .creator-content-library-wrapper {
        flex-direction: column;
    }

    .folder-sidebar {
        width: 100%;
    }

    .folder-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }

    .folder-item {
        flex-shrink: 0;
        min-width: 150px;
    }

    .folder-actions {
        opacity: 1;
    }
}

/* ===== Earnings Card ===== */

.earnings-card {
    grid-column: 1 / -1;
}

.earnings-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.earnings-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.earnings-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.earnings-balance .balance-label {
    font-size: 12px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.earnings-balance .balance-amount {
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
}

.payout-min {
    font-size: 12px;
    color: #808080;
    font-style: italic;
}

.earnings-stats {
    display: flex;
    gap: 32px;
}

.earnings-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.earnings-stat .stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #d0d0d0;
}

.earnings-stat .stat-label {
    font-size: 12px;
    color: #808080;
}

.earnings-transactions h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #b0b0b0;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #141414;
    border-radius: 8px;
}

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #d0d0d0;
}

.transaction-type i {
    color: #10b981;
    font-size: 12px;
}

.transaction-date {
    font-size: 12px;
    color: #808080;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 600;
    color: #10b981;
}

.earnings-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.earnings-empty i {
    font-size: 48px;
    color: #3a3a3a;
    margin-bottom: 16px;
}

.earnings-empty p {
    margin: 0;
    font-size: 14px;
    color: #808080;
    max-width: 300px;
}

@media (max-width: 768px) {
    .earnings-summary {
        flex-direction: column;
        gap: 20px;
    }

    .earnings-stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== Withdrawal Modal ===== */

.withdrawal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.withdrawal-modal {
    background: #1a1a1a;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
}

.withdrawal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2a2a;
}

.withdrawal-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.withdrawal-modal-header h2 i {
    color: #4caf50;
}

.withdrawal-modal-close {
    background: none;
    border: none;
    color: #808080;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.withdrawal-modal-close:hover {
    color: #ffffff;
}

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

.withdrawal-balance-display {
    background: linear-gradient(135deg, #1e3a1e 0%, #0d1f0d 100%);
    border: 1px solid #2d5a2d;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.withdrawal-balance-display .balance-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.withdrawal-balance-display .balance-amount {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #4caf50;
}

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

.withdrawal-form label {
    display: block;
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.withdrawal-form .form-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    overflow: hidden;
}

.amount-input-wrapper .currency-symbol {
    padding: 12px 14px;
    color: #888;
    background: #1a1a1a;
    border-right: 1px solid #3a3a3a;
}

.amount-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 14px;
    font-size: 18px;
    color: #ffffff;
    outline: none;
}

.withdrawal-form select,
.withdrawal-form input[type="text"],
.withdrawal-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.withdrawal-form select:focus,
.withdrawal-form input:focus {
    border-color: #4a9eff;
}

.withdrawal-summary {
    background: #252525;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.withdrawal-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #b0b0b0;
}

.withdrawal-summary .summary-row.total {
    border-top: 1px solid #3a3a3a;
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 600;
    color: #ffffff;
}

.withdrawal-summary .summary-row.total span:last-child {
    color: #4caf50;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.withdrawal-insufficient {
    text-align: center;
    padding: 40px 20px;
    background: #252525;
    border-radius: 8px;
}

.withdrawal-insufficient i {
    font-size: 48px;
    color: #ff9800;
    margin-bottom: 16px;
}

.withdrawal-insufficient p {
    margin: 0 0 8px 0;
    color: #b0b0b0;
}

.withdrawal-insufficient .current-balance {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.withdrawal-history {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.withdrawal-history h3 {
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.withdrawals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.withdrawal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #252525;
    border-radius: 8px;
    gap: 12px;
}

.withdrawal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.withdrawal-info .withdrawal-amount {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.withdrawal-info .withdrawal-method {
    font-size: 12px;
    color: #888;
}

.withdrawal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.withdrawal-status {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
}

.withdrawal-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.withdrawal-status.approved,
.withdrawal-status.processing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.withdrawal-status.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.withdrawal-status.rejected {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.withdrawal-date {
    font-size: 11px;
    color: #666;
}

.withdrawal-item .cancel-withdrawal-btn {
    font-size: 11px;
    padding: 4px 10px;
}

@media (max-width: 480px) {
    .withdrawal-modal {
        max-height: 100vh;
        border-radius: 0;
    }

    .withdrawal-item {
        flex-wrap: wrap;
    }
}

/* ===== Dashboard Header Visibility Toggle ===== */

.visibility-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
}

.visibility-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #888888);
    min-width: 50px;
}

/* ===== Quick Privacy Toggle in Quick Actions ===== */

.quick-privacy-toggle {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #2a2a2a);
}

.privacy-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.privacy-toggle-row:first-child {
    padding-top: 0;
}

.privacy-toggle-row:last-child {
    padding-bottom: 0;
}

.privacy-toggle-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-toggle-info > i {
    font-size: 16px;
    color: var(--text-secondary, #888888);
    width: 20px;
    text-align: center;
}

.privacy-toggle-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.privacy-toggle-desc {
    display: block;
    font-size: 11px;
    color: var(--text-secondary, #888888);
    margin-top: 2px;
}

/* ===== Privacy Settings Card ===== */

.privacy-card {
    /* Uses standard editor-card styles */
}

.privacy-options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privacy-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
}

.privacy-option-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.privacy-option-row:first-child {
    padding-top: 0;
}

.privacy-option-info {
    flex: 1;
    min-width: 0;
}

.privacy-option-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    margin-bottom: 4px;
}

.privacy-option-desc {
    display: block;
    font-size: 12px;
    color: var(--text-secondary, #888888);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .privacy-option-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .privacy-option-row .toggle-switch {
        align-self: flex-end;
    }
}

/* ===== Profile Switcher ===== */

.profile-switcher {
    position: relative;
}

.profile-switcher-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary, #ffffff);
    min-width: 200px;
}

.profile-switcher-btn:hover {
    border-color: #3a3a3a;
}

.profile-switcher-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.profile-switcher-avatar i {
    font-size: 16px;
    color: #666;
}

.profile-switcher-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.profile-switcher-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-switcher-count {
    display: block;
    font-size: 11px;
    color: var(--text-secondary, #888888);
}

.profile-switcher-arrow {
    font-size: 12px;
    color: var(--text-secondary, #888888);
}

.profile-switcher-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: none;
    min-width: 250px;
}

.profile-switcher-dropdown.show {
    display: block;
}

.profile-switcher-header {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary, #888888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color, #2a2a2a);
}

.profile-switcher-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary, #ffffff);
}

.profile-switcher-item:hover {
    background: #252525;
}

.profile-switcher-item.active {
    background: rgba(74, 158, 255, 0.1);
}

.profile-switcher-item.active .profile-switcher-item-name {
    color: #4a9eff;
}

.profile-switcher-item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.profile-switcher-item-avatar i {
    font-size: 14px;
    color: #666;
}

.profile-switcher-item.create-new .profile-switcher-item-avatar {
    background: rgba(74, 158, 255, 0.15);
}

.profile-switcher-item.create-new .profile-switcher-item-avatar i {
    color: #4a9eff;
}

.profile-switcher-item-info {
    flex: 1;
    min-width: 0;
}

.profile-switcher-item-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-switcher-item-username {
    display: block;
    font-size: 11px;
    color: var(--text-secondary, #888888);
}

.profile-switcher-item > i.fa-check {
    color: #4a9eff;
    font-size: 12px;
}

.profile-switcher-divider {
    height: 1px;
    background: var(--border-color, #2a2a2a);
    margin: 4px 0;
}