﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI",sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f8fd;
}

/* wrapper */

.forgot-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* card */

.forgot-card {
    width: 380px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
}

    .forgot-card h2 {
        color: #1e3a8a;
        margin-bottom: 10px;
    }

    .forgot-card p {
        font-size: 14px;
        color: #555;
        margin-bottom: 25px;
    }

/* input */

.input-box {
    display: flex;
    align-items: center;
    border: 1px solid #dbe3ff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

    .input-box i {
        color: #2563eb;
        margin-right: 8px;
    }

    .input-box input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 14px;
    }

/* button */

button {
    width: 100%;
    height: 45px;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    button:hover {
        background: #1e40af;
    }

/* message */

.message {
    margin-top: 15px;
    font-size: 14px;
    color: green;
}

.error {
    color: red;
}

/* ======================
        Responsive
====================== */

/* Tablet */
@media (max-width: 768px) {

    .forgot-card {
        width: 90%;
        padding: 30px;
    }

        .forgot-card h2 {
            font-size: 22px;
        }
}

/* Mobile */
@media (max-width: 480px) {

    body {
        padding: 20px;
    }

    .forgot-card {
        width: 100%;
        padding: 25px;
        border-radius: 12px;
    }

        .forgot-card h2 {
            font-size: 20px;
        }

        .forgot-card p {
            font-size: 13px;
        }

    .input-box {
        padding: 8px;
    }

        .input-box input {
            font-size: 13px;
        }

    button {
        height: 42px;
        font-size: 14px;
    }

    .message {
        font-size: 13px;
    }
}