/*
 * Old inline <style> blocks of the settings pages (copied unchanged, scoped where the old block was global):
 * user.settings.subscription_price, user.settings.blocked_users, user.settings.user_levels_badges.
 */

/* user.settings.subscription_price */
.settings-subscription-fee-form input[type="number"]::-webkit-outer-spin-button,
.settings-subscription-fee-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.settings-subscription-fee-form input[type="number"] {
    -moz-appearance: textfield;
}
.subscription-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}
.subscription-error.show {
    display: block;
}

/* user.settings.blocked_users */
.blocked-users-avatar-link,
.blocked-users-name-link {
    display: contents;
}

/* user.settings.user_levels_badges */
.ulb-overall-wrap { margin: 8px 0 10px; }
.ulb-overall-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}
.ulb-overall-track {
    width: 100%;
    height: 6px;
    background: #e8e8e8;
    border-radius: 99px;
    overflow: hidden;
}
.ulb-overall-fill {
    height: 6px;
    border-radius: 99px;
    background: #50BCDD;
    transition: width .4s ease;
}
.ulb-overall-fill--done { background: #50BCDD; }
.ulb-progress-wrap {
    width: 100%;
    height: 5px;
    background: #e8e8e8;
    border-radius: 99px;
    overflow: hidden;
    margin: 4px 0 2px;
}
.ulb-progress-fill {
    height: 5px;
    border-radius: 99px;
    background: #d1d5db;
    transition: width .4s ease;
}
.ulb-progress-fill--done { background: #50BCDD; }
.user-levels-badges-metric--met   .user-levels-badges-metric-value { color: #50BCDD; font-weight: 700; }
.user-levels-badges-metric--unmet .user-levels-badges-metric-value { color: #ef4444; }
.ulb-hint { font-size: 10.5px; color: #aaa; margin-top: 1px; display: block; }
.ulb-hint--done { color: #50BCDD; }
.user-levels-badges-card--qualified {
    background: #fffbeb !important;
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
}
.ulb-qualified-banner {
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.35);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11.5px;
    color: #92400e;
    font-weight: 600;
    margin: 6px 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.user-levels-badges-card--locked {
    opacity: .5;
    filter: grayscale(55%);
}
