﻿/*dashboard styling*/
.dashboard-page {
    --page-background: linear-gradient( rgba(0,0,0,0.25), rgba(0,0,0,0.25) ), url('/images/lofi-background.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.dashboard-layout {
    padding-top: 70px;
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 100vh;
    color: white;
}

.sidebar {
    padding: 2rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .sidebar-buttons button,
    .user-setting-button {
        background: rgba(255,255,255,0.18);
        border: 1px solid rgba(255,255,255,0.15);
        backdrop-filter: blur(12px);
        color: white;
        padding: 1rem;
        border-radius: 16px;
        transition: all 0.25s ease;
        margin: 5px;
    }

        .sidebar-buttons button:hover,
        .user-setting-button:hover {
            background: rgba(255,255,255,0.28);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

.content-panel {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-content: flex-start;
}

.user-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    color: white;
    padding: 20px;
    margin: 3px;
}

.project-card,
.playlist-card,
.music-card,
.content-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    color: white;
    margin: 20px;
    padding: 20px;
}

.error-message {
    color: #b04b4b;
    background: #ffe3e3;
    padding: 1rem;
    border-radius: 12px;
}

.user-card p {
    font-size: 0.85rem;
}

.stats-card {

    margin-top: 1rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
}