/* ===== LOGIN PAGE — login.css ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    background: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

/* ---- Panel Kiri: Form ---- */
.login-panel {
    width: 420px;
    min-width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 44px;
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.055);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-right: 1px solid rgba(255,255,255,0.09);
    box-sizing: border-box;
}
.login-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(37,99,235,0.16) 0%, rgba(15,23,42,0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 40px;
}
.login-logo img {
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
}
.login-logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}
.login-logo-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin: 2px 0 0;
}

.login-heading { margin-bottom: 30px; }
.login-heading h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px;
}
.login-heading p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.lf-group { margin-bottom: 18px; }
.lf-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    margin-bottom: 7px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.lf-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border .2s, background .2s, box-shadow .2s;
    box-sizing: border-box;
}
.lf-group input::placeholder { color: rgba(255,255,255,0.28); }
.lf-group input:focus {
    border-color: rgba(99,179,237,0.65);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 0 0 3px rgba(99,179,237,0.13);
}

.lf-btn {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(37,99,235,0.38);
    box-sizing: border-box;
}
.lf-btn:hover  { opacity: .9; transform: translateY(-1px); box-shadow: 0 7px 24px rgba(37,99,235,0.46); }
.lf-btn:active { transform: translateY(0); }

.lf-error {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    background: rgba(239,68,68,0.14);
    border: 1px solid rgba(239,68,68,0.32);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    line-height: 1.8;
}
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 6px;
    padding: 0;
    display: block;
    font-family: inherit;
    transition: color .2s;
}
.theme-toggle-btn:hover { color: rgba(255,255,255,0.6); }

/* ---- Panel Kanan: Carousel ---- */
.login-carousel-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.bg-default {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #0891b2 100%);
}
.bg-default::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.07) 0%, transparent 70%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.17;
    pointer-events: none;
}
.blob-1 { width:550px;height:550px;background:#3b82f6;top:-130px;right:-90px; }
.blob-2 { width:400px;height:400px;background:#06b6d4;bottom:-70px;left:8%; }
.blob-3 { width:280px;height:280px;background:#8b5cf6;top:38%;right:12%; }

.carousel-slides { position:absolute;inset:0; }
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width:100%;height:100%;object-fit:cover; }
.carousel-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.12) 50%, transparent 100%);
}

.carousel-caption {
    position: relative;
    z-index: 5;
    padding: 32px 40px;
    width: 100%;
    box-sizing: border-box;
}
.carousel-caption h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.carousel-caption p {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    margin: 0 0 16px;
    line-height: 1.65;
    max-width: 520px;
}

.carousel-dots { display:flex;gap:7px; }
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.32);
    cursor: pointer;
    transition: background .3s, transform .3s, width .3s;
    border: none; padding: 0;
}
.carousel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
    transform: none;
}

.login-notices {
    position: absolute;
    top: 20px; right: 20px; left: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}
.login-notice-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.55;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    gap: 9px;
    align-items: flex-start;
    box-shadow: 0 2px 14px rgba(0,0,0,0.28);
}
.login-notice-item strong { display:block;font-size:11.5px;font-weight:700;margin-bottom:2px; }
.login-notice-info    { background:rgba(37,99,235,0.52);border:1px solid rgba(99,179,237,0.32);color:#dbeafe; }
.login-notice-warning { background:rgba(217,119,6,0.52);border:1px solid rgba(251,191,36,0.32);color:#fef3c7; }
.login-notice-danger  { background:rgba(185,28,28,0.52);border:1px solid rgba(252,165,165,0.32);color:#fee2e2; }
.login-notice-success { background:rgba(21,128,61,0.52);border:1px solid rgba(134,239,172,0.32);color:#dcfce7; }

.no-carousel-content {
    position: relative;
    z-index: 5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
}
.no-carousel-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.25;
}
.no-carousel-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 420px;
    line-height: 1.7;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .login-panel { width: 380px; padding: 40px 32px; }
}
@media (max-width: 700px) {
    .login-page { flex-direction: column; background: linear-gradient(160deg,#1e3a8a 0%,#1d4ed8 60%,#0f172a 100%); }
    .login-carousel-panel { display: none; }
    .login-panel {
        width: 100%;
        min-width: unset;
        flex: 1;
        padding: 40px 28px;
        border-right: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .login-panel::before { display: none; }
}
@media (max-width: 420px) {
    .login-panel { padding: 32px 20px; }
    .login-heading h2 { font-size: 24px; }
}
