:root {
    --primary: #1e3a5f;
    --secondary: #2563eb;
    --gold: #d4a017;
    --light: #f8fafc;
}

* {
    font-family: "Poppins", sans-serif;
}

body {
    background: #eef4fb;
    min-height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
}

/* PANEL KIRI */

.login-left {
    width: 60%;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);

    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    width: 110px;
    margin-bottom: 20px;
}

.app-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-desc {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
}

.stats {
    margin-top: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    opacity: 0.9;
}

/* PANEL KANAN */

.login-right {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    font-size: 14px;
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.login-title {
    font-size: 30px;
    font-weight: 700;
    color: #d64703;
}

.login-subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

.form-label {
    font-weight: 600;
}

.form-control {
    height: 50px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.15);
}

.btn-login {
    height: 55px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.footer-login {
    text-align: center;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 13px;
}

.version {
    color: #cbd5e1;
    margin-top: 15px;
}

@media (max-width: 991px) {
    .login-left {
        display: none;
    }
    .login-right {
        width: 100%;
    }
    body {
        overflow: auto;
    }
}

.login-left {
    position: relative;
    width: 60%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Gedung */
.login-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background:url('{{ asset("assets/gedung-brebes.jpg") }}'); */
    background-size: cover;
    background-position: center;
    animation: zoomGedung 20s infinite alternate ease-in-out;
    z-index: 1;
}

/* Overlay Biru */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88),
        rgba(37, 99, 235, 0.75)
    );
    z-index: 2;
}

/* Konten */
.content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 650px;
    padding: 40px;
}

.content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.content p {
    font-size: 20px;
    line-height: 1.8;
}

.content span {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.9;
}

.logo {
    width: 130px;
    margin-bottom: 25px;
}

@keyframes zoomGedung {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}
.content h1 {
    animation: fadeUp 1.5s ease;
}

.content p {
    animation: fadeUp 2s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 991px) {
    .login-left {
        display: none;
    }
    .login-right {
        width: 100%;
        padding: 20px;
    }
    .login-card {
        max-width: 500px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        overflow: auto;
    }
    .login-wrapper {
        display: block;
    }
    .login-right {
        width: 100%;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 30px 25px;
        border-radius: 20px;
    }
    .login-title {
        font-size: 28px;
    }
    .login-subtitle {
        font-size: 14px;
    }
    .form-control {
        height: 50px;
    }
    .btn-login {
        height: 50px;
    }
}

/* HP KECIL */
@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
    }
    .login-title {
        font-size: 24px;
    }
    .footer-login {
        font-size: 12px;
    }
}
.stats-mini {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.stats-mini div {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}
.login-card {
    background: rgba(254, 249, 237, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    body {
        background:
            linear-gradient(rgba(30, 58, 95, 0.85), rgba(37, 99, 235, 0.85)),
            url('{{ asset("assets/gedung-brebes.jpg") }}');

        background-size: cover;
        background-position: center;
    }
    .login-card {
        background: rgba(255, 255, 255, 0.95);

        backdrop-filter: blur(15px);
    }
}
