/* ================================
   FORGOT & RESET PASSWORD
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f8f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main Container */
.forgot-container {
    width: 100%;
    max-width: 430px;
}

/* Box */
.forgot-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    text-align: center;
}

/* Icon */
.forgot-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background: #e8f7ef;
    color: #0b8f45;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* Heading */
.forgot-box h2 {
    color: #123b28;
    margin-bottom: 10px;
    font-size: 25px;
}

/* Description */
.forgot-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Form */
.forgot-box form {
    text-align: left;
}

/* Labels */
.forgot-box label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

/* Inputs */
.forgot-box input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5ddd8;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    margin-bottom: 18px;
    transition: 0.3s;
}

.forgot-box input:focus {
    border-color: #0b8f45;
    box-shadow: 0 0 0 3px rgba(11, 143, 69, 0.10);
}

/* Button */
.forgot-box button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #0b8f45;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.forgot-box button:hover {
    background: #08783a;
    transform: translateY(-1px);
}

.forgot-box button:active {
    transform: translateY(0);
}

/* Message */
#forgotMsg,
#resetMsg {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
}

/* Back to Login */
.back-login {
    display: inline-block;
    margin-top: 20px;
    color: #0b8f45;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.back-login:hover {
    text-decoration: underline;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    padding: 5px !important;
    background: transparent !important;
    color: #555 !important;
    font-size: 18px !important;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 480px) {

    body {
        padding: 15px;
    }

    .forgot-box {
        padding: 28px 20px;
    }

    .forgot-box h2 {
        font-size: 22px;
    }

    .forgot-icon {
        width: 60px;
        height: 60px;
        font-size: 27px;
    }
}