
/* =========================================================
   LP3I COLLEGE SURABAYA
   PREMIUM LOGIN PAGE
   CLEAN TRANSPARENT VERSION
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #14213d;
    --blue: #365b96;
    --gold: #d4af65;
    --gold-light: #f5dfaa;
    --white: #ffffff;
    --text: #243047;
    --muted: #64748b;
    --radius: 20px;

    /* TRANSPARANSI LOGIN */
    --login-opacity: 0.60;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* =========================================================
   BODY & BACKGROUND
   GIF TANPA OVERLAY GELAP
========================================================= */

body {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);

    background-color: #10182b;

    /* BACKGROUND GIF ASLI */
    background-image: url("images/bg4.gif");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* =========================================================
   LOGIN CONTAINER
   PUTIH TRANSPARAN TANPA FRAME ABU-ABU
========================================================= */

.login-container {
    position: relative;

    width: min(510px, 100%);
    max-width: 95vw;

    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);

    margin: 0;

    padding: 24px 28px 20px;

    color: #333;
    text-align: center;

    /* PUTIH TRANSPARAN 60% */
    background: rgba(255, 255, 255, var(--login-opacity)) !important;
    background-color: rgba(255, 255, 255, var(--login-opacity)) !important;

    /* TANPA BLUR */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* HILANGKAN FRAME */
    border: none !important;
    outline: none !important;
    border-top: none !important;

    border-radius: 20px;

    /* SHADOW HALUS */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    overflow: visible;
}

/* =========================================================
   HEADER LOGO
========================================================= */

.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;
    gap: 12px;

    width: 100%;
    margin: 0 auto 25px;
}

.logo-header img {
    display: block;

    flex-shrink: 0;

    width: auto;
    height: auto;

    object-fit: contain;
    object-position: center;

    max-width: 100%;
}

/* LOGO LP3I */

.logo-header .logo-lp3i {
    width: auto;
    height: 45px;
    max-width: 40px;
}

/* LOGO SURABAYA */

.logo-header .logo-surabaya {
    width: auto;
    height: 30px;
    max-width: 80px;
}

/* LOGO KERJA */

.logo-header .logo-kerja {
    width: auto;
    height: 42px;
    max-width: 105px;
}

/* =========================================================
   SOCIAL LOGIN LOGO
========================================================= */

.social-login1 {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    width: 100%;
    margin: 0 auto 18px;

    flex-wrap: nowrap;
}

.social-login1 img {
    display: block;

    width: auto !important;
    height: 40px !important;

    max-width: 110px !important;
    max-height: 40px !important;

    object-fit: contain;
    object-position: center;

    flex: 0 0 auto;

    background: transparent;

    border: none !important;
    border-radius: 0;

    box-shadow: none !important;

    padding: 0;
    margin: 0;

    transition: transform 0.25s ease;
}

.social-login1 img:hover {
    transform: translateY(-2px);
}

/* =========================================================
   HEADING
========================================================= */

.login-container h2 {
    text-align: center;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.5px;

    color: var(--navy);

    margin-bottom: 18px;
}

/* =========================================================
   INFORMATION / PARAGRAPH
========================================================= */

.login-container p {
    text-align: center;

    font-size: 13px;
    line-height: 1.7;

    color: var(--muted);

    margin-bottom: 12px;
}

/* =========================================================
   FORM
========================================================= */

.login-container form {
    width: 100%;
}

/* =========================================================
   INPUT & SELECT
========================================================= */

.login-container input[type="text"],
.login-container input[type="password"],
.login-container input[type="email"],
.login-container input[type="number"],
.login-container select {
    display: block;

    width: 100%;
    height: 43px;

    padding: 0 14px;
    margin-bottom: 12px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    color: var(--text);

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #dbe2ed;
    border-radius: 11px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

/* PLACEHOLDER */

.login-container input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* FOCUS */

.login-container input:focus,
.login-container select:focus {
    background: #ffffff;

    border-color: var(--gold);

    box-shadow:
        0 0 0 4px rgba(212, 175, 101, 0.13);
}

/* =========================================================
   BUTTON CONTAINER
========================================================= */

.button-container {
    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: 20px;
}

/* =========================================================
   ALL BUTTONS
========================================================= */

.button-container .button {
    flex: 1 1 0;
    min-width: 0;

    height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.2px;

    text-align: center;
    text-decoration: none !important;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

/* MULAI */

.button-container input[type="submit"] {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #4169e1,
        #6845b8
    );

    box-shadow:
        0 7px 16px rgba(65, 105, 225, 0.22);
}

/* BATAL */

.button-container input[type="reset"] {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #64748b,
        #475569
    );

    box-shadow:
        0 7px 16px rgba(71, 85, 105, 0.18);
}

/* KEMBALI */

.button-container a.button {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #f59e0b,
        #ea580c
    );

    box-shadow:
        0 7px 16px rgba(234, 88, 12, 0.22);
}

/* HOVER */

.button-container .button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* ACTIVE */

.button-container .button:active {
    transform: translateY(0);
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social-container {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    margin-top: 25px;
}

.social-container img {
    width: 34px;
    height: 34px;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.social-container img:hover {
    transform: translateY(-3px) scale(1.08);

    filter:
        drop-shadow(0 4px 5px rgba(0, 0, 0, 0.15));
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 16px;

    text-align: center;

    font-size: 12px;
    line-height: 1.8;

    color: #64748b;
}

footer a {
    color: #294a83;

    font-weight: 600;

    text-decoration: none;
}

footer a:hover {
    color: #a77b32;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    body {
        padding: 12px;
        background-attachment: scroll;
    }

    .login-container {
        width: 100%;
        max-width: 470px;

        padding: 24px 22px 20px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    body {
        padding: 8px;
    }

    .login-container {
        width: 100%;
        max-width: 450px;

        padding: 22px 18px 18px;

        max-height: calc(100dvh - 16px);

        border-radius: 17px;
    }

    .logo-header {
        gap: 9px;
        margin-bottom: 20px;
    }

    .logo-header .logo-lp3i {
        height: 39px;
        max-width: 34px;
    }

    .logo-header .logo-surabaya {
        height: 25px;
        max-width: 68px;
    }

    .logo-header .logo-kerja {
        height: 36px;
        max-width: 88px;
    }

    .social-login1 {
        gap: 10px;
        margin-bottom: 18px;
    }

    .social-login1 img {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 90px !important;
    }

    .login-container h2 {
        font-size: 21px;
        margin-bottom: 16px;
    }

    .login-container p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container input[type="email"],
    .login-container input[type="number"],
    .login-container select {
        height: 42px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .button-container {
        gap: 6px;
        margin-top: 16px;
    }

    .button-container .button {
        height: 42px;
        padding: 0 5px;
        font-size: 10px;
    }

    footer {
        font-size: 11px;
        margin-top: 12px;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .login-container {
        padding: 20px 15px 16px;
    }

    .logo-header {
        gap: 7px;
    }

    .logo-header .logo-lp3i {
        height: 35px;
        max-width: 30px;
    }

    .logo-header .logo-surabaya {
        height: 23px;
        max-width: 60px;
    }

    .logo-header .logo-kerja {
        height: 32px;
        max-width: 78px;
    }

    .social-login1 {
        gap: 8px;
    }

    .social-login1 img {
        max-width: 82px !important;
    }

    .button-container {
        gap: 5px;
    }

    .button-container .button {
        font-size: 10px;
    }

}

/* =========================================================
   HP LANDSCAPE / TINGGI LAYAR PENDEK
========================================================= */

@media (max-height: 600px) {

    body {
        padding: 5px;
    }

    .login-container {
        padding: 12px 20px;

        max-height: calc(100dvh - 10px);
    }

    .logo-header {
        margin-bottom: 8px;
    }

    .social-login1 {
        margin-bottom: 8px;
    }

    .social-login1 img {
        height: 27px !important;
        max-height: 27px !important;
    }

    .login-container h2 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .login-container p {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container input[type="email"],
    .login-container input[type="number"],
    .login-container select {
        height: 36px;
        margin-bottom: 8px;
    }

    .button-container {
        margin-top: 10px;
    }

    .button-container .button {
        height: 37px;
    }

    footer {
        margin-top: 8px;
        font-size: 10px;
    }

}

/* =========================================================
   DESKTOP / LAPTOP
========================================================= */

@media (min-width: 769px) {

    body {
        padding: 12px;
    }

    .login-container {
        width: 540px;
        max-width: 95vw;

        padding: 35px 35px 28px;
    }

    .logo-header {
        margin-bottom: 25px;
        gap: 12px;
    }

    .social-login1 {
        gap: 18px;
        margin-bottom: 22px;
    }

    .social-login1 img {
        height: 45px !important;
        max-height: 45px !important;
        max-width: 125px !important;
    }

    .login-container h2 {
        font-size: 28px;
        margin-bottom: 22px;
    }

    .login-container p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container input[type="email"],
    .login-container input[type="number"],
    .login-container select {
        height: 46px;
        font-size: 14px;
        margin-bottom: 14px;
    }

    .button-container {
        margin-top: 22px;
        gap: 12px;
    }

    .button-container .button {
        height: 48px;
        font-size: 13px;
    }

    footer {
        margin-top: 18px;
        font-size: 13px;
    }

}

/* =========================================================
   DESKTOP HEIGHT PENDEK
========================================================= */

@media (min-width: 769px) and (max-height: 800px) {

    .login-container {
        padding: 25px 30px 20px;
    }

    .logo-header {
        margin-bottom: 18px;
    }

    .social-login1 {
        margin-bottom: 14px;
    }

    .social-login1 img {
        height: 38px !important;
        max-height: 38px !important;
    }

    .login-container h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .login-container p {
        margin-bottom: 12px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container input[type="email"],
    .login-container input[type="number"],
    .login-container select {
        height: 42px;
        margin-bottom: 10px;
    }

    .button-container {
        margin-top: 15px;
    }

    footer {
        margin-top: 12px;
    }

}

/* =========================================================
   FINAL LOGIN TRANSPARENCY
========================================================= */

.login-container {
    background: rgba(255, 255, 255, 0.60) !important;
    background-color: rgba(255, 255, 255, 0.60) !important;

    border: none !important;
    outline: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
