/* =========================================================
   TICL FORGOT PASSWORD PAGE CSS
   Depends on: auth-common.css
========================================================= */

/* =========================================================
   PAGE LAYOUT
========================================================= */

body {
    margin: 0;
    padding: 30px;
    font-family: Arial, sans-serif;
    background: #f6f8fa;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
}

/* =========================================================
   LANGUAGE SWITCHER (EN/SW/ZH)
========================================================= */

.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lang-switcher a {
    padding: 4px 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.lang-switcher a:hover {
    background: var(--secondary-hover);
    text-decoration: none;
}

/* =========================================================
   CARD
========================================================= */

.card {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    text-align: center;
}

/* =========================================================
   PAGE TITLE
========================================================= */

h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #2c3e50;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.small {
    margin-bottom: 18px;
    line-height: 1.6;
}

/* =========================================================
   FORM
========================================================= */

form {
    margin-top: 15px;
}

/* =========================================================
   EMAIL FIELD
========================================================= */

input[type="email"] {
    margin-bottom: 15px;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

button {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
}

button:hover {
    background: var(--secondary-hover);
}

/* =========================================================
   SUCCESS / ERROR MESSAGE
========================================================= */

.message {
    margin-bottom: 15px;
    color: #198754;
    font-weight: 600;
}

.error {
    margin-bottom: 15px;
    color: #dc3545;
    font-weight: 600;
}

/* =========================================================
   BACK TO LOGIN
========================================================= */

.small[href] {
    display: inline-block;
    margin-top: 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:768px) {

    body {
        padding: 20px;
    }

    .card {
        max-width: 100%;
        padding: 20px;
    }

    .lang-switcher {
        margin-top: 10px;
    }

}