/* ============================================================
   LEONY NET — LOGIN PAGE STYLES
   ============================================================ */

/* ---- FORM FIELDS ---- */
.field { margin-bottom: 16px; }
.field label {
    display: block; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-soft); margin-bottom: 8px;
}
.input-group { position: relative; display: flex; align-items: center; }
.input-icon {
    position: absolute; left: 16px; color: var(--text-muted);
    font-size: 0.9rem; pointer-events: none; transition: color 0.2s var(--ease);
}
.input {
    width: 100%; padding: 14px 16px 14px 44px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); color: var(--text);
    font-size: 0.95rem; font-family: inherit; outline: none;
    transition: all 0.2s var(--ease); min-height: 52px;
}
.input::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.input:focus { border-color: var(--border-focus); background: var(--surface-2); box-shadow: 0 0 0 3px var(--accent-glow); }
.input:focus + .input-icon,
.input-group:focus-within .input-icon { color: var(--accent); }
.input.shake { animation: shake 0.4s var(--ease); }

@keyframes shake {
    0%,100%{transform:translateX(0);} 25%{transform:translateX(-6px);}
    50%{transform:translateX(6px);} 75%{transform:translateX(-3px);}
}

/* ---- FIELD ROW (checkbox) ---- */
.field-row { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; gap: 8px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-soft); cursor: pointer; user-select: none; position: relative; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkmark {
    width: 18px; height: 18px; border: 1.5px solid var(--border);
    border-radius: 5px; background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s var(--ease); flex-shrink: 0;
}
.checkmark::after {
    content: ''; width: 5px; height: 9px;
    border: solid var(--bg); border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease);
    margin-top: -2px;
}
.checkbox input:checked + .checkmark { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkmark::after { transform: rotate(45deg) scale(1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 520px) {
    .field { margin-bottom: 14px; }
    .field-row { margin-bottom: 16px; }
    .input { min-height: 48px; font-size: 0.9rem; padding: 12px 14px 12px 42px; }
    .btn-primary { min-height: 48px; font-size: 0.9rem; padding: 13px 16px; }
}
@media (max-width: 380px) {
    .input { font-size: 0.85rem; min-height: 46px; padding: 11px 12px 11px 38px; }
    .input-icon { left: 14px; font-size: 0.8rem; }
    .btn-primary { min-height: 46px; font-size: 0.85rem; }
    .checkbox { font-size: 0.7rem; }
}

/* ============================================================
   FREE VOUCHER BUTTON — Tombol Prank
   ============================================================ */
.btn-free-voucher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1c1405;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease);
    min-height: 50px;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.25);
    animation: voucherPulse 2.5s ease-in-out infinite;
}

.btn-free-voucher i {
    font-size: 1rem;
    animation: giftShake 2s ease-in-out infinite;
}

.btn-free-voucher span {
    position: relative;
    z-index: 1;
}

.btn-free-voucher:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.45);
}

.btn-free-voucher:active {
    transform: translateY(0) scale(0.98);
}

/* Efek shimmer bergerak */
.btn-free-voucher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* Badge "NEW" */
.btn-free-voucher .badge-new {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: badgeBounce 1.5s ease-in-out infinite;
    z-index: 2;
    transform: none;
    position: absolute;
}

/* ---- ANIMATIONS ---- */
@keyframes voucherPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(251, 191, 36, 0.25);
    }
    50% {
        box-shadow: 0 4px 24px rgba(251, 191, 36, 0.55);
    }
}

@keyframes giftShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate(12deg); }
    50% { transform: rotate(0deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    60% { left: 100%; }
    100% { left: 100%; }
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ---- ZEN MODE: sembunyikan tombol (opsional) ---- */
body.zen-mode .btn-free-voucher {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), max-height 0.4s var(--ease),
                margin 0.3s var(--ease), padding 0.3s var(--ease);
}

/* ============================================================
   PAKET BUTTON — Tombol ke halaman paket (PINK)
   ============================================================ */
.btn-paket {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease);
    min-height: 50px;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
    animation: paketPulse 2.5s ease-in-out infinite;
}

.btn-paket i {
    font-size: 1rem;
}

.btn-paket span {
    position: relative;
    z-index: 1;
}

.btn-paket .badge-price {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #10b981;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
    animation: badgeBounce 1.5s ease-in-out infinite;
    z-index: 2;
}

.btn-paket:hover {
    background: linear-gradient(135deg, #db2777, #ec4899);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.45);
}

.btn-paket:active {
    transform: translateY(0) scale(0.98);
}

.btn-paket::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes paketPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
    }
    50% {
        box-shadow: 0 4px 24px rgba(236, 72, 153, 0.55);
    }
}

/* Zen mode: sembunyikan tombol paket */
body.zen-mode .btn-paket {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), max-height 0.4s var(--ease),
                margin 0.3s var(--ease), padding 0.3s var(--ease);
}