﻿.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0,0,0,0.6);
    border-radius: 20px;
}

.header-icon {
    width: 30px;
    height: 30px;
}

.page-header h1 {
    font-size: 24px;
    margin: 0;
    color: ghostwhite;
}


.btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    background: #1a1a1a;
    color: ghostwhite;
}
    .btn-secondary:hover {
        background: black;
    }

/* ------------------------------------------------------------------------------------------------------ */

.binders-page {
    max-width: 90vw;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.binders-page-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

    .binders-page-header img {
        width: 28px;
        height: 28px;
    }

    .binders-page-header h1 {
        font-size: 22px;
        font-weight: 500;
        color: ghostwhite;
        margin: 0;
    }

.binders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.binders-full {
    grid-column: 1 / -1;
}

.binders-card {
    background: rgba(15, 15, 25, 0.7);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

    .binders-card:hover {
        border-color: rgba(255,255,255,0.18);
    }

.binders-full {
    cursor: default;
}

.binders-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.binders-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.binders-card-titles {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.binders-card-title {
    font-size: 14px;
    font-weight: 500;
    color: ghostwhite;
}

.binders-card-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.binders-badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.binders-badge-purple {
    background: rgba(99,102,241,0.2);
    color: #a5b4fc;
}

.binders-badge-teal {
    background: rgba(16,185,129,0.2);
    color: #6ee7b7;
}

.binders-badge-amber {
    background: rgba(234,179,8,0.2);
    color: #fde68a;
}

.binders-badge-coral {
    background: rgba(239,68,68,0.2);
    color: #fca5a5;
}

.binders-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

    .binders-stat-row:last-of-type {
        border-bottom: none;
    }

.binders-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.binders-stat-val {
    font-size: 13px;
    font-weight: 500;
    color: ghostwhite;
}

.binders-gain {
    color: #6ee7b7;
}

.binders-loss {
    color: #fca5a5;
}

.binders-section-label {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 10px 0 6px;
}

.binders-top5-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: ghostwhite;
    padding: 4px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.05);
}

    .binders-top5-row:last-child {
        border-bottom: none;
    }

.binders-ms-item {
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    cursor: pointer;
}

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

.binders-ms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.binders-ms-name {
    font-size: 13px;
    font-weight: 500;
    color: ghostwhite;
}

.binders-ms-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.binders-awards-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

    .binders-awards-strip::-webkit-scrollbar {
        height: 3px;
    }

    .binders-awards-strip::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.15);
        border-radius: 2px;
    }

.binders-award-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.binders-award-emoji {
    font-size: 18px;
}

.binders-award-name {
    font-size: 12px;
    font-weight: 500;
    color: ghostwhite;
    white-space: nowrap;
}

.binders-award-date {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.binders-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: opacity 0.15s;
}

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

    .binders-list-item:hover {
        opacity: 0.8;
    }

.binders-list-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.binders-list-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.binders-list-name {
    font-size: 13px;
    font-weight: 500;
    color: ghostwhite;
}

.binders-list-count {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.binders-empty {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 1.5rem 0;
}

.binders-auth-prompt {
    text-align: center;
    padding: 3rem;
    color: ghostwhite;
}

@media (max-width: 600px) {
    .binders-grid {
        grid-template-columns: 1fr;
    }

    .binders-full {
        grid-column: 1;
    }
}

.binders-ms-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.binders-ms-progress {
    flex: 1;
    min-width: 0;
}