/* Achievements list (inside Captain Statistics modal) */

.captain-stats-achievements {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.captain-stats-achievements-heading {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.achievement-item {
    background: rgba(6, 18, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    opacity: 0.72;
}

.achievement-item--unlocked {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.achievement-item__head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.achievement-item__icon {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1.2;
}

.achievement-item__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.achievement-item__desc {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: #b8cfe0;
    line-height: 1.4;
}

.achievement-item__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.achievement-item__fill {
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.75);
    min-width: 0;
    transition: width 0.3s ease;
}

.achievement-item__progress {
    margin-top: 4px;
    font-size: 0.68rem;
    color: #8aa8c8;
    text-align: right;
}

.achievements-empty {
    padding: 16px;
    font-size: 0.9rem;
    color: #a8c4e0;
    text-align: center;
}
