* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
}

.forgot-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.forgot-card {
    width: 100%;
    max-width: 470px;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

.back-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #00004d;
    font-size: 14px;
    margin-bottom: 20px;
}

.back-login:hover {
    color: #0d6efd;
}

.forgot-logo {
    text-align: center;
    margin-bottom: 15px;
}

.forgot-logo img {
    max-width: 190px;
    height: auto;
}

.forgot-icon {
    width: 65px;
    height: 65px;
    margin: 5px auto 18px;
    border-radius: 50%;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 28px;
}

.forgot-card h1 {
    text-align: center;
    color: #00004d;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.forgot-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.input-group-custom {
    position: relative;
    margin-bottom: 18px;
}

.input-group-custom i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 17px;
    z-index: 2;
}

.input-group-custom input {
    width: 100%;
    height: 52px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 15px 0 45px;
    outline: none;
    font-size: 15px;
}

.input-group-custom input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.reset-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #00004d;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.reset-btn:hover {
    background: #0d6efd;
}

.reset-btn i {
    margin-right: 6px;
}

.signup-text {
    text-align: center;
    margin-top: 22px;
    color: #666;
    font-size: 14px;
}

.signup-text a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.signup-text a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {

    .forgot-page {
        padding: 15px;
    }

    .forgot-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .forgot-card h1 {
        font-size: 24px;
    }

}
body {
        min-height: 100vh;
        background: #f5f7fb;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .password-card {
        width: 100%;
        max-width: 450px;
        background: #fff;
        border-radius: 16px;
        padding: 35px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .logo {
        max-width: 180px;
        max-height: 70px;
        object-fit: contain;
        display: block;
        margin: 0 auto 20px;
    }

    .title {
        color: #00004d;
        font-weight: 700;
        text-align: center;
        margin-bottom: 8px;
    }

    .subtitle {
        color: #6c757d;
        text-align: center;
        margin-bottom: 25px;
        font-size: 14px;
    }

    .form-label {
        font-weight: 600;
        color: #212529;
    }

    .form-control {
        min-height: 48px;
        border-radius: 8px;
    }

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
    }

    .password-wrapper {
        position: relative;
    }

    .password-wrapper .form-control {
        padding-right: 45px;
    }

    .toggle-password {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: #6c757d;
        cursor: pointer;
    }

    .btn-reset {
        width: 100%;
        min-height: 48px;
        border-radius: 8px;
        font-weight: 600;
        margin-top: 10px;
    }

    .back-login {
        display: block;
        text-align: center;
        margin-top: 20px;
        text-decoration: none;
        color: #0d6efd;
        font-weight: 500;
    }

    .error-message {
        color: #dc3545;
        font-size: 13px;
        margin-top: 5px;
    }