
/* =========================================
   MOTTECK - FORGOT PASSWORD
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
}


/* =========================================
   MAIN CONTAINER
   ========================================= */

.forgot-container {
    width: 100%;
    max-width: 480px;
    padding: 25px;
}


/* =========================================
   CARD
   ========================================= */

.forgot-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 38px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
}


/* =========================================
   LOGO
   ========================================= */

.logo {
    display: inline-block;
    text-decoration: none;
    color: #111827;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 28px;
}


/* =========================================
   ICON
   ========================================= */

.icon-circle {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f1f3f5;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111827;
    font-size: 26px;
}


/* =========================================
   TITLE
   ========================================= */

.forgot-card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}


/* =========================================
   DESCRIPTION
   ========================================= */

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 27px;
}


/* =========================================
   FORM
   ========================================= */

.forgot-form {
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}


/* =========================================
   INPUT
   ========================================= */

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;
    font-size: 15px;

    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 50px;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    padding: 0 15px 0 43px;

    font-size: 14px;
    color: #111827;

    background: #ffffff;

    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

.input-wrapper input:focus {
    border-color: #111827;

    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}


/* =========================================
   RESET BUTTON
   ========================================= */

.reset-btn {
    width: 100%;
    height: 50px;

    border: none;
    border-radius: 9px;

    background: #111827;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: background 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.reset-btn:hover {
    background: #000000;

    transform: translateY(-1px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.reset-btn:active {
    transform: translateY(0);
}

.reset-btn i {
    font-size: 14px;
}


/* =========================================
   FLASH MESSAGES
   ========================================= */

.messages {
    margin-bottom: 20px;
    text-align: left;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;
}

.alert.success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert i {
    margin-top: 2px;
}


/* =========================================
   BACK TO LOGIN
   ========================================= */

.back-login {
    margin-top: 24px;
}

.back-login a {
    text-decoration: none;

    color: #374151;

    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    transition: color 0.2s ease;
}

.back-login a:hover {
    color: #000000;
}

.back-login i {
    font-size: 12px;
}


/* =========================================
   SECURITY NOTE
   ========================================= */

.security-note {
    margin-top: 27px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: #9ca3af;

    font-size: 12px;
}

.security-note i {
    font-size: 12px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 500px) {

    body {
        align-items: flex-start;
    }

    .forgot-container {
        padding: 15px;
        margin-top: 30px;
    }

    .forgot-card {
        padding: 32px 24px;
        border-radius: 13px;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 23px;
        margin-bottom: 17px;
    }

    .forgot-card h1 {
        font-size: 24px;
    }

    .description {
        font-size: 13px;
    }

    .input-wrapper input {
        height: 48px;
    }

    .reset-btn {
        height: 48px;
    }
}
