.pagina-publica #btn-editeaza-profil {
    color: var(--spotivity-gold-light, #edca82);
    border-color: var(--spotivity-gold-border, rgba(216, 182, 106, .28));
}

.pagina-publica #profil-email-pending {
    color: var(--spotivity-gold-light, #edca82);
    background: rgba(216, 182, 106, .08);
    border: 1px solid var(--spotivity-gold-border, rgba(216, 182, 106, .28));
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.pagina-publica .profile-refresh-status {
    color: #f6b8aa;
    border: 1px solid rgba(246, 184, 170, .3);
    background: rgba(246, 184, 170, .055);
    border-radius: 12px;
    margin: 12px 0;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#modal-editare-profil { z-index: 10002; padding: 16px; box-sizing: border-box; }
#modal-editare-profil [hidden] { display: none !important; }
#modal-editare-profil .modal-continut {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overscroll-behavior: contain;
    padding: 30px;
}
#modal-editare-profil .titlu-modal { color: var(--spotivity-gold-light, #edca82); margin: 8px 30px 14px; }
#modal-editare-profil .buton-inchidere { color: var(--spotivity-gold-light, #edca82); }
#modal-editare-profil p { line-height: 1.5; }
#profil-edit-form { margin-top: 20px; }
#profil-edit-fields { display: grid; gap: 16px; }
#profil-edit-fields input { width: 100%; min-width: 0; box-sizing: border-box; }
#profil-edit-fields label { color: var(--spotivity-cream, #f7f3e8); }
#modal-editare-profil :is(.profil-edit-help, .profile-editor-hint) {
    margin-top: 4px;
    color: var(--spotivity-muted, #c9c0b2);
    font-size: 13px;
    line-height: 1.55;
}
#profil-edit-status { min-height: 1.5em; margin: 18px 0; color: var(--spotivity-gold-light, #edca82); font-size: 14px; overflow-wrap: anywhere; }
#profil-edit-status[data-kind="error"] { color: #f6b8aa; }
#profil-edit-status[data-kind="success"] { color: #d9e9bf; }
#profil-edit-review > :is(p, h3) { font-weight: 600; color: var(--spotivity-gold-light, #edca82); }
#profil-edit-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin: 16px 0;
    padding: 16px;
    border: 1px solid var(--spotivity-gold-border, rgba(216, 182, 106, .28));
    border-radius: 14px;
    background: rgba(216, 182, 106, .045);
}
#profil-edit-summary dt { font-size: 13px; color: var(--spotivity-muted, #c9c0b2); }
#profil-edit-summary dd { margin: 0 0 12px; line-height: 1.55; overflow-wrap: anywhere; }
#profil-edit-summary dd:last-child { margin-bottom: 0; }
#profil-edit-summary strong { color: var(--spotivity-cream, #f7f3e8); }
#profil-edit-summary .profil-edit-before { color: var(--spotivity-muted, #c9c0b2); }
#profil-edit-summary .profil-edit-review-note { color: var(--spotivity-gold-light, #edca82); font-size: 13px; }
#modal-editare-profil .profil-edit-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
#modal-editare-profil .profil-edit-actions button { margin: 0; min-height: 46px; padding: 12px 16px; border-radius: 12px; }
#modal-editare-profil #profil-edit-form button {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
}
#modal-editare-profil :is(#btn-profil-continua, #btn-profil-confirma):not(:disabled) {
    background: linear-gradient(135deg, #edca82, #cfaa58);
    border: 1px solid var(--spotivity-gold, #d8b66a);
    color: #20190f;
    opacity: 1;
    box-shadow: 0 4px 18px rgba(216, 182, 106, .12);
    transform: none;
    transition: none;
}
#modal-editare-profil :is(#btn-profil-continua, #btn-profil-confirma):not(:disabled):is(:hover, :focus-visible) {
    background: var(--spotivity-gold-light, #edca82);
    color: #20190f;
}
#modal-editare-profil button:disabled { cursor: wait; opacity: .55; }
#modal-editare-profil :focus-visible { outline: 2px solid var(--spotivity-gold-light, #edca82); outline-offset: 3px; }
.pagina-publica :is(#profil-nume, #profil-email, #profil-telefon) { overflow-wrap: anywhere; min-width: 0; }

@media (max-width: 480px) {
    #modal-editare-profil { padding: 12px; }
    #modal-editare-profil .modal-continut {
        padding: 22px 18px;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
    }
    #modal-editare-profil .titlu-modal { font-size: 22px; margin-top: 12px; }
    #modal-editare-profil .buton-inchidere { top: 14px; right: 17px; }
    #profil-edit-fields input { font-size: 16px; }
    #profil-edit-summary { padding: 13px; }
}
