* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #222;
}


/* =========================================
   MAIN WRAPPER
========================================= */

.forgot-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
}


/* =========================================
   CARD
========================================= */

.forgot-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 25px 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    position: relative;
}


/* =========================================
   TOP AREA
========================================= */

.top-area {
    text-align: center;
    margin-bottom: 25px;
}


/* =========================================
   LOGO
========================================= */

.logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}


/* =========================================
   HEADING
========================================= */

h1 {
    margin: 5px 0;
    font-size: 26px;
}

.subtitle {
    margin: 5px 0 0;
    color: #777;
    font-size: 14px;
}


/* =========================================
   LABEL
========================================= */

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 7px;
}


/* =========================================
   INPUT
========================================= */

input {
    width: 100%;
    height: 48px;
    border: 1px solid #d5d9e0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: #2878ff;
}


/* =========================================
   COMMON BUTTON
========================================= */

button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #2878ff;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    opacity: 0.92;
}

button:disabled {
    background: #bfc5ce;
    cursor: not-allowed;
}


/* =========================================
   ERROR MESSAGE
========================================= */

.message {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.message.error {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #ffd0d0;
}


/* =========================================
   INFO TEXT
========================================= */

.info-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-text strong {
    color: #222;
}


/* =========================================
   RESET OTP FORM
========================================= */

.resend-form {
    margin-top: 5px;
}


/* =========================================
   RESET OTP BUTTON
========================================= */

.reset-otp-btn {
    width: 100%;
    height: 48px;

    margin-top: 20px;

    background: #555555;
    color: #ffffff;

    border: 0;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.reset-otp-btn:hover {
    opacity: 0.92;
}

.reset-otp-btn:disabled {
    background: #bfc5ce;
    color: #ffffff;
    cursor: not-allowed;
}


/* =========================================
   OTP TIMER
========================================= */

.otp-timer {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

#countdown {
    font-weight: 700;
    color: #2878ff;
}


/* =========================================
   BOTTOM LINKS
========================================= */

.bottom-links {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
}

.bottom-links a {
    color: #2878ff;
    text-decoration: none;
}

.bottom-links a:hover {
    text-decoration: underline;
}


/* =========================================
   COPYRIGHT
========================================= */

.copyright {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}


/* =========================================
   SUCCESS BOX
========================================= */

.success-box {
    text-align: center;
    padding: 10px 0 5px;
}

.success-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #e9f8ee;
    color: #20a050;
    font-size: 38px;
    line-height: 65px;
    margin: 0 auto 15px;
    font-weight: bold;
}

.success-box h2 {
    margin: 5px 0 10px;
    font-size: 23px;
}

.success-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;

    background: #2878ff;
    color: #ffffff;

    border-radius: 8px;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
}

.login-btn:hover {
    opacity: 0.92;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .forgot-wrapper {
        padding: 15px 10px;
    }

    .forgot-card {
        padding: 25px 18px 20px;
    }

    h1 {
        font-size: 23px;
    }
}