/* ============================================================
   form-new.php - Registration Form Styles
   Extracted from inline <style> for clean separation
   ============================================================ */

/* Ensure Font Awesome icons display correctly */
i.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
i.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}
i.far {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}

/* Global box-sizing fix */
*, *::before, *::after {
    box-sizing: border-box;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; 
    background: #f0f2f5;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

/* Modern Side-by-Side Header */
.modern-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fbff 100%);
    padding: 18px 30px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(33, 150, 243, 0.08);
    border-radius: 50%;
}

.header-content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.logo-section {
    flex-shrink: 0;
}

.logo-image {
    width: 60px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.text-section {
    flex: 1;
}

.event-title {
    color: #1976d2;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.event-subtitle {
    color: #5f6368;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

.content {
    padding: 30px;
}

.price-info {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.price-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.price-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.price-info-icon {
    width: 44px; height: 44px;
    background: #e8edf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.price-info-icon i { font-size: 20px; color: #223a5f; }
.price-info-label {
    font-size: 12px; color: #999;
    text-transform: uppercase; letter-spacing: 0.5px;
    font-weight: 600;
}
.price-info-amount {
    font-size: 22px; font-weight: 700; color: #223a5f;
    line-height: 1.2;
}
.price-info-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.price-info-badge.early { background: #d4edda; color: #155724; }
.price-info-badge.normal { background: #e3f2fd; color: #1565c0; }
.price-info-warning {
    width: 100%;
    margin-top: 14px;
    padding: 10px 14px;
    background: #fff3cd;
    border-radius: 10px;
    font-size: 13px;
    color: #856404;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.price-info-warning i { color: #f57f17; font-size: 16px; }

.closed-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.closed-message h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.form-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 28px 0 24px;
    position: relative;
}
.form-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #223a5f;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    max-width: 100%;
    padding: 13px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #223a5f;
    box-shadow: 0 0 0 3px rgba(34, 58, 95, 0.1);
    transform: translateY(-1px);
}

.dob-container {
    display: flex;
    gap: 10px;
}
.dob-container select {
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align-last: center;
    text-align: center;
}
.dob-container select:focus {
    outline: none;
    border-color: #223a5f;
    box-shadow: 0 0 0 3px rgba(34, 58, 95, 0.1);
}
.dob-day { flex: 1; }
.dob-month { flex: 2; }
.dob-year { flex: 1.5; }

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #223a5f 0%, #34548c 100%);
    color: white;
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34, 58, 95, 0.4);
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-early-bird { background: #d4edda; color: #155724; }
.status-normal { background: #cce5ff; color: #004085; }
.status-closed { background: #f8d7da; color: #721c24; }


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #223a5f 0%, #34548c 100%);
    color: white;
    padding: 24px 30px;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    z-index: 10;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

.close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(85vh - 120px);
}

.terms-content {
    line-height: 1.8;
    color: #333;
}

.terms-content p {
    margin-bottom: 16px;
    text-align: justify;
}

.terms-content ul {
    margin: 16px 0;
    padding-left: 25px;
}

.terms-content h3 {
    color: #223a5f;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #223a5f, #34548c);
}

.terms-content ul {
    margin: 16px 0;
    padding-left: 25px;
}

.terms-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
}

.terms-content li::before {
    content: '•';
    color: #34548c;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.terms-highlight {
    background-color: #fff8e1;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.terms-footer {
    background-color: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 16px 16px;
}

.terms-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.terms-checkbox {
    margin-bottom: 25px;
    padding: 18px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.terms-checkbox:hover {
    background-color: #e9ecef;
    border-color: #34548c;
}

.terms-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 500;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.terms-link {
    color: #1976d2;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #0d47a1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
/* Ukuran Kaus Grid — Professional Style */
.kaus-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; justify-content: flex-start; }
.kaus-grid .kaus-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 76px; height: 76px;
    border: 2px solid #e0e0e0; border-radius: 12px;
    cursor: pointer; transition: all 0.2s ease;
    background: #fff; user-select: none;
}
.kaus-grid .kaus-btn:hover {
    border-color: #1976d2; background: #f5f8ff;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(25,118,210,0.12);
}
.kaus-grid .kaus-btn.has-checked {
    border-color: #223a5f; background: #223a5f;
    box-shadow: 0 4px 12px rgba(34,58,95,0.2);
}
.kaus-grid .kaus-btn.kaus-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.kaus-grid .kaus-btn.kaus-disabled:hover { border-color: #e0e0e0; background: #fff; transform: none; box-shadow: none; }
.kaus-label { font-weight: 700; font-size: 16px; color: #223a5f; line-height: 1.2; transition: color 0.2s; }
.has-checked .kaus-label { color: #fff; }
.kaus-stok { font-size: 11px; margin-top: 2px; font-weight: 600; transition: color 0.2s; }
.has-checked .kaus-stok { color: rgba(255,255,255,0.85) !important; }
.stock-available { color: #2e7d32; }
.stock-low { color: #e65100; }
.stock-out { color: #c62828; }
@media (max-width: 480px) {
    .kaus-grid { gap: 6px; }
    .kaus-grid .kaus-btn { width: 52px; height: 52px; border-radius: 8px; }
    .kaus-grid .kaus-label { font-size: 12px; }
    .kaus-grid .kaus-stok { font-size: 9px; }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
        align-items: flex-start;
        padding-top: 30px;
        background: #f8f9fa;
    }
    
    .container {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }
    
    .modern-header {
        padding: 20px 25px;
    }
    
    .header-content-wrapper {
        gap: 15px;
    }
    
    .logo-image {
        width: 70px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .event-subtitle {
        font-size: 14px;
    }
    
    .content {
        padding: 25px 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
        white-space: normal;
        text-align: center;
        padding: 0 10px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .terms-content h3 {
        font-size: 18px;
    }
        
    .close {
        right: 5px;
        top: 5px;
        width: 32px;
        height: 32px;
    }
    
    .close svg {
        width: 18px;
        height: 18px;
    }
}

/* Elegant Toast Notification */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 420px;
    width: calc(100% - 40px);
}

.toast-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.3s ease;
    border-left: 4px solid #ff9800;
    position: relative;
    overflow: hidden;
}

.toast-notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor);
    animation: toastProgress var(--duration) linear forwards;
    opacity: 0.3;
}

.toast-notification:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.toast-notification.toast-warning {
    border-left-color: #ff9800;
}

.toast-notification.toast-error {
    border-left-color: #f44336;
}

.toast-notification.toast-success {
    border-left-color: #4caf50;
}

.toast-notification.toast-hiding {
    animation: toastSlideOut 0.4s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.toast-notification:hover .toast-icon {
    transform: scale(1.1);
}

.toast-notification.toast-warning .toast-icon {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.toast-notification.toast-error .toast-icon {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.toast-notification.toast-success .toast-icon {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.toast-notification.toast-info .toast-icon {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.toast-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.toast-close-btn {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 0;
    transition: color 0.2s ease;
    margin-top: 2px;
}

.toast-close-btn:hover {
    color: #333;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

@keyframes toastProgress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

/* Toast responsive */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .toast-notification {
        padding: 14px 16px;
    }
    
    .toast-title {
        font-size: 14px;
    }
    
    .toast-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        padding-top: 20px;
    }
    
    .modern-header {
        padding: 15px 20px;
    }
    
    .header-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .logo-image {
        width: 60px;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-subtitle {
        font-size: 13px;
    }
    
    .content {
        padding: 20px 15px;
    }
    
    /* Toast notification responsive */
    #toast-container {
        left: 20px;
        right: 20px;
        max-width: 400px;
    }
}

.usia-info-text {
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.4;
    font-size: 16px;
}
@media (max-width: 768px) {
    .usia-info-text {
        margin-top: 6px;
        font-size: 14px;
    }
}

/* ========== WIZARD STEPS ========== */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px;
    padding: 0 10px;
}
.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: default;
    user-select: none;
}
.wizard-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    border: 3px solid #d0d0d0;
    background: #fff;
    color: #999;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.wizard-circle.active {
    border-color: #223a5f;
    background: #223a5f;
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 58, 95, 0.3);
    transform: scale(1.08);
}
.wizard-circle.completed {
    border-color: #2e7d32;
    background: #2e7d32;
    color: #fff;
}
.wizard-circle.completed::after {
    content: '✓';
    font-size: 18px;
}
.wizard-circle.completed span { display: none; }
.wizard-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.wizard-label.active { color: #223a5f; }
.wizard-label.completed { color: #2e7d32; }
.wizard-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 12px;
    margin-bottom: 24px;
    border-radius: 2px;
    transition: background 0.5s;
    min-width: 30px;
}
.wizard-line.completed { background: #2e7d32; }
.wizard-line.active { background: #223a5f; }

.wizard-step {
    animation: fadeInUp 0.5s ease-out;
}

/* Step 1: Terms Gate */
.terms-gate {
    background: #fff;
    border-radius: 16px;
    padding: 20px 0 0;
}
.terms-gate h2 {
    color: #223a5f;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    text-align: center;
}
.terms-gate-content {
    max-height: 320px;
    overflow-y: auto;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 14px;
    color: #333;
}
.terms-gate-content h3 {
    color: #223a5f;
    font-size: 15px;
    font-weight: 600;
    margin: 18px 0 8px;
}
.terms-gate-content h3:first-child { margin-top: 0; }
.terms-gate-content ul { padding-left: 18px; margin: 8px 0; }
.terms-gate-content li { margin-bottom: 6px; }
.terms-gate-content p { margin-bottom: 10px; text-align: justify; }
.terms-gate-checkbox {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    transition: border-color 0.3s, background 0.3s;
    cursor: pointer;
}
.terms-gate-checkbox:hover { border-color: #223a5f; background: #eef2f7; }
.terms-gate-checkbox.checked { border-color: #223a5f; background: #e8edf5; }
.terms-gate-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    color: #333;
}
.terms-gate-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.terms-gate-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.btn-step {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-step:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}
.btn-step-primary {
    background: linear-gradient(135deg, #223a5f 0%, #34548c 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(34, 58, 95, 0.3);
}
.btn-step-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 58, 95, 0.4);
}
.btn-step-success {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}
.btn-step-success:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
}

.btn-step-outline {
    background: #fff;
    color: #223a5f;
    border: 2px solid #223a5f;
}
.btn-step-outline:hover:not(:disabled) {
    background: #f5f8ff;
    transform: translateY(-2px);
}
.step-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.step-nav .btn-step { flex: 1; }

/* Step 2: Category Cards */
.kategori-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
@media (max-width: 480px) {
    .kategori-cards { grid-template-columns: 1fr; }
}
.kategori-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.kategori-card:hover {
    border-color: #1976d2;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(25, 118, 210, 0.15);
}
.kategori-card.selected {
    border-color: #223a5f;
    background: linear-gradient(135deg, #f5f8ff 0%, #e8edf5 100%);
    box-shadow: 0 8px 25px rgba(34, 58, 95, 0.2);
    transform: translateY(-4px);
}
.kategori-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: #223a5f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 58, 95, 0.3);
}
.kategori-distance {
    font-size: 28px;
    font-weight: 800;
    color: #223a5f;
    margin-bottom: 4px;
    line-height: 1.2;
}
.kategori-selected .kategori-distance { color: #fff; }
.kategori-name {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-bottom: 12px;
    display: none; /* SEMENTARA: sembunyikan deskripsi kategori (misal "Nomor terakhir BIB 5K"). Nanti bisa diaktifkan lagi atau dikontrol via setting admin */
}
.kategori-price {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
    color: #1565c0;
    font-size: 15px;
    transition: all 0.3s;
}
.kategori-card.selected .kategori-price {
    background: linear-gradient(135deg, #223a5f 0%, #34548c 100%);
    color: #fff;
}
.kategori-price-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    display: block;
    margin-bottom: 2px;
}
.kategori-price-amount {
    font-size: 18px;
}
.kategori-step-title {
    text-align: center;
    color: #223a5f;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}
.kategori-step-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 0 0 20px;
}

/* Step 3 title */
.datadiri-step-title {
    text-align: center;
    color: #223a5f;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
}

/* Hidden fields inside wizard */
.wizard-hidden-field { display: none; }

/* Kupon/Referral validation animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
}
.kupon-status {
    font-size: 14px; font-weight: 500; min-height: 20px; margin-top: 8px;
}
.kupon-status.status-valid { color: #2e7d32; animation: fadeInUp 0.35s ease; }
.kupon-status.status-invalid { color: #d32f2f; animation: shakeX 0.4s ease; }
.kupon-status.status-loading { color: #666; animation: fadeInUp 0.3s ease; }
.kupon-input-valid { border-color: #2e7d32 !important; animation: pulseGlow 0.6s ease; }
.kupon-input-invalid { border-color: #d32f2f !important; animation: shakeX 0.4s ease; }

/* ============================================================
   Closure Modal Styles
   ============================================================ */
.closure-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 50, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}
.closure-card {
    background: white;
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    margin: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.closure-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    color: #999;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
    padding: 0;
}
.closure-close-btn:hover {
    background: rgba(0, 0, 0, 0.12) !important;
}
.closure-header {
    padding: 28px 28px 0;
    text-align: center;
}
.closure-status-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #223a5f, #34548c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(34, 58, 95, 0.25);
}
.closure-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
}
.closure-event-name {
    margin: 4px 0 0;
    font-size: 13px;
    color: #888;
}
.closure-body {
    padding: 20px 28px 0;
}
.closure-message-box {
    background: #f8f9fa;
    padding: 18px 16px;
    border-radius: 12px;
}
.closure-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    white-space: pre-line;
    text-align: center;
}
.closure-wa-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    background: #f0faf0;
    padding: 14px 16px;
    border-radius: 12px;
}
.closure-wa-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.closure-wa-icon i {
    font-size: 18px;
    color: white;
}
.closure-wa-content {
    flex: 1;
    min-width: 0;
}
.closure-wa-label {
    margin: 0;
    color: #2e7d32;
    font-weight: 600;
    font-size: 13px;
}
.closure-wa-link {
    color: #128c7e;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin-top: 2px;
}
.closure-wa-link:hover {
    text-decoration: underline !important;
}
.closure-footer {
    padding: 20px 28px 28px;
}
.closure-submit-btn {
    width: 100%;
    background: #223a5f;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(34, 58, 95, 0.2);
}
.closure-submit-btn:hover {
    opacity: 0.85;
}
@media (max-width: 768px) {
    .closure-overlay { padding: 16px; align-items: center; }
    .closure-card { max-width: 400px; }
    .closure-header { padding-top: 24px; }
    .closure-body { padding-left: 24px; padding-right: 24px; }
    .closure-footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
    .closure-overlay { padding: 12px; }
    .closure-card { border-radius: 16px; }
    .closure-status-icon { width: 46px; height: 46px; }
    .closure-status-icon i { font-size: 20px; }
    .closure-text { font-size: 14px; }
    .closure-wa-section { padding: 12px 14px; }
    .closure-wa-icon { width: 34px; height: 34px; }
    .closure-wa-icon i { font-size: 16px; }
    .closure-wa-label { font-size: 12px; }
    .closure-wa-link { font-size: 12px; }
}
