@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; margin: 0; min-height: 100vh; }

/* ===================== FULL-SCREEN CLOUDS (both directions) ===================== */
.cloud-track {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    filter: blur(26px);
}

/* Kiri → Kanan */
.cloud-ltr {
    animation: cloudLTR linear infinite;
}
@keyframes cloudLTR {
    0%   { transform: translateX(-120%); opacity: 0; }
    6%   { opacity: 1; }
    94%  { opacity: 1; }
    100% { transform: translateX(115vw); opacity: 0; }
}

/* Kanan → Kiri */
.cloud-rtl {
    animation: cloudRTL linear infinite;
}
@keyframes cloudRTL {
    0%   { transform: translateX(115vw); opacity: 0; }
    6%   { opacity: 1; }
    94%  { opacity: 1; }
    100% { transform: translateX(-120%); opacity: 0; }
}

/* ===================== SNOW PARTICLES ===================== */
.snow-container {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    animation: snowFall linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(-20px) translateX(0px);
        opacity: 0;
    }
    8% { opacity: 1; }
    90% { opacity: 0.7; }
    100% {
        transform: translateY(105vh) translateX(var(--drift, 0px));
        opacity: 0;
    }
}

/* ===================== GLASS CONTAINER ===================== */
.glass-container {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.70);
    box-shadow: 0 32px 64px -12px rgba(11, 61, 122, 0.28), 0 0 0 1px rgba(255,255,255,0.35) inset;
    z-index: 10;
    position: relative;
    border-radius: 2rem;
}

/* ===================== RIGHT PANEL ===================== */
.right-panel {
    background: linear-gradient(135deg, rgba(21,101,192,0.30) 0%, rgba(30,136,229,0.20) 60%, rgba(100,181,246,0.12) 100%);
    backdrop-filter: blur(4px);
}

/* Illustration - use multiply to remove white bg */
.illus-img {
    mix-blend-mode: multiply;
    filter: contrast(1.02) saturate(1.05);
}

/* ===================== INPUTS ===================== */
.login-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(212, 230, 241, 0.6);
    border: 1.5px solid rgba(100, 181, 246, 0.55);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a202c;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
}
.login-input:focus {
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.18);
}

/* ===================== FLOAT ANIMATION ===================== */
.float-anim {
    animation: floating 5s ease-in-out infinite;
}
@keyframes floating {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0px); }
}

/* ===================== CUSTOM CHECKBOX ===================== */
.custom-checkbox {
    appearance: none;
    background-color: rgba(255,255,255,0.7);
    width: 1.1em; height: 1.1em;
    border: 1.5px solid rgba(0,0,0,0.22);
    border-radius: 0.25em;
    display: grid; place-content: center;
    cursor: pointer; transition: border-color 0.2s;
}
.custom-checkbox::before {
    content: '';
    width: 0.6em; height: 0.6em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #1E88E5;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.custom-checkbox:checked::before { transform: scale(1); }
.custom-checkbox:checked { border-color: #1565C0; }

/* ===================== BUTTON ===================== */
.btn-primary {
    background: linear-gradient(135deg, #0D47A1 0%, #42A5F5 100%);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -4px rgba(13, 71, 161, 0.40);
}
