/* World-Class Dashboard Content Styles */

/* World-Class Buttons */
.wc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.wc-btn:hover::before {
    opacity: 1;
}

.wc-btn:active {
    transform: translateY(0);
}

.wc-btn svg {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.wc-btn__text {
    position: relative;
    z-index: 1;
}

.wc-btn--primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: #fff;
}

.wc-btn--primary::before {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.wc-btn--secondary {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.25);
}

.wc-btn--secondary::before {
    background: rgba(148, 163, 184, 0.2);
}

.wc-btn--small {
    padding: 0.5rem 1rem;
    font-size: 13px;
}

/* World-Class Page Layout */
.wc-page-header {
    padding: 2.5rem 3rem;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.5) 0%, transparent 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.wc-page-header__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.wc-page-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.wc-page-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

.wc-page-content {
    padding: 2rem 3rem 3rem;
}

/* World-Class Stats Grid */
.wc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wc-stat-card {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wc-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 1px rgba(99, 102, 241, 0.3) inset;
}

.wc-stat-card:hover::before {
    opacity: 1;
}

.wc-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.wc-stat-value {
    font-size: 40px;
    font-weight: 900;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.wc-stat-value.positive {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc-stat-value.negative {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc-stat-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.wc-stat-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.12) 50%, transparent 100%);
    margin: 1rem 0;
}

.wc-stat-details {
    font-size: 12px;
    color: #64748b;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* World-Class Banners */
.wc-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-banner:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}

.wc-banner--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(52, 211, 153, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.35);
}

.wc-banner--success:hover {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.25);
}

.wc-banner__content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.wc-banner__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.wc-banner--success .wc-banner__icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(52, 211, 153, 0.25) 100%);
}

.wc-banner__text {
    flex: 1;
}

.wc-banner__title {
    font-size: 19px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 0.375rem 0;
    letter-spacing: -0.01em;
}

.wc-banner__subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.wc-banner__actions {
    display: flex;
    gap: 0.875rem;
    flex-shrink: 0;
}

/* World-Class Selector */
.wc-selector {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.wc-selector__control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wc-selector__label {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.wc-selector select {
    padding: 0.625rem 1.25rem;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-selector select:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.35);
}

.wc-selector select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.wc-selector__info {
    font-size: 13px;
    color: #94a3b8;
}

.wc-selector__info strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* World-Class Cards */
.wc-card {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.wc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.wc-card__header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.wc-card__body {
    padding: 2rem 2.5rem;
}

.wc-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: -0.015em;
}

/* Override existing page layout classes */
.page-layout__header {
    padding: 0 !important;
    background: none !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.page-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 0.5rem 0 !important;
}

.page-subtitle {
    font-size: 15px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.page-layout__body {
    padding: 0 !important;
}

/* Improved stat cards */
.stat-card {
    background: rgba(15, 22, 41, 0.7) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.stat-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
}

.stat-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #64748b !important;
    margin-bottom: 1rem !important;
}

.stat-value {
    font-size: 40px !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
}

.stat-value.positive {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .wc-page-header {
        padding: 2rem 2rem;
    }

    .wc-page-content {
        padding: 1.5rem 2rem 2.5rem;
    }

    .wc-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .wc-page-header {
        padding: 1.5rem 1.5rem;
    }

    .wc-page-content {
        padding: 1.25rem 1.5rem 2rem;
    }

    .wc-page-title {
        font-size: 28px !important;
    }

    .wc-stats-grid {
        grid-template-columns: 1fr;
    }

    .wc-banner {
        padding: 1.5rem 1.75rem;
    }

    .wc-banner__icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
