﻿.dashboard-shell {
    max-width: 1400px;
    min-height: 85vh;
    margin: 0 auto;
    padding: 55px 40px 80px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 50px;
}

.dashboard-sidebar {
    background: #15171a;
    border: 1px solid #292c31;
    padding: 25px 16px;
    display: flex;
    flex-direction: column;
    min-height: 620px;
}

.sidebar-heading {
    color: #858c95;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 14px 24px;
}

.dashboard-nav {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 15px 14px;
    margin-bottom: 5px;
    background: transparent;
    border: 1px solid transparent;
    color: #aeb5bf;
    text-decoration: none;
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.dashboard-nav:hover {
    color: white;
    background: #1d2025;
}

.dashboard-nav.active {
    background: #1c2934;
    border-left: 3px solid #438fc4;
    color: white;
}

.nav-symbol {
    color: #438fc4;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar-divider,
.dashboard-divider {
    height: 1px;
    background: #303236;
}

.sidebar-divider {
    margin: 20px 12px;
}

.sidebar-footer {
    margin-top: auto;
    padding: 35px 14px 10px;
}

.sidebar-footer p {
    color: #858c95;
    font-size: 11px;
    margin-top: 12px;
}

.dashboard-main {
    min-width: 0;
    padding: 12px 0;
}

.dashboard-eyebrow {
    color: #438fc4;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

.dashboard-panel h1 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -1.8px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.dashboard-subtitle {
    color: #a6adb6;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-divider {
    margin: 30px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-heading h2 {
    color: white;
    font-size: 20px;
}

.section-heading span {
    color: #858c95;
    font-size: 10px;
    letter-spacing: 2px;
}

.replay-card {
    background: #17191d;
    border: 1px solid #303236;
    overflow: hidden;
}

.replay-card-image {
    height: 265px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background:
        linear-gradient(0deg, rgba(10,12,15,.95), rgba(10,12,15,.05)),
        url("/assets/images/replay.jpg") center 55% / cover;
}

.product-category {
    color: #b6c5d1;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.replay-image-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: 2px;
}

.replay-card-body {
    padding: 28px;
}

.product-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.product-heading h2 {
    color: white;
    font-size: 24px;
}

.free-label {
    display: inline-block;
    border: 1px solid #438fc4;
    color: #83bce0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 10px;
}

.replay-card-body p {
    color: #b9bfc6;
    font-size: 14px;
    margin: 14px 0;
}

.product-platform {
    color: #858c95;
    font-size: 12px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.dashboard-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.dashboard-button.primary {
    background: #438fc4;
    border: 1px solid #438fc4;
    color: white;
}

.dashboard-button.primary:hover {
    background: #327aaa;
}

.dashboard-button.secondary {
    border: 1px solid #383d45;
    background: #191c21;
    color: #ffffff;
}

.dashboard-button.secondary:hover {
    background: #252a31;
}

.dashboard-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #303236;
    background: #15171a;
    padding: 25px;
    margin-top: 24px;
}

.dashboard-support h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
}

.dashboard-support p {
    color: #a6adb6;
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-support a {
    color: #83bce0;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.library-product {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #17191d;
    border: 1px solid #303236;
}

.library-product img {
    width: 160px;
    height: 110px;
    object-fit: cover;
}

.library-product h2 {
    color: white;
    font-size: 20px;
}

.library-product p {
    color: #a6adb6;
    font-size: 13px;
    margin: 10px 0;
}

.library-product .dashboard-button {
    margin-left: auto;
}

.settings-card {
    padding: 28px;
    background: #17191d;
    border: 1px solid #303236;
    margin-bottom: 18px;
}

.settings-card h2 {
    font-size: 17px;
    color: white;
    margin-bottom: 14px;
}

.settings-card p {
    color: #a6adb6;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.settings-card .dashboard-button {
    margin-top: 20px;
}

.dashboard-panel[hidden],
#account-content[hidden] {
    display: none !important;
}

.dashboard-shell .account-message:empty {
    display: none;
}

@media (max-width: 850px) {
    .dashboard-shell {
        padding: 25px 20px 50px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dashboard-sidebar {
        min-height: auto;
    }

    .sidebar-footer {
        display: none;
    }

    .dashboard-support,
    .library-product {
        flex-wrap: wrap;
    }

    .library-product .dashboard-button {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .replay-card-image {
        height: 200px;
        padding: 20px;
    }

    .replay-card-body {
        padding: 20px;
    }

    .product-actions .dashboard-button {
        width: 100%;
    }
}

