/* ===== Dashboard Container ===== */
.dashboard-container {
    padding: 2rem;
    min-height: 100vh;
    background: linear-gradient(145deg, #343a40, #2e3338);
    color: #e9ecef;
    font-family: 'Poppins', sans-serif;
}

/* ===== Cards ===== */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
    }

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .card:hover::before {
        opacity: 1;
    }

/* ===== Titles ===== */
.card-title {
    font-weight: 600;
    color: #d1d1d1;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #343a40;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

/* ===== Section Titles ===== */
.section-title {
    color: #ced4da;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
    border-left: 4px solid #6c757d;
    padding-left: 0.7rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

/* ===== Icons ===== */
.fa {
    font-size: 2rem;
    color: #adb5bd;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

/* ===== Tables ===== */
table {
    color: #f1f3f5;
    background: rgba(255, 255, 255, 0.04);
    border-collapse: collapse;
    border-radius: 0.5rem;
    overflow: hidden;
}

    table th {
        background: rgba(255, 255, 255, 0.08);
        color: #dee2e6;
        text-transform: uppercase;
        font-weight: 500;
    }

    table tr:hover {
        background: rgba(255, 255, 255, 0.07);
        transition: background 0.3s ease;
    }

/* ===== Chart Container ===== */
.chart-container {
    position: relative;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 1.5rem;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.04);
}

/* ===== Accent Border Animation ===== */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: move-border 3s linear infinite;
}

@keyframes move-border {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}
