.yoz-profile-page {
    width: min(980px, calc(100% - 48px));
    margin: 36px auto 60px;
}

.yoz-profile-page-header {
    padding: 26px 28px;
    border: 1px solid rgba(200, 155, 60, 0.28);
    border-radius: 12px;
    background: linear-gradient(125deg, rgba(13, 29, 48, 0.96), rgba(8, 20, 34, 0.92));
}

.yoz-profile-page-header p,
.yoz-profile-card header p {
    margin: 0 0 7px;
    color: var(--yoz-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.yoz-profile-page-header h1,
.yoz-profile-card h2 {
    margin: 0;
    color: var(--yoz-text);
    font-family: 'Cinzel', serif;
}

.yoz-profile-page-header h1 { font-size: 28px; }
.yoz-profile-page-header span,
.yoz-profile-card header span { display: block; margin-top: 8px; color: var(--yoz-text-soft); font-size: 14px; }

.yoz-profile-flash {
    margin: 18px 0 0;
    padding: 12px 16px;
    border: 1px solid rgba(50, 201, 139, 0.45);
    border-radius: 8px;
    color: #d9f5e2;
    background: rgba(50, 201, 139, 0.10);
}

.yoz-profile-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.yoz-profile-card {
    padding: 24px;
    border: 1px solid rgba(103, 135, 169, 0.30);
    border-radius: 10px;
    background: rgba(13, 29, 48, 0.86);
}

.yoz-profile-card--security { border-color: rgba(200, 155, 60, 0.28); }
.yoz-profile-form { display: grid; gap: 12px; margin-top: 22px; }
.yoz-profile-form label { color: var(--yoz-text); font-size: 13px; font-weight: 700; }
.yoz-profile-form input,
.yoz-profile-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(103, 135, 169, 0.45);
    border-radius: 6px;
    color: var(--yoz-text);
    background: rgba(7, 19, 33, 0.78);
}
.yoz-profile-form select option { color: var(--yoz-text); background: var(--yoz-bg-light); }
.yoz-profile-form button {
    justify-self: start;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(200, 155, 60, 0.55);
    border-radius: 6px;
    color: #1a160b;
    background: var(--yoz-gold-light);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.yoz-profile-form .invalid-feedback,
.yoz-profile-form .form-error-message { color: #ff9aa4; font-size: 12px; }

@media (max-width: 720px) {
    .yoz-profile-page { width: min(100% - 28px, 980px); margin-top: 20px; }
    .yoz-profile-page-header,
    .yoz-profile-card { padding: 20px; }
    .yoz-profile-sections { grid-template-columns: 1fr; }
}
