/* ForgotPassword1 + ResetPassword1 — login1.css alapján */

.forgot-password1-section,
.reset-password1-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 60px 20px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* Dekoratív elemek */
.forgot-password1-deco-left,
.reset-password1-deco-left {
    position: absolute;
    left: -176px;
    bottom: -60px;
    width: 455px;
    height: 609px;
    transform: rotate(90deg);
    pointer-events: none;
    opacity: 0.55;
}

.forgot-password1-deco-right,
.reset-password1-deco-right {
    position: absolute;
    right: -176px;
    top: -60px;
    width: 455px;
    height: 609px;
    transform: rotate(90deg);
    pointer-events: none;
    opacity: 0.55;
}

.forgot-password1-deco-left img,
.forgot-password1-deco-right img,
.reset-password1-deco-left img,
.reset-password1-deco-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Konténer */
.forgot-password1-container,
.reset-password1-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

/* Cím */
.forgot-password1-title,
.reset-password1-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-align: center;
}

.forgot-password1-subtitle,
.reset-password1-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 28px;
}

/* Mezők */
.forgot-password1-field,
.reset-password1-field {
    margin-bottom: 18px;
}

.forgot-password1-field label,
.reset-password1-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.forgot-password1-field input,
.reset-password1-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s;
    outline: none;
}

.forgot-password1-field input:focus,
.reset-password1-field input:focus {
    border-color: #009aff;
    background: #fff;
}

/* Gomb */
.forgot-password1-btn-primary,
.reset-password1-btn-primary {
    display: block;
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(65.4deg, #005f9d 20.979%, #009aff 127.15%);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    box-sizing: border-box;
    transition: opacity 0.2s;
}

.forgot-password1-btn-primary:hover,
.reset-password1-btn-primary:hover {
    opacity: 0.9;
}

/* Vissza link */
.forgot-password1-btn-back,
.reset-password1-btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 40px;
    background: #fff;
    color: #005f9d;
    border: 2px solid #005f9d;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.forgot-password1-btn-back:hover,
.reset-password1-btn-back:hover {
    background: #005f9d;
    color: #fff;
    text-decoration: none;
}

/* Elválasztó */
.forgot-password1-divider,
.reset-password1-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 22px 0;
}

/* Hibaüzenet */
.forgot-password1-error,
.reset-password1-error {
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.forgot-password1-field-error,
.reset-password1-field-error {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
}

/* Sikeres üzenet */
.forgot-password1-success,
.reset-password1-success {
    background: #f0fff4;
    border: 1px solid #b2dfdb;
    color: #1a7a4a;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Reszponzivitás */
@media (max-width: 576px) {
    .forgot-password1-deco-left,
    .forgot-password1-deco-right,
    .reset-password1-deco-left,
    .reset-password1-deco-right {
        display: none;
    }
}
