@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* -------------------- General Page -------------------- */
* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    font-size: 0.8rem;
}

body {
    font-family: "Poppins", sans-serif;
}

/* =====================
   LOGIN PAGE WRAPPER
===================== */
.login-page {
    display: flex;
    justify-content: center;
    /* horizontal center */
    align-items: center;
    /* vertical center */
    width: 100vw;
    height: 100vh;
    background: #f0eff5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   LOGIN FORM
===================== */
.login-form {
    display: flex;
    flex-direction: column;
    /* stack elements vertically */
    align-items: stretch;
    /* inputs/buttons fill width */
    max-width: 300px;
    width: 100%;
    padding: 2.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2),
        0 5px 5px rgba(0, 0, 0, 0.24);
    box-sizing: border-box;
    border-radius: 6px;
}

/* =====================
   FORM MESSAGES
===================== */
.form-auth_message {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.form-auth_message .alert {
    display: block;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    color: #e74c3c;
    /* red for error */
    font-weight: 500;
    font-size: 1rem;
}

/* =====================
   FORM INPUTS
===================== */
.form-auth_input {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    gap: 0.5rem;
}

.form-auth_input .uil {
    font-size: 2.2rem;
    margin: 0;
    height: 100%;
    color: #555;
}

.form-auth_input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #333;
}

/* =====================
   REMEMBER ME
===================== */
.login-form .remember_me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 1.6rem;
    color: #6b6a6e;
}

.remember_chkBox {
    width: 15px;
    height: 15px;
    cursor: pointer;
    border: 2px solid #555;
    border-radius: 4px;
    appearance: none;
    background-color: #f2f2f2;
    transition: background-color 0.3s, border-color 0.3s;
}

.remember_chkBox:checked {
    background-color: #6b6a6e;
    border-color: #431e8d;
}

.remember_chkBox:checked::after {
    content: '\2713';
    display: block;
    text-align: center;
    color: white;
    font-size: 10px;
    line-height: 10px;
}

/* =====================
   BUTTON
===================== */
.login-form button {
    width: 100%;
    padding: 15px;
    background: #6b6a6e;
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.login-form button:hover {
    background: #56555e;
}

/* =====================
   GENERAL TEXT
===================== */
.text-success {
    color: #27ae60;
    font-size: 1rem;
    font-weight: 500;
}

.text-danger {
    color: #e74c3c;
    font-size: 1rem;
    font-weight: 500;
}