/* =========================================================
   LOGIN BOSEYO
   ========================================================= */

* {
    box-sizing: border-box;
}

body.login-page {
    margin: 0;
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #f8fafc 50%,
            #eef4ff 100%
        );

    color: #172033;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.login-container {

    width: 100%;
    max-width: 430px;

    margin: auto;
}


/* =========================================================
   CARD
   ========================================================= */

.login-card {

    background: #ffffff;

    border-radius: 22px;

    padding: 38px 34px;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.10);

    border: 1px solid #e5e7eb;
}


/* =========================================================
   LOGO
   ========================================================= */

.login-logo {

    width: 68px;
    height: 68px;

    margin: 0 auto 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #0066ff,
            #0050d5
        );

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    box-shadow:
        0 10px 25px rgba(0, 102, 255, 0.25);
}


.login-logo span {
    font-size: 30px;
}


/* =========================================================
   HEADER
   ========================================================= */

.login-header {
    text-align: center;

    margin-bottom: 30px;
}


.login-header h1 {

    margin: 0 0 8px;

    font-size: 27px;

    font-weight: 700;

    color: #172033;
}


.login-header p {

    margin: 0;

    color: #8a94a6;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.login-form {
    width: 100%;
}


.login-group {

    margin-bottom: 20px;
}


.login-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 600;

    color: #374151;
}


.login-input-wrapper {

    position: relative;
}


.login-input {

    width: 100%;

    height: 48px;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    background: #f8fafc;

    padding: 0 15px;

    font-size: 14px;

    color: #172033;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}


.login-input:focus {

    background: #ffffff;

    border-color: #0066ff;

    box-shadow:
        0 0 0 3px rgba(0, 102, 255, 0.10);
}


.login-input::placeholder {

    color: #b1b8c5;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-wrapper {
    position: relative;
}


.password-wrapper .login-input {

    padding-right: 50px;
}


.password-toggle {

    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    cursor: pointer;

    color: #8b95a7;

    font-size: 18px;
}


/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.login-options {

    display: flex;

    justify-content: flex-end;

    margin-top: -8px;

    margin-bottom: 22px;
}


.login-options a {

    color: #005bd8;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}


.login-options a:hover {

    text-decoration: underline;
}


/* =========================================================
   BUTTON
   ========================================================= */

.login-button {

    width: 100%;

    height: 48px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #0066ff,
            #0053d6
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(0, 102, 255, 0.22);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.login-button:hover {

    transform: translateY(-1px);

    box-shadow:
        0 11px 24px rgba(0, 102, 255, 0.28);
}


.login-button:active {

    transform: translateY(0);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.login-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 27px 0;

    color: #c1c7d0;

    font-size: 11px;

    text-transform: uppercase;
}


.login-divider::before,
.login-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #edf0f4;
}


/* =========================================================
   REGISTER
   ========================================================= */

.login-register {

    text-align: center;

    font-size: 13px;

    color: #7b8494;
}


.login-register a {

    color: #005bd8;

    font-weight: 700;

    text-decoration: none;
}


.login-register a:hover {

    text-decoration: underline;
}


/* =========================================================
   ALERT
   ========================================================= */

.login-alert {

    padding: 12px 14px;

    border-radius: 9px;

    margin-bottom: 20px;

    font-size: 13px;

    line-height: 1.5;
}


.login-alert.error {

    background: #fff1f2;

    color: #be123c;

    border: 1px solid #fecdd3;
}


.login-alert.success {

    background: #ecfdf5;

    color: #047857;

    border: 1px solid #a7f3d0;
}


/* =========================================================
   BRAND
   ========================================================= */

.login-brand {

    text-align: center;

    margin-top: 20px;

    color: #9aa3b2;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {

    body.login-page {

        padding: 15px;

    }

    .login-card {

        padding: 30px 22px;

        border-radius: 18px;

    }

    .login-logo {

        width: 60px;
        height: 60px;

        font-size: 26px;

    }

    .login-header h1 {

        font-size: 24px;

    }

}