/* =========================================================
   TPS ONLINE - LOGIN
   Corporate Professional Theme
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #eef3f9;
    color: #12264a;
}


/* =========================================================
   HALAMAN LOGIN
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;

    display: flex;

    position: relative;

    overflow: hidden;

    background: #f7faff;
}

/* =========================================================
   BAGIAN KIRI
========================================================= */

.login-left {
    width: 55%;
    min-height: 100vh;

    padding: 60px 80px;

    color: white;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 40, 82, 0.96) 0%,
            rgba(5, 54, 105, 0.88) 45%,
            rgba(18, 91, 160, 0.68) 75%,
            rgba(80, 150, 210, 0.35) 100%
        ),
        url("../assets/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;

    overflow: hidden;

    z-index: 1;
}

/* =========================================================
   BRAND KIRI
========================================================= */

.brand-title {
    font-size: 70px;
    font-weight: 700;

    letter-spacing: 1px;
}

.brand-subtitle {
    margin-top: 5px;

    font-size: 17px;

    opacity: 0.85;
}


/* =========================================================
   KONTEN KIRI
========================================================= */

.left-content {
    max-width: 650px;

    margin-bottom: 70px;
}


.left-content h1 {
    font-size: 38px;

    line-height: 1.2;

    margin-bottom: 20px;
}


.left-content p {
    max-width: 600px;

    font-size: 18px;

    line-height: 1.7;

    opacity: 0.92;
}


/* =========================================================
   FITUR
========================================================= */

.features {
    margin-top: 45px;

    display: flex;
    flex-direction: column;

    gap: 25px;
}


.feature {
    display: flex;

    align-items: center;

    gap: 18px;
}


.feature-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;
}


.feature strong {
    display: block;

    font-size: 17px;
}


.feature small {
    display: block;

    margin-top: 5px;

    font-size: 13px;

    opacity: 0.78;
}


/* =========================================================
   BAGIAN KANAN
========================================================= */

.login-right {
    width: 45%;
    min-height: 100vh;

    padding: 50px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(196, 225, 250, 0.65),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #eaf5ff 0%,
            #f7faff 45%,
            #ffffff 100%
        );

    z-index: 3;
}

/* =========================================================
   BAHASA
========================================================= */

.language {
    position: absolute;

    top: 30px;
    right: 40px;

    display: flex;

    gap: 10px;

    color: #174c8c;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;
    max-width: 510px;

    padding: 50px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(20, 70, 120, 0.14);

    text-align: center;

    position: relative;

    z-index: 10;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 100%;

    text-align: center;

    margin-bottom: 10px;
}


.logo img {
    width: 260px;
    max-width: 100%;

    height: auto;

    display: inline-block;
}


/* =========================================================
   GARIS BAWAH LOGO
========================================================= */

.login-line {
    width: 55px;
    height: 4px;

    background: #1976d2;

    margin: 18px auto 25px;

    border-radius: 5px;
}


/* =========================================================
   JUDUL LOGIN
========================================================= */

.login-card h2 {
    font-size: 28px;

    margin-bottom: 12px;

    color: #12264a;
}


/* =========================================================
   DESKRIPSI LOGIN
========================================================= */

.login-description {
    color: #6b7a90;

    line-height: 1.6;

    font-size: 14px;

    margin-bottom: 30px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    text-align: left;

    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #344a67;
}


/* =========================================================
   INPUT
========================================================= */

.form-group input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #d6e0ec;

    border-radius: 9px;

    background: white;

    color: #12264a;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition: all 0.2s ease;
}


.form-group input::placeholder {
    color: #9aa8b8;
}


.form-group input:focus {
    border-color: #1976d2;

    box-shadow:
        0 0 0 3px rgba(25, 118, 210, 0.10);
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 5px 0 25px;

    font-size: 14px;
}


.remember {
    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #5f7085;
}


.remember input {
    cursor: pointer;
}


.login-options a {
    color: #1976d2;

    text-decoration: none;

    font-weight: 600;
}


.login-options a:hover {
    text-decoration: underline;
}


/* =========================================================
   BUTTON LOGIN
========================================================= */

.login-button {
    width: 100%;

    height: 54px;

    border: none;

    border-radius: 9px;

    background: #1268c4;

    color: white;

    font-family: inherit;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;
}


.login-button:hover {
    background: #0e55a0;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(18, 104, 196, 0.20);
}


.login-button:active {
    transform: translateY(0);
}


/* =========================================================
   SECURITY INFO
========================================================= */

.security-info {
    margin-top: 30px;

    padding: 18px;

    background: #eef6ff;

    border-radius: 10px;

    color: #1760a8;
}


.security-info strong {
    font-size: 14px;
}


.security-info p {
    margin-top: 6px;

    font-size: 12px;

    line-height: 1.5;

    color: #60758f;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    margin-top: 25px;

    font-size: 12px;

    color: #8998aa;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .login-left {
        width: 50%;

        padding: 50px;
    }

    .login-right {
        width: 50%;

        padding: 35px;
    }

    .left-content h1 {
        font-size: 32px;
    }

    .left-content p {
        font-size: 16px;
    }

    .login-card {
        padding: 40px;
    }
}


/* =========================================================
   MOBILE / TABLET KECIL
========================================================= */

@media (max-width: 900px) {

    .login-page {
        flex-direction: column;
    }


    .login-left {
        width: 100%;

        min-height: auto;

        padding: 45px 40px;

        background-position: center;
    }


    .login-right {
        width: 100%;

        min-height: auto;

        padding: 50px 25px;
    }


    .left-content {
        margin-top: 60px;

        margin-bottom: 30px;
    }


    .login-card {
        max-width: 550px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .login-left {
        padding: 30px;
    }


    .brand-title {
        font-size: 30px;
    }


    .brand-subtitle {
        font-size: 14px;
    }


    .left-content {
        margin-top: 45px;
    }


    .left-content h1 {
        font-size: 28px;
    }


    .left-content p {
        font-size: 15px;
    }


    .features {
        margin-top: 30px;

        gap: 18px;
    }


    .feature-icon {
        width: 44px;
        height: 44px;

        font-size: 18px;
    }


    .feature strong {
        font-size: 15px;
    }


    .feature small {
        font-size: 12px;
    }


    .login-right {
        padding: 35px 18px;
    }


    .login-card {
        padding: 30px 22px;

        border-radius: 14px;
    }


    .logo img {
        width: 230px;
    }


    .login-card h2 {
        font-size: 24px;
    }


    .login-options {
        font-size: 12px;
    }
}

/* =========================================================
   LOGIN ERROR
========================================================= */

.login-error {
    margin-bottom: 20px;

    padding: 12px 15px;

    background: #fff1f1;

    border: 1px solid #ffd2d2;

    border-radius: 8px;

    color: #c62828;

    font-size: 13px;

    text-align: left;
}