/* =====================================================
PASSWORT VERGESSEN – JUSTLYKKE
===================================================== */

* {
    box-sizing: border-box;
}

.password-page {
    min-height: 100vh;
    padding: 48px 18px;
    background: #FAF5F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    color: #3B4335;
}

.password-card {
    width: min(100%, 560px);
    background: #FFFFFF;
    border: 1px solid #EEE7E2;
    border-radius: 30px;
    box-shadow: 0 18px 50px rgba(70, 50, 40, 0.08);
    padding: 38px 42px 42px;
    text-align: center;
}

.password-logo-link {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 20px;
}

.password-logo {
    width: 180px;
    height: auto;
    display: block;
}

.password-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #EEF3E7;
    color: #6E7B5B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.password-card h1 {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.15;
    color: #3B4335;
}

.password-subtitle {
    margin: 0 auto 28px;
    max-width: 430px;
    color: #6D625A;
    font-size: 16px;
    line-height: 1.6;
}

.password-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.password-form label {
    font-size: 15px;
    font-weight: 600;
    color: #5F665A;
}

.password-form input {
    width: 100%;
    height: 58px;
    border: 1px solid #DDD6CE;
    border-radius: 16px;
    background: #FFFFFF;
    padding: 0 18px;
    font-size: 17px;
    color: #444;
    outline: none;
}

.password-form input:focus {
    border-color: #B5BBA8;
    box-shadow: 0 0 0 4px rgba(181, 187, 168, 0.18);
}

.password-form button,
.password-button-link {
    width: 100%;
    min-height: 58px;
    margin-top: 12px;
    border: none;
    border-radius: 18px;
    background: #7F8D73;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    transition: .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-form button:hover,
.password-button-link:hover {
    background: #6F7C65;
}

.password-back-link {
    display: inline-block;
    margin-top: 22px;
    color: #8F8071;
    text-decoration: none;
    font-weight: 600;
}

.password-back-link:hover {
    opacity: .8;
}

.password-message {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

.password-message p {
    margin: 0;
}

.password-message p + p {
    margin-top: 8px;
}

.password-error {
    background: #FFF1F1;
    border: 1px solid #F1B2B2;
    color: #B84242;
    font-weight: 600;
}

.password-success {
    background: #EEF3E7;
    border: 1px solid #DCE2D3;
    color: #4F6146;
    font-weight: 600;
}

@media (max-width: 600px) {
    .password-page {
        align-items: flex-start;
        padding: 24px 12px;
    }

    .password-card {
        padding: 28px 20px 30px;
        border-radius: 24px;
    }

    .password-logo {
        width: 145px;
    }

    .password-card h1 {
        font-size: 30px;
    }

    .password-subtitle {
        font-size: 15px;
    }

    .password-form input,
    .password-form button,
    .password-button-link {
        min-height: 54px;
        height: 54px;
        font-size: 16px;
    }
}
