/* ====================================
   DASHBOARD SPECIFIC STYLES
   ==================================== */

/* Earnings Chart Styling */
.chart-wrapper {
    position: relative;
    height: 300px;
    margin-bottom: var(--space-lg);
}

.chart-wrapper canvas {
    max-height: 100%;
}

/* Subscription Badge Styling */
.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(170, 140, 44, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.subscription-badge.premium {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(91, 33, 182, 0.05));
    border-color: rgba(124, 58, 237, 0.2);
}

/* Live Session Card Styling */
.live-session-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.live-session-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.live-session-content {
    position: relative;
    z-index: 1;
}

.live-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: var(--weight-bold);
    font-size: 11px;
    margin-bottom: var(--space-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Progress Bar Segments */
.progress-segments {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.progress-segment {
    flex: 1;
    height: 8px;
    border-radius: 100px;
    background: var(--color-gray-200);
    transition: all 0.3s ease;
}

.progress-segment.active {
    background: var(--color-primary);
}

.progress-segment.secondary {
    background: var(--color-secondary);
}

/* Song Grid Styling */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-lg);
}

.song-card {
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

.song-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.song-card-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.song-card-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: var(--weight-semibold);
    color: var(--color-dark);
}

.song-card-artist {
    margin: 0;
    font-size: 12px;
    color: var(--color-gray-500);
}

/* Transaction List Styling */
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

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

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
}

.transaction-details h5 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: var(--weight-semibold);
}

.transaction-details p {
    margin: 0;
    font-size: 12px;
    color: var(--color-gray-500);
}

.transaction-amount {
    text-align: right;
    font-weight: var(--weight-semibold);
}

.transaction-amount.success {
    color: var(--color-success);
}

.transaction-amount.error {
    color: var(--color-error);
}

/* Stat Card Animation */
.stat-card {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Earnings Chart Gradient */
.chart-gradient {
    background: linear-gradient(180deg, rgba(234, 88, 12, 0.1) 0%, transparent 100%);
    border-radius: var(--radius-lg);
}

/* Pie Chart Styling */
.pie-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
}

.pie-chart {
    width: 180px;
    height: 180px;
    margin-bottom: var(--space-lg);
}

.pie-legend {
    width: 100%;
}

.pie-legend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-size: var(--font-sm);
}

.pie-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: var(--space-md);
}

/* Header Filter Dropdown */
.header-filter {
    padding: 6px 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--color-dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-filter:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.header-filter:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* ====================================
   DASHBOARD UI REFRESH
   Matches the attached dashboard layouts
   ==================================== */

.ui-icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    flex-shrink: 0;
}

html,
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(234, 88, 12, 0.08), transparent 24%),
        #eef2f7;
    color: #101828;
}

body {
    line-height: 1.5;
}

.dashboard-container {
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
    background: transparent;
}

.sidebar {
    background: linear-gradient(180deg, #060816 0%, #0b1020 52%, #070b16 100%);
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.sidebar-logo {
    margin-bottom: 22px;
    padding-bottom: 18px;
    align-items: center;
    gap: 14px;
}

.sidebar-logo svg,
.sidebar-logo > div {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.sidebar-logo-text h3 {
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 0.08em;
}

.sidebar-logo-text p {
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.12em;
}

.sidebar-user {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 14px;
    gap: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.sidebar-user-avatar {
    width: 50px;
    height: 50px;
    font-size: 16px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.sidebar-user-info h4 {
    color: #ffffff;
    font-size: 15px;
}

.sidebar-user-info p {
    color: rgba(255, 255, 255, 0.65);
}

.sidebar-user-badge {
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.18);
    color: #ffffff;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.sidebar-nav-item {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateY(-1px);
}

.sidebar-nav-item.active {
    background: linear-gradient(135deg, var(--color-primary, #7c3aed), #5b21b6);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(124, 58, 237, 0.25);
}

.sidebar-nav-item.active:hover {
    background: linear-gradient(135deg, var(--color-primary, #7c3aed), #5b21b6);
}

.sidebar-nav-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.sidebar-upgrade {
    margin-top: auto;
    border-radius: 22px;
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(91, 33, 182, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.sidebar-upgrade h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.sidebar-upgrade p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin-bottom: 14px;
}

.upgrade-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary, #7c3aed), #5b21b6);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.24);
}

.dashboard-main {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.88)),
        transparent;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.screen-content {
    padding: 0;
}

.dashboard-header {
    padding: 0;
    border: 0;
    background: transparent;
    margin-bottom: 18px;
}

.dashboard-header h1 {
    color: #111827;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -0.05em;
    margin-bottom: 6px;
}

.dashboard-header p {
    margin: 0;
    color: #667085;
    font-size: 16px;
}

.dashboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dashboard-toolbar-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-toolbar-copy h1 {
    margin: 0;
}

.dashboard-toolbar-copy p {
    margin: 0;
}

.dashboard-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.notification-button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    position: relative;
}

.notification-button .notification-count,
.notification-button .count,
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.3);
}

.profile-avatar,
.topbar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 3px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.14);
}

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

.metric-card,
.stat-card,
.panel,
.card,
.status-card,
.user-row,
.withdrawal-card {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.metric-card,
.stat-card {
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover,
.stat-card:hover,
.card:hover,
.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.12);
}

.metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(91, 33, 182, 0.08));
    color: var(--color-primary, #7c3aed);
}

.metric-label,
.stat-label {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.metric-value,
.stat-value {
    color: #111827;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-top: 8px;
}

.metric-subtext,
.stat-unit {
    color: #98a2b3;
    font-size: 13px;
    margin-top: 8px;
}

.panel-grid,
.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 16px;
    margin-bottom: 16px;
}

.panel,
.card {
    overflow: hidden;
}

.panel-header,
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 0;
}

.panel-title,
.card-title {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: #101828;
}

.panel-body,
.card-body {
    padding: 20px;
}

.chart-card,
.chart-wrapper,
.earnings-chart {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.01));
    border: 1px solid rgba(16, 24, 40, 0.08);
    min-height: 300px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.chart-plot {
    position: relative;
    height: 220px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72)),
        repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.14) 0 1px, transparent 1px 36px);
    border: 1px solid rgba(16, 24, 40, 0.08);
    overflow: hidden;
}

.chart-plot::before {
    content: '';
    position: absolute;
    inset: 16px 24px 30px 48px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.02));
    clip-path: polygon(0% 82%, 10% 74%, 17% 78%, 24% 58%, 31% 63%, 39% 42%, 47% 47%, 55% 30%, 63% 36%, 71% 20%, 79% 26%, 88% 14%, 100% 8%, 100% 100%, 0% 100%);
}

.chart-plot::after {
    content: '';
    position: absolute;
    left: 48px;
    right: 24px;
    bottom: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.0), rgba(124, 58, 237, 0.85), rgba(124, 58, 237, 0.0));
}

.donut-card,
.pie-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-chart,
.pie-chart {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-strong, #7c3aed) 0 70%, var(--accent-soft, #f97316) 70% 90%, #d1d5db 90% 100%);
    position: relative;
    box-shadow: 0 22px 44px rgba(16, 24, 40, 0.1);
}

.donut-chart::after,
.pie-chart::after {
    content: '';
    position: absolute;
    inset: 26px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
}

.donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    pointer-events: none;
}

.donut-center strong {
    font-size: 22px;
    color: #111827;
    letter-spacing: -0.04em;
}

.donut-center span {
    color: #667085;
    font-size: 13px;
    margin-top: 4px;
}

.progress-card,
.session-details-card,
.live-banner,
.live-session-card,
.subscription-card,
.quick-actions-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.progress-card,
.session-details-card,
.subscription-card,
.quick-actions-card {
    padding: 20px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: #edeff5;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-strong, #7c3aed), var(--accent-soft, #f97316));
}

.progress-note {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #667085;
    font-size: 13px;
}

.live-banner,
.live-session-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    color: #ffffff;
    background: linear-gradient(135deg, #3b0764 0%, #7c3aed 45%, #f97316 100%);
}

.live-banner::before,
.live-session-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16), transparent 18%),
        radial-gradient(circle at 65% 90%, rgba(0, 0, 0, 0.18), transparent 26%);
    pointer-events: none;
}

.live-banner-content,
.live-session-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
}

.live-banner h2,
.live-banner p,
.live-session-card h2,
.live-session-card p {
    color: #ffffff;
}

.live-banner h2,
.live-session-card h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.live-badge,
.live-badge--accent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
}

.list-panel,
.table-panel {
    padding: 20px;
}

.song-list,
.activity-log,
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.song-item,
.activity-log-item,
.action-card {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 18px;
    padding: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.song-item:hover,
.activity-log-item:hover,
.action-card:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.18);
    box-shadow: 0 14px 26px rgba(16, 24, 40, 0.08);
}

.song-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.song-thumb,
.action-icon,
.transaction-icon,
.activity-log-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04));
    color: var(--color-primary, #7c3aed);
}

.song-title,
.transaction-details h5,
.action-card h5 {
    margin: 0;
    color: #101828;
    font-size: 15px;
    font-weight: 800;
}

.song-subtitle,
.transaction-details p,
.action-card p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
}

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

.song-card {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.song-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(16, 24, 40, 0.12);
}

.song-card-icon {
    width: 100%;
    min-height: 128px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.96), rgba(249, 115, 22, 0.92));
    color: #ffffff;
    font-size: 40px;
    margin-bottom: 14px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

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

.transaction-amount {
    font-weight: 800;
    color: #101828;
}

.transaction-amount.success {
    color: #16a34a;
}

.transaction-amount.error {
    color: #dc2626;
}

.table-panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-panel thead th {
    color: #667085;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 16px 8px;
    text-align: left;
}

.table-panel tbody tr {
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.06);
}

.table-panel tbody td {
    padding: 16px;
}

.table-panel tbody tr td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.table-panel tbody tr td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.table-panel tbody tr:hover {
    transform: translateY(-1px);
}

.header-filter {
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.06);
}

.empty-state {
    color: #667085;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #667085;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(124, 58, 237, 0.12);
    border-top-color: var(--color-primary, #7c3aed);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

    .panel-grid,
    .section-grid {
        grid-template-columns: 1fr;
    }
}

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

    .dashboard-main {
        padding: 18px;
    }

    .dashboard-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-toolbar-actions {
        margin-left: 0;
    }
}

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

    .panel-header,
    .card-header,
    .dashboard-toolbar,
    .live-banner-content,
    .live-session-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .metric-value,
    .stat-value {
        font-size: 28px;
    }

    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Session Details Card */
.session-details-card {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
}

.session-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1a1a2e, #2d3748);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.session-thumbnail-icon {
    font-size: 32px;
}

.session-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: var(--weight-bold);
}

.session-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.session-info p {
    margin: 0 0 12px 0;
    color: var(--color-gray-500);
    font-size: 14px;
}

.session-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.session-stat-label {
    font-size: 11px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.session-stat-value {
    font-size: 16px;
    font-weight: var(--weight-semibold);
    color: var(--color-dark);
}

.session-stat-value.earnings {
    color: var(--color-secondary);
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-gray-500);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: var(--space-lg);
}

.empty-state h4 {
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.empty-state p {
    margin: 0;
    font-size: var(--font-sm);
}

/* Loading Animation */
.loading {
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .session-stats {
        grid-template-columns: 1fr;
    }
    
    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .session-details-card {
        flex-direction: column;
        text-align: center;
    }
    
    .session-info {
        width: 100%;
    }
    
    .stat-card {
        padding: var(--space-md);
    }
    
    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: var(--space-md);
    }
}

/* Dark Mode (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    .live-session-card {
        background: linear-gradient(135deg, #0f0f1e 0%, #1a2332 100%);
    }
    
    .song-card {
        background: var(--color-dark-secondary);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .song-card-title {
        color: white;
    }
    
    .transaction-item {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .dashboard-header,
    .card-header-action,
    .btn {
        display: none !important;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
}

