/* ============================================================
   ПРОФИЛЬ / РЕГИСТРАЦИЯ — СТИЛИ
   ============================================================ */

.profile-widget {
    font-family: 'Nunito', sans-serif;
    color: var(--app-text, #3A0F1F);
    padding: 4px 16px 16px;
}

.profile-referral-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.profile-referral-card__icon {
    width: 40px;
    height: 40px;
}

.profile-referral-card__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.profile-referral-card__subtitle {
    font-size: 12px;
    color: var(--app-muted, #8C6B4F);
    margin: 2px 0 0;
}

.profile-referral-card__arrow {
    margin-left: auto;
    font-size: 18px;
    color: var(--app-muted, #8C6B4F);
}

.profile-registration-card {
    background: white;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 6px 16px rgba(74, 19, 39, 0.08);
}

.profile-registration-card__eyebrow {
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--app-burgundy, #6E1E3A);
    font-weight: 700;
    margin: 0 0 4px;
}

.profile-registration-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.profile-registration-card__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin: 0;
    max-width: 220px;
}

.profile-registration-card__percent {
    background: #F5E4B0;
    color: var(--app-burgundy, #6E1E3A);
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
}

.profile-tip-box {
    background: #FDEFC9;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.profile-tip-box__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    margin: 0 0 3px;
}

.profile-tip-box__text {
    font-size: 12px;
    color: var(--app-muted, #8C6B4F);
    margin: 0;
}

.profile-checklist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    background: #F7F5F0;
}

.profile-checklist-row.is-pending {
    background: white;
    border: 2px solid #F0B429;
    cursor: pointer;
}

.profile-checklist-row__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
}

.profile-checklist-row__icon.is-done { background: #63C25C; }
.profile-checklist-row__icon.is-pending-icon { background: #F0B429; }

.profile-checklist-row__label {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
}

.profile-checklist-row__chevron {
    color: var(--app-burgundy, #6E1E3A);
    font-size: 16px;
}

.profile-link-button {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    border: 2px solid var(--app-burgundy, #6E1E3A);
    background: #FDEFC9;
    color: var(--app-burgundy, #6E1E3A);
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
}

/* Небольшое модальное окно для ввода значения (дата рождения, Steam-логин, Trade URL) */
.profile-edit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 15, 31, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.profile-edit-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.profile-edit-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 88%;
    max-width: 320px;
}

.profile-edit-card__title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 10px;
}

.profile-edit-card__input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid #F5E4B0;
    font-size: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.profile-edit-card__buttons {
    display: flex;
    gap: 8px;
}

.profile-edit-card__save,
.profile-edit-card__cancel {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.profile-edit-card__save {
    background: var(--app-burgundy, #6E1E3A);
    color: white;
}

.profile-edit-card__cancel {
    background: #F5E4B0;
    color: var(--app-text, #3A0F1F);
}
