*{
    box-sizing:border-box;
    font-family:'Poppins',sans-serif
}
body{
    margin:0;
    background:#f4f6f8;
    color:#111
}

/* HEADER */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(10px);
    position:sticky;
    top:0;
    z-index:10;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}
.brand{
    display:flex;
    align-items:center;
    gap:10px
}
.brand img{height:36px}
header h2{
    margin:0;
    font-size:18px;
    font-weight:700
}
.login-btn{
    padding:8px 22px;
    border-radius:20px;
    background:#2563eb;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:600
}

/* CONTAINER */
.container{
    max-width:600px;
    margin:auto;
    padding:50px 20px;
    text-align:center;
}

/* ANIMASI */
.fade{
    opacity:0;
    animation:fadeSlide 6s infinite
}
@keyframes fadeSlide{
    0%{opacity:0;transform:translateY(20px)}
    20%{opacity:1;transform:translateY(0)}
    70%{opacity:1}
    100%{opacity:0}
}
.typing{
    color:#2563eb;
    font-weight:600;
    min-height:28px;
    margin:20px auto 30px;
}

/* FORM */
.form-box{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.form-box input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:8px;
    border:1px solid #ddd;
}
.btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:30px;
    background:#2563eb;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

/* RESULT */
.result{
    margin-top:20px;
    padding:15px;
    border-radius:10px;
    display:none;
    font-weight:600;
}
.valid{
    background:#dcfce7;
    color:#166534
}
.invalid{
    background:#fee2e2;
    color:#991b1b
}

/* ACTION */
.action{
    display:flex;
    justify-content:center;
    margin-top:15px;
}
.print-btn{
    padding:10px 25px;
    border-radius:25px;
    background:#16a34a;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

/* MARQUEE */
.marquee{
    overflow:hidden;
    background:rgba(37,99,235,.1);
    margin-top:30px;
    border-radius:10px;
    white-space:nowrap;
}
.marquee span{
    display:inline-block;
    padding:12px 0;
    padding-left:100%;
    animation:marquee 20s linear infinite;
    font-weight:600;
}
.marquee:hover span{
    animation-play-state:paused;
}
@keyframes marquee{
    0%{transform:translateX(0)}
    100%{transform:translateX(-100%)}
}

/* FOOTER */
footer{
    margin-top:60px;
    padding:25px 20px;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(8px);
    text-align:center;
    font-size:14px;
    color:#475569;
    box-shadow:0 -4px 15px rgba(0,0,0,.05);
}
.footer-brand{
    font-weight:700;
    color:#2563eb;
}
.footer-desc{
    font-size:13px;
    color:#64748b;
}
.footer-copy{
    margin-top:8px;
    font-size:12px;
    color:#94a3b8;
}
