/* IV Autofill BDBoyz - Main Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #f0f2f5; color: #1a1a2e; line-height: 1.6; }

/* NAVBAR */
.navbar { background: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-brand { font-weight: 700; font-size: 16px; color: #1a1a2e; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-user { font-weight: 600; font-size: 13px; color: #495057; }
.nav-balance { background: #e8f5e9; color: #198754; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-size: 13px; }

/* CONTAINER */
.container { max-width: 900px; margin: 20px auto; padding: 0 15px; }

/* CARDS */
.card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card h2, .card h3 { margin-bottom: 15px; color: #2c3e50; }
.card-success { border-left: 5px solid #198754; background: #f0fff4; }

/* BUTTONS */
.btn { display: inline-block; padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: all 0.2s; font-size: 14px; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary { background: #0d6efd; color: #fff; }
.btn-gold { background: #ffc107; color: #000; }
.btn-outline { background: transparent; border: 1px solid #ddd; color: #666; }
.btn-full { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 4px; }

/* FORMS */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #555; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: #0d6efd; outline: none; box-shadow: 0 0 0 3px rgba(13,110,253,0.1); }

/* AUTH */
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; }
.auth-card { background: #fff; padding: 35px; border-radius: 16px; width: 100%; max-width: 400px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.auth-card h1 { text-align: center; margin-bottom: 5px; font-size: 24px; }
.auth-card h2 { text-align: center; margin-bottom: 20px; font-size: 16px; color: #666; }
.auth-link { text-align: center; margin-top: 15px; font-size: 13px; }
.auth-link a { color: #0d6efd; text-decoration: none; font-weight: 600; }

/* ALERTS */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 15px; font-size: 14px; font-weight: 500; }
.alert.error { background: #ffeef0; color: #dc3545; border: 1px solid #f5c6cb; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.stat-value { font-size: 28px; font-weight: 700; color: #0d6efd; }
.stat-label { font-size: 12px; color: #888; font-weight: 600; margin-top: 4px; text-transform: uppercase; }

/* TABLE */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead { background: #f8f9fa; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; }
.table tr:hover { background: #f8f9fa; }
.text-green { color: #198754; font-weight: 600; }
.text-red { color: #dc3545; font-weight: 600; }

/* BADGES */
.badge { padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.badge-green { background: #d4edda; color: #155724; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-yellow { background: #fff3cd; color: #856404; }

/* ACTIONS */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-btn { padding: 15px; border-radius: 10px; text-align: center; font-weight: 600; text-decoration: none; color: #fff; transition: 0.2s; }
.action-btn:hover { transform: translateY(-2px); }
.action-btn.gold { background: linear-gradient(135deg, #f7971e, #ffd200); color: #333; }
.action-btn.blue { background: linear-gradient(135deg, #667eea, #764ba2); }

/* SHOP */
.package-grid { display: grid; gap: 8px; margin: 10px 0; }
.package-option { display: block; cursor: pointer; }
.package-option input { display: none; }
.package-label { display: block; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-weight: 500; transition: 0.2s; }
.package-option input:checked + .package-label { border-color: #0d6efd; background: #e7f1ff; color: #0d6efd; font-weight: 700; }
.payment-info { background: #f8f9fa; padding: 15px; border-radius: 8px; margin: 10px 0; }
.pay-method { padding: 8px 0; }
.pay-method label { cursor: pointer; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .navbar { flex-direction: column; gap: 8px; }
    .nav-links { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .action-grid { grid-template-columns: 1fr; }
    .table { font-size: 11px; }
    .table th, .table td { padding: 6px 8px; }
}
