/* =====================================================
   OPRET PROFIL
   ===================================================== */


/* =====================================================
   MENU
   ===================================================== */

.menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 100;

    display: none;

    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.menu.open {
    display: block;
}


/* =====================================================
   HERO
   ===================================================== */

.profile-hero {
    padding: 110px 24px 85px;
    background: var(--color-background);
}

.profile-hero-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.profile-label {
    margin-bottom: 14px;

    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.profile-hero h1 {
    max-width: 800px;
    margin: 0 0 24px;

    font-size: 58px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -2px;
}

.profile-hero p {
    max-width: 650px;
    margin: 0;

    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.7;
}


/* =====================================================
   FORMULAR
   ===================================================== */

.profile-section {
    padding: 85px 24px 120px;
    background: var(--color-white);
}

.profile-inner {
    max-width: 900px;
    margin: 0 auto;
}

.profile-heading {
    display: flex;
    align-items: flex-start;
    gap: 28px;

    margin-bottom: 38px;
}

.profile-number {
    flex: 0 0 auto;

    padding-top: 7px;

    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: 1px;
}

.profile-heading h2 {
    margin: 0 0 10px;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.profile-heading p {
    margin: 0;

    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.6;
}


/* =====================================================
   FELTER
   ===================================================== */

.profile-form {
    margin-left: 57px;
    max-width: 760px;
}

.profile-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    margin-bottom: 28px;
}

.profile-field {
    margin-bottom: 28px;
}

.profile-field-group .profile-field {
    margin-bottom: 0;
}

.profile-field label {
    display: block;

    margin-bottom: 10px;

    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
}

.profile-field input {
    box-sizing: border-box;

    width: 100%;
    height: 58px;

    padding: 0 18px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    background: var(--color-background);
    color: var(--color-text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.profile-field input:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
}


/* =====================================================
   KNAP
   ===================================================== */

.profile-submit {
    padding-top: 12px;
}

.profile-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    height: 58px;

    padding: 0 28px;

    border: 0;
    border-radius: var(--radius);

    background: var(--color-primary);
    color: var(--color-white);

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: opacity .2s ease;
}

.profile-submit-button:hover {
    opacity: .88;
}


/* =====================================================
   FEJLBESKED
   ===================================================== */

.profile-error {
    margin-top: 8px;

    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.4;
}


/* =====================================================
   MOBIL
   ===================================================== */

@media (max-width: 700px) {

    .menu {
        top: 74px;
    }

    .profile-hero {
        padding: 75px 20px 60px;
    }

    .profile-hero h1 {
        font-size: 42px;
        letter-spacing: -1.2px;
    }

    .profile-hero p {
        font-size: 16px;
    }

    .profile-section {
        padding: 60px 20px 90px;
    }

    .profile-heading {
        gap: 18px;
    }

    .profile-heading h2 {
        font-size: 26px;
    }

    .profile-form {
        margin-left: 0;
    }

    .profile-field-group {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .profile-field-group .profile-field {
        margin-bottom: 28px;
    }

    .profile-number {
        padding-top: 5px;
    }

}

.profile-confirm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);

    align-items: center;
    justify-content: center;

    padding: 24px;
}

.profile-confirm-overlay.open {
    display: flex;
}

.profile-confirm-modal {
    width: 100%;
    max-width: 520px;

    background: #ffffff;
    padding: 48px;

    text-align: center;
}

.profile-confirm-modal h2 {
    margin: 0 0 16px;
}

.profile-confirm-modal p {
    margin: 0 0 32px;
    line-height: 1.6;
}

.profile-confirm-button {
    border: none;
    cursor: pointer;
    padding: 14px 28px;
}
