﻿
* {
    box-sizing: border-box;
}

body.forgot-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #071b35, #123e68, #0b2949);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.forgot-wrapper {
    width: 100%;
    max-width: 480px;
}

.forgot-card {
    background: #fff;
    padding: 42px 38px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0,0,0,.30);
    position: relative;
    overflow: hidden;
}

    .forgot-card::before {
        content: "";
        height: 6px;
        background: linear-gradient(90deg, #f28c28, #ffb15c);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

.back-link {
    color: #52677e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.brand-logo {
    margin-top: 28px;
    font-size: 23px;
    font-weight: 800;
    color: #123b68;
    letter-spacing: 1px;
}

    .brand-logo span {
        color: #f28c28;
    }

.lock-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: #fff2e5;
    display: grid;
    place-items: center;
    font-size: 30px;
    margin: 28px 0 20px;
}

.forgot-card h2 {
    color: #153c63;
    font-size: 28px;
    font-weight: 750;
    margin-bottom: 10px;
}

.subtitle {
    color: #718096;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        color: #243b53;
        font-size: 13px;
        font-weight: 650;
        margin-bottom: 9px;
    }

.form-control {
    min-height: 49px;
    border: 1px solid #dce4ed;
    border-radius: 9px;
    padding: 12px 14px;
}

    .form-control:focus {
        border-color: #f28c28;
        box-shadow: 0 0 0 3px rgba(242,140,40,.13);
    }

.forgot-btn {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 14px;
    background: linear-gradient(135deg, #f28c28, #e87513);
    color: #fff;
    font-weight: 700;
    transition: .25s ease;
}

    .forgot-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(242,140,40,.28);
    }

    .forgot-btn:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

.security-note {
    background: #f4f7fb;
    padding: 13px;
    border-radius: 9px;
    margin-top: 24px;
    color: #61748a;
    font-size: 12px;
    text-align: center;
}

@media(max-width: 480px) {
    .forgot-card {
        padding: 35px 23px;
    }

        .forgot-card h2 {
            font-size: 24px;
        }
}

.password-field {
    position: relative;
}

    .password-field .form-control {
        padding-right: 65px;
    }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #e87513;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
