
/* =========================================================
   LOGIN PAGE
   DYS FORTEX LTD
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #172033;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(14, 65, 135, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(107, 114, 128, 0.08),
            transparent 30%
        ),
        #f5f7fa;
}


/* =========================================================
   PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;

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

    padding: 32px 20px;
}


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

.login-card {
    width: 100%;
    max-width: 460px;

    background: #ffffff;

    border: 1px solid rgba(15, 47, 87, 0.08);
    border-radius: 22px;

    box-shadow:
        0 24px 70px rgba(15, 31, 52, 0.10),
        0 4px 16px rgba(15, 31, 52, 0.04);

    overflow: hidden;
}


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

.login-brand {
    text-align: center;

    padding: 38px 40px 26px;

    border-bottom: 1px solid #edf0f4;
}

.login-brand__logo {
    display: block;

    width: auto;
    max-width: 250px;
    max-height: 105px;

    margin: 0 auto 12px;

    object-fit: contain;
}

.login-brand__text {
    margin: 0;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.04em;

    color: #8a929f;
}


/* =========================================================
   CONTENT
   ========================================================= */

.login-content {
    padding: 32px 40px 36px;
}


/* =========================================================
   HEADING
   ========================================================= */

.login-heading {
    margin-bottom: 28px;
}

.login-heading h1 {
    margin: 0 0 7px;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.03em;

    color: #0d2f57;
}

.login-heading p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #818894;
}


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

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 600;

    color: #485467;
}

.login-input {
    position: relative;

    display: flex;
    align-items: center;
}

.login-input > i {
    position: absolute;

    left: 16px;

    font-size: 14px;

    color: #9098a5;

    pointer-events: none;
}

.login-input input {
    width: 100%;
    height: 52px;

    padding: 0 16px 0 46px;

    border: 1px solid #dce1e7;
    border-radius: 11px;

    outline: none;

    background: #ffffff;

    font-size: 14px;
    font-weight: 400;

    color: #172033;

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

.login-input input::placeholder {
    color: #a8afb9;
}

.login-input input:hover {
    border-color: #bec6d1;
}

.login-input input:focus {
    border-color: #174d8c;

    box-shadow:
        0 0 0 4px rgba(23, 77, 140, 0.08);

    background: #ffffff;
}

.login-input:focus-within > i {
    color: #174d8c;
}


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

.login-button {
    width: 100%;
    height: 52px;

    margin-top: 5px;

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

    gap: 10px;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #0d2f57 0%,
            #114d8f 100%
        );

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(13, 47, 87, 0.18);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            135deg,
            #0a294d 0%,
            #0f437c 100%
        );

    box-shadow:
        0 11px 22px rgba(13, 47, 87, 0.23);
}

.login-button:active {
    transform: translateY(0);
}

.login-button i {
    font-size: 12px;

    transition: transform 0.18s ease;
}

.login-button:hover i {
    transform: translateX(3px);
}


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

.login-alert {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 0 0 22px;
    padding: 13px 15px;

    border: 1px solid #f1c9cf;
    border-radius: 10px;

    background: #fff5f6;

    color: #a82f3d;

    font-size: 13px;
    line-height: 1.5;
}

.login-alert i {
    margin-top: 3px;

    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
    padding: 18px 25px;

    border-top: 1px solid #edf0f4;

    background: #fafbfc;

    text-align: center;

    font-size: 12px;
    font-weight: 500;

    color: #9aa1ab;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .login-page {
        padding: 20px 15px;
    }

    .login-card {
        border-radius: 18px;
    }

    .login-brand {
        padding: 30px 25px 22px;
    }

    .login-brand__logo {
        max-width: 210px;
        max-height: 90px;
    }

    .login-content {
        padding: 27px 25px 30px;
    }

    .login-heading {
        margin-bottom: 24px;
    }

    .login-heading h1 {
        font-size: 23px;
    }

}
