/* ── CodeKinLab Style Sheet ─────────────────────────────── */
:root {
  --primary:   #1E3A8A;
  --accent:    #7C3AED;
  --yellow:    #F59E0B;
  --green:     #10B981;
  --bg:        #F8FAFF;
  --card-bg:   #FFFFFF;
  --text:      #1E293B;
  --muted:     #64748B;
  --radius:    14px;
}

body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); }

/* ── Navbar ──────────────────────────────────────────────── */
.ckl-nav { background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%); padding: 10px 0; }
.ckl-nav .nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 600; font-size: 0.95rem; border-radius: 8px; padding: 6px 12px; transition: all .2s; }
.ckl-nav .nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.15); }
.navbar-toggler-icon { filter: invert(1); }
.dropdown-menu { border-radius: 12px; padding: 8px; }
.dropdown-item { border-radius: 8px; font-weight: 600; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-section h1 { font-family: 'Fredoka One', cursive; font-size: 3.2rem; line-height: 1.1; }
.hero-section .lead { font-size: 1.15rem; opacity: .9; }
.hero-badge { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 6px 18px; font-size: 0.85rem; display: inline-block; margin-bottom: 16px; }

/* ── Cards ───────────────────────────────────────────────── */
.ckl-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); transition: transform .2s, box-shadow .2s; }
.ckl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.feature-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 16px; }
.bg-blue-soft { background: #DBEAFE; }
.bg-purple-soft { background: #EDE9FE; }
.bg-green-soft { background: #D1FAE5; }
.bg-yellow-soft { background: #FEF3C7; }
.bg-pink-soft { background: #FCE7F3; }

/* ── Slots Badge ─────────────────────────────────────────── */
.slot-badge { background: linear-gradient(135deg, #10B981, #059669); color: white; border-radius: 50px; padding: 4px 14px; font-size: 0.8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.slot-badge.full { background: linear-gradient(135deg, #EF4444, #DC2626); }

/* ── Forms ───────────────────────────────────────────────── */
.form-card { background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(0,0,0,0.10); padding: 40px; }
.form-control, .form-select { border-radius: 10px; border: 2px solid #E2E8F0; padding: 10px 14px; font-family: 'Nunito', sans-serif; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); outline: none; }
.form-label { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.input-group .form-select { border-right: 1px solid #E2E8F0; border-radius: 10px 0 0 10px; max-width: 140px; }
.input-group .form-control { border-radius: 0 10px 10px 0; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; font-weight: 700; border-radius: 10px; padding: 12px 24px; }
.btn-primary:hover { background: linear-gradient(135deg, #1e40af, #6d28d9); transform: translateY(-1px); }
.btn-warning { font-weight: 800; border-radius: 10px; }
.btn-success { font-weight: 700; border-radius: 10px; }

/* ── Section Titles ──────────────────────────────────────── */
.section-title { font-family: 'Fredoka One', cursive; color: var(--primary); font-size: 2.2rem; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; }

/* ── Slot Picker ─────────────────────────────────────────── */
.slot-option { border: 2px solid #E2E8F0; border-radius: 12px; padding: 14px 18px; cursor: pointer; transition: all .2s; margin-bottom: 8px; }
.slot-option:hover, .slot-option.selected { border-color: var(--accent); background: #F5F3FF; }
.slot-option .day { font-weight: 800; color: var(--primary); }
.slot-option .time { color: var(--muted); font-size: 0.9rem; }

/* ── Dashboard ───────────────────────────────────────────── */
.stat-card { border-radius: 16px; padding: 24px; color: white; position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; right: -10px; top: -10px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.table { border-radius: 12px; overflow: hidden; }
.table thead th { background: var(--primary); color: white; font-weight: 700; border: none; padding: 12px 16px; }
.table tbody td { padding: 12px 16px; vertical-align: middle; }
.badge-available { background: #D1FAE5; color: #065F46; border-radius: 50px; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; }
.badge-full { background: #FEE2E2; color: #991B1B; border-radius: 50px; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────── */
.ckl-footer { background: #F1F5F9; border-top: 1px solid #E2E8F0; }
.footer-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.footer-link:hover { color: var(--primary); }

/* ── Highlight text ──────────────────────────────────────── */
.highlight-green { color: var(--green); }
.highlight-yellow { color: var(--yellow); }

/* ── Animations ──────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .5s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2.2rem; }
  .form-card { padding: 24px; }
}
