/* RankPanel had no styles loaded (it reused ProfilePanel styles).
   This file makes RankPanel self-contained. */

.rank-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    pointer-events: all;
    padding-bottom: 48px;
    flex-shrink: 0;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #121214;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    flex-shrink: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranks-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: #18181b;
    border: 1px solid #27272a;
}

.rank-item.current {
    border-color: #3b82f6;
    background-color: #1a2744;
}

.rank-item.locked {
    opacity: 0.35;
}

.rank-icon {
    font-size: 24px;
    line-height: 28px;
    flex-shrink: 0;
    width: 32px;
    height: 28px;
    text-align: center;
}

.rank-name {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
}

.rank-req {
    font-size: 13px;
    font-weight: 700;
    font-family: monospace;
}
.rank-item.locked .rank-req {
    color: #fbbf24;
}
.rank-item.reached .rank-req,
.rank-item.current .rank-req {
    color: #22c55e;
}
