/* =============================================
   ARTIST DASHBOARD WAVE - ConincStudio™
   Dashboard Content Styles Only
   
   NOTE: Sidebar, header, mobile nav, and overlay
   are provided by the platform globally.
   This file only styles the dashboard's own content.
   ============================================= */

/* =============================================
   DASHBOARD MAIN LAYOUT
   ============================================= */

.cs-artist-dashboard-wave {
    background: #0A0A0A;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

.cs-artist-dashboard-wave main,
.wave-main {
    flex: 1;
    padding: 20px 30px 40px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* =============================================
   HERO - Artist Profile
   ============================================= */

.wave-hero {
    position: relative;
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(245, 179, 1, 0.15);
    min-height: 320px;
}

.wave-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wave-hero-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #F5B301;
    box-shadow: 0 0 40px rgba(245, 179, 1, 0.3);
    margin-bottom: 20px;
    overflow: hidden;
}

.wave-hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wave-hero-avatar .status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #0A0A0A;
    background: #00E676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}

.wave-hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #F5B301, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0;
}

.wave-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 24px;
    letter-spacing: 0.4px;
}

.wave-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.wave-hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* =============================================
   STATS GRID
   ============================================= */

.wave-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0 40px;
}

.wave-stat-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.wave-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 179, 1, 0.3);
    background: rgba(245, 179, 1, 0.05);
}

.stat-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: #F5B301;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* =============================================
   MINI PLAYER
   ============================================= */

.wave-player-section {
    margin: 30px 0 40px;
}

.wave-player-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
}

.player-artwork {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(245, 179, 1, 0.3);
}

.player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-meta {
    flex: 1;
    min-width: 120px;
}

.player-track-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.player-track-artist {
    font-size: 0.9rem;
    opacity: 0.6;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 2;
    min-width: 200px;
}

.ctrl-btn {
    background: #F5B301;
    border: none;
    color: #0A0A0A;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(245, 179, 1, 0.4);
    flex-shrink: 0;
}

.ctrl-btn:hover {
    transform: scale(1.08);
    background: #FF8C42;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 120px;
}

.player-progress input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.15);
    height: 4px;
    border-radius: 10px;
    outline: none;
}

.player-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #F5B301;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(245, 179, 1, 0.6);
}

.player-progress span {
    font-size: 0.8rem;
    opacity: 0.7;
    min-width: 36px;
}

.player-like-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    padding: 0 8px;
}

.player-like-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* =============================================
   TRACK LIBRARY HEADER
   ============================================= */

.wave-library {
    margin-top: 50px;
}

.wave-library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.wave-library-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.wave-library-title-wrap h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.wave-track-count {
    background: rgba(245, 179, 1, 0.15);
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #F5B301;
    font-weight: 500;
}

.wave-library-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.wave-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.wave-search-wrap:focus-within {
    border-color: #F5B301;
    background: rgba(255, 255, 255, 0.08);
}

.wave-search-icon {
    opacity: 0.5;
    margin-right: 8px;
}

.wave-track-search {
    background: transparent;
    border: none;
    padding: 12px 6px;
    color: #fff;
    outline: none;
    font-size: 0.95rem;
    min-width: 160px;
}

.wave-track-search::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.wave-track-sort {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 12px 20px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.wave-track-sort:focus {
    border-color: #F5B301;
}

.wave-track-sort option {
    background: #1A1A1A;
    color: #fff;
}

/* =============================================
   EMPTY STATE
   ============================================= */

.wave-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.06);
}

.wave-empty-state p {
    font-size: 1.2rem;
    opacity: 0.5;
    margin-bottom: 30px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .wave-main {
        padding: 16px 20px 30px;
    }

    .wave-hero {
        padding: 40px 30px;
        min-height: 280px;
    }

    .wave-hero-title {
        font-size: 2.4rem;
    }

    .wave-player-card {
        border-radius: 32px;
        padding: 16px 20px;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .wave-main {
        padding: 12px 16px 24px;
    }

    .wave-hero {
        padding: 30px 20px;
        border-radius: 24px;
        min-height: 240px;
    }

    .wave-hero-title {
        font-size: 2rem;
    }

    .wave-hero-avatar {
        width: 90px;
        height: 90px;
    }

    .wave-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .wave-hero-actions button {
        width: 100%;
        justify-content: center;
    }

    .wave-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wave-player-card {
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .player-controls {
        flex-wrap: wrap;
    }

    .wave-library-header {
        flex-direction: column;
        align-items: stretch;
    }

    .wave-library-controls {
        width: 100%;
    }

    .wave-search-wrap {
        flex: 1;
    }

    .wave-track-search {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .wave-hero-title {
        font-size: 1.6rem;
    }

    .wave-hero-subtitle {
        font-size: 0.95rem;
    }

    .wave-hero-avatar {
        width: 72px;
        height: 72px;
    }

    .wave-stat-card {
        padding: 16px 10px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .wave-library-title-wrap h2 {
        font-size: 1.5rem;
    }
}