* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100dvh;
    background: #020617;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 15px;
}

/* CANVAS */
canvas {
    position: fixed;
    top: 0;
    left: 0;
}

/* SCAN LINE */
.scanline {
    position: fixed;
    width: 100%;
    height: 2px;
    background: rgba(0,255,255,0.15);
    animation: scan 4s linear infinite;
    z-index: 1;
}

@keyframes scan {
    from { top: 0; }
    to { top: 100%; }
}

/* CONTAINER */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    max-width: 380px;
}
.container, .card {
    position: relative;
    z-index: 2;
}

/* LOGO */
.logo {
    text-align: center;
    margin-bottom: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #00d4ff;
    letter-spacing: 2px;
    text-shadow: 0 0 12px #00d4ff;
}

.logo p {
    font-size: 11px;
    opacity: 0.7;
}

/* CARD */
.card {
    background: rgba(255,255,255,0.04);
    padding: 22px;
    border-radius: 18px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,212,255,0.2);
    box-shadow: 0 0 40px rgba(0,212,255,0.25);
}

/* TITLE */
.title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* SECTION LABEL */
.section-label {
    font-size: 11px;
    margin: 12px 0 8px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* INPUT GROUP */
.input-group {
    margin-bottom: 12px;
}

/* INPUT + SELECT */
.input-group input,
select {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 14px;
    transition: 0.25s;
}

/* PLACEHOLDER */
::placeholder {
    color: rgba(255,255,255,0.5);
}

/* FOCUS */
.input-group input:focus,
select:focus {
    box-shadow: 0 0 12px #00d4ff;
    background: rgba(255,255,255,0.12);
}

/* BUTTON */
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg,#00d4ff,#007bff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    font-size: 14px;
    animation: pulse 2s infinite;
    transition: 0.2s;
}

.btn:hover {
    transform: scale(1.02);
}

@keyframes pulse {
    0% { box-shadow: 0 0 8px #00d4ff; }
    50% { box-shadow: 0 0 20px #00d4ff; }
    100% { box-shadow: 0 0 8px #00d4ff; }
}

/* CHECKBOX */
.checkbox-group {
    font-size: 12px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.checkbox-group input {
    margin-right: 6px;
    accent-color: #00d4ff;
}

/* SWITCH PAGE (UPGRADE SPACING PRO) */
.switch-page {
    text-align: center;
    margin-top: 35px;
    padding-top: 14px;
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.switch-page a {
    display: inline-block;
    margin-left: 5px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

/* ANIMASI GARIS */
.switch-page a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    background: #00d4ff;
    left: 0;
    bottom: -2px;
    transition: 0.3s;
}

.switch-page a:hover::after {
    width: 100%;
}

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
    opacity: 0.6;
}

/* MOBILE */
@media (max-width: 360px) {
    .logo h1 { font-size: 20px; }
    .card { padding: 16px; }
}


/* ==========================
   POPUP NOTIFICATION
========================== */.popup {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 14px 18px;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.popup.show {
    opacity: 1;
    transform: translateY(0);
}

.popup.error {
    background: red;
}

.popup.warning {
    background: orange;
}

/* ==========================
   PREMIUM POPUP
========================== */

.popup-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.popup-box {
    min-width: 260px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    transform: translateX(120%);
    opacity: 0;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* SHOW */
.popup-box.show {
    transform: translateX(0);
    opacity: 1;
}

/* ICON */
.popup-icon {
    font-size: 18px;
}

/* CLOSE BUTTON */
.popup-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
}

/* PROGRESS BAR */
.popup-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.7);
    width: 100%;
    animation: progressBar 3s linear forwards;
}

@keyframes progressBar {
    from { width: 100%; }
    to { width: 0%; }
}

/* TYPES */
.popup-error { background: linear-gradient(135deg,#ff3b3b,#ff0000); }
.popup-warning { background: linear-gradient(135deg,#ffbb33,#ff8800); }
.popup-success { background: linear-gradient(135deg,#00c851,#007e33); }