/* =========================================
   DASHBOARD
========================================= */

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 25px 40px;
}

.dashboard > h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.dashboard > p {
    color: #94a3b8;
    font-size: 17px;
    margin-bottom: 40px;
}


/* =========================================
   CARDS
========================================= */

.cards {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.card {
    display: flex;
    flex-direction: column;

    background: #0f172a;

    border: 1px solid #1e293b;

    border-radius: 16px;

    padding: 24px;

    min-height: 210px;

    text-align: left;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.card:hover {
    transform: translateY(-2px);

    border-color: #334155;

    background: #111c30;
}

.card h2 {
    font-size: 20px;

    margin-bottom: 12px;
}

.card p {
    color: #94a3b8;

    line-height: 1.6;

    margin-bottom: 20px;
}

.card button {
    margin-top: auto;

    width: 100%;

    padding: 11px 15px;

    border: 1px solid #334155;

    border-radius: 9px;

    background: #172033;

    color: #fff;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.card button:hover {
    background: #1e293b;

    border-color: #475569;
}


/* =========================================
   CREATORZY
========================================= */

.creators-section {
    max-width: 1200px;

    margin: 70px auto 40px;

    padding: 0;

    scroll-margin-top: 100px;
}

.creators-header {
    margin-bottom: 22px;
}

.section-label {
    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #64748b;

    margin-bottom: 8px;
}

.creators-header h2 {
    margin: 0;

    font-size: 30px;
}

.creators-header p {
    margin-top: 8px;

    color: #94a3b8;

    font-size: 15px;
}


/* =========================================
   CREATOR TABS
========================================= */

.creator-tabs {
    display: flex;

    align-items: center;

    gap: 8px;

    border-bottom: 1px solid #1e293b;

    overflow-x: auto;

    scrollbar-width: thin;
}

.creator-tab {
    position: relative;

    flex: 0 0 auto;

    padding: 14px 18px;

    border: 0;

    border-bottom: 2px solid transparent;

    margin-bottom: -1px;

    background: transparent;

    color: #94a3b8;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.creator-tab:hover {
    color: #e2e8f0;

    background: rgba(255,255,255,.025);
}

.creator-tab.active {
    color: #ffffff;

    border-bottom-color: #3b82f6;
}


/* =========================================
   CREATOR CONTENT
========================================= */

.creator-content-area {
    margin-top: 24px;
}

.creator-panel {
    display: none;

    background: #0f172a;

    border: 1px solid #1e293b;

    border-radius: 14px;

    padding: 28px;

    min-height: 180px;
}

.creator-panel.active {
    display: block;
}

.creator-panel-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;
}

.creator-panel-label {
    display: block;

    color: #64748b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

    margin-bottom: 5px;
}

.creator-panel h3 {
    margin: 0;

    font-size: 22px;
}

.creator-panel > p {
    max-width: 700px;

    color: #94a3b8;

    line-height: 1.7;

    margin: 10px 0 22px;
}


/* =========================================
   CREATOR ACTION
========================================= */

.creator-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.creator-action {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 17px;

    border: 1px solid #334155;

    border-radius: 8px;

    background: #172033;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.creator-action:hover {
    background: #1e293b;

    border-color: #475569;
}


/* =========================================
   DASHBOARD INFO
========================================= */

.dashboard-info {
    max-width: 1200px;

    margin: 30px auto 0;

    padding: 30px;

    background: #0b1220;

    border: 1px solid #1e293b;

    border-radius: 16px;
}

.dashboard-info h2 {
    font-size: 24px;

    margin-bottom: 10px;
}

.dashboard-info p {
    color: #94a3b8;

    line-height: 1.7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 950px) {

    .cards {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .dashboard {
        padding: 45px 18px 30px;
    }

    .dashboard > h1 {
        font-size: 32px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .creators-section {
        margin: 50px 0 30px;
    }

    .creators-header h2 {
        font-size: 26px;
    }

    .creator-tabs {
        gap: 2px;
    }

    .creator-tab {
        padding: 12px 13px;

        font-size: 13px;
    }

    .creator-panel {
        padding: 22px;
    }

}
