/* =====================================
   GLOBAL
===================================== */

:root {
    --primary: #0866d9;
    --primary-dark: #063c83;
    --navy: #082e65;
    --green: #80bd35;
    --text: #18375f;
    --muted: #7185a2;
    --border: #d7e2f0;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    color: var(--text);
}


/* =====================================
   BACKGROUND
===================================== */

.login-page {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;

    background-color: #153c69;

    background-image:
        linear-gradient(
            100deg,
            rgba(5, 31, 67, 0.35),
            rgba(8, 53, 105, 0.12)
        ),
        url("../back.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
}

.background-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 67, 0.30) 0%,
            rgba(6, 48, 95, 0.12) 45%,
            rgba(7, 39, 79, 0.28) 100%
        );
}

.login-container {
    position: relative;
    z-index: 2;

    padding: 40px 6%;
}


/* =====================================
   COMPANY INFORMATION
===================================== */

.company-info {
    color: #fff;
    padding-right: 50px;
}

.company-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.company-brand span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.company-description {
    margin-top: 80px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;

    font-size: 20px;
}

.green-line {
    width: 30px;
    height: 4px;

    display: inline-block;

    background-color: var(--green);
    border-radius: 5px;
}

.company-description h1 {
    max-width: 520px;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.12;

    font-weight: 800;
    letter-spacing: -1.5px;
}

.company-description h1 span {
    display: block;
}

.description-text {
    margin-top: 22px;

    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}


/* =====================================
   COMPANY FEATURES
===================================== */

.company-features {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 100px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-right: 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item i {
    font-size: 27px;
}

.feature-item span {
    font-size: 12px;
    line-height: 1.5;
}


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

.login-card {
    position: relative;

    width: 100%;

    padding: 44px 40px 28px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;

    box-shadow:
        0 25px 65px rgba(0, 23, 58, 0.24),
        0 5px 15px rgba(0, 23, 58, 0.08);

    overflow: hidden;
}

/* Aksen biru-hijau */

.card-accent {
    position: absolute;
    top: 0;
    left: 0;

    width: 120px;
    height: 8px;

    background: linear-gradient(
        90deg,
        var(--primary-dark) 0%,
        var(--primary) 55%,
        var(--green) 100%
    );

    border-radius: 0 0 10px 0;
}


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

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 800;

    color: var(--navy);

    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    line-height: 1.7;

    color: var(--muted);

    margin-bottom: 0;
}


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

.form-group-custom {
    position: relative;
    margin-bottom: 18px;
}

.custom-input {
    width: 100%;
    height: 57px;

    padding: 12px 45px 12px 58px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background-color: #fff;

    color: var(--text);
    font-size: 15px;

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

.custom-input::placeholder {
    color: #8091aa;
}

.custom-input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(8, 102, 217, 0.10);

    outline: none;
}

.input-icon {
    position: absolute;

    top: 50%;
    left: 20px;

    transform: translateY(-50%);

    color: #526b8c;
    font-size: 20px;

    z-index: 3;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 15px;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #526b8c;
    font-size: 18px;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--primary);
}


/* =====================================
   LOGIN OPTIONS
===================================== */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    margin-top: 22px;
    margin-bottom: 28px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;

    margin-top: 0;

    border-color: #aabbd0;

    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    color: #344e70;
    font-size: 13px;

    cursor: pointer;
}

.forgot-password {
    color: var(--primary);

    font-size: 13px;
    text-decoration: none;

    white-space: nowrap;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


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

.btn-login {
    min-height: 55px;

    border: none;
    border-radius: 12px;

    background: linear-gradient(
        110deg,
        #0756c6,
        #087bf1
    );

    color: #fff;

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

    box-shadow: 0 8px 18px rgba(8, 102, 217, 0.18);

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

.btn-login:hover {
    color: #fff;

    filter: brightness(1.06);

    transform: translateY(-2px);

    box-shadow: 0 12px 24px rgba(8, 102, 217, 0.26);
}

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


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

.login-footer {
    margin-top: 32px;
    padding-top: 23px;

    border-top: 1px solid #e6edf5;

    text-align: center;

    color: #69809f;
    font-size: 13px;
}


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

.mobile-brand {
    display: none;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 991.98px) {

    .login-container {
        padding: 35px 5%;
    }

    .company-info {
        display: none;
    }

    .login-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .mobile-brand {
        display: flex;

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

        gap: 12px;

        margin-bottom: 30px;
    }

    .mobile-brand img {
        width: 55px;
        height: 55px;

        object-fit: contain;
    }

    .mobile-brand h6 {
        margin: 0;

        color: var(--navy);
        font-size: 13px;
        font-weight: 800;
    }

    .mobile-brand small {
        color: #7083a0;
        font-size: 11px;
        letter-spacing: 1px;
    }

}


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

@media (max-width: 575.98px) {

    .login-page {
        background-position: center center;
    }

    .background-overlay {
        background: linear-gradient(
            180deg,
            rgba(5, 31, 67, 0.35),
            rgba(5, 31, 67, 0.78)
        );
    }

    .login-container {
        padding: 24px 18px;

        display: flex;
        align-items: center;
    }

    .login-card {
        padding: 34px 23px 24px;

        border-radius: 20px;

        box-shadow:
            0 20px 45px rgba(0, 17, 44, 0.30);
    }

    .login-header {
        margin-bottom: 27px;
    }

    .login-header h2 {
        font-size: 25px;
    }

    .login-header p {
        font-size: 13px;
    }

    .custom-input {
        height: 54px;
        font-size: 14px;
    }

    .login-options {
        margin-top: 18px;
        margin-bottom: 24px;
    }

    .form-check-label,
    .forgot-password {
        font-size: 12px;
    }

    .btn-login {
        min-height: 53px;
        font-size: 15px;
    }

    .login-footer {
        margin-top: 26px;
        padding-top: 20px;
    }

}


/* =====================================
   SMALL PHONE
===================================== */

@media (max-width: 360px) {

    .login-container {
        padding: 18px 12px;
    }

    .login-card {
        padding: 30px 17px 22px;
    }

    .mobile-brand img {
        width: 45px;
        height: 45px;
    }

    .login-header h2 {
        font-size: 23px;
    }

    .form-check-label,
    .forgot-password {
        font-size: 11px;
    }

}
