/* ===== GLOBAL STYLES ===== */
:root {
  --primary-orange: #E87A2E;
  --primary-dark: #C4651F;
  --primary-light: #F5A623;
  --accent-gold: #D4A017;
  --accent-warm: #FF6B35;
  --bg-light: #FAFAF8;
  --bg-white: #FFFFFF;
  --bg-cream: #FFF8F0;
  --bg-warm: #FEF3E8;
  --text-dark: #1A1A1A;
  --text-gray: #555555;
  --text-light: #999999;
  --border-color: #EEEEEE;
  --success-green: #2E7D32;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(232, 122, 46, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-orange);
}

.navbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-brand .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-orange);
  color: white;
  border-radius: 6px;
  margin-right: 8px;
  font-size: 14px;
}

.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-warm));
  color: white;
  box-shadow: 0 4px 12px rgba(232, 122, 46, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-orange));
  box-shadow: 0 6px 20px rgba(232, 122, 46, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-orange);
  color: var(--primary-orange);
}

.btn-outline:hover {
  background: var(--bg-cream);
}

.btn-dark {
  background: var(--text-dark);
  color: white;
}

.btn-dark:hover {
  background: #333;
}

.btn-white {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
}

.btn-white:hover {
  background: var(--bg-light);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(160deg, #FF7B00 0%, #F59E0B 40%, #FBBF24 100%);
  padding: 60px 40px 140px;
  text-align: center;
  border-radius: 0 0 40px 40px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.hero-logo-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 14px rgba(255,255,255,0.08), 0 0 0 28px rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

.countdown-item {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius);
  min-width: 65px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.countdown-item .number {
  font-size: 26px;
  font-weight: 800;
  display: block;
}

.countdown-item .label {
  font-size: 9px;
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.hero-illustration {
  margin-top: 32px;
  max-width: 100%;
  border-radius: var(--radius);
}

/* ===== INFO SECTION ===== */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 0 40px;
  max-width: 1100px;
  margin: -60px auto 40px;
  position: relative;
  z-index: 2;
}

.info-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 100 L20 60 Q20 45 30 38 Q40 30 50 38 Q60 45 60 60 L60 100 Z' fill='%23F5A623' opacity='0.06'/%3E%3Crect x='35' y='70' width='10' height='30' rx='5' fill='%23F5A623' opacity='0.06'/%3E%3Cpath d='M65 100 L65 70 Q65 60 72 55 Q80 50 88 55 Q95 60 95 70 L95 100 Z' fill='%23E87A2E' opacity='0.05'/%3E%3Crect x='76' y='40' width='5' height='60' rx='2' fill='%23E87A2E' opacity='0.05'/%3E%3Ccircle cx='78' cy='37' r='3' fill='%23E87A2E' opacity='0.05'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.info-card:hover {
  box-shadow: 0 12px 40px rgba(232, 122, 46, 0.1);
  transform: translateY(-4px);
}

.info-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

.info-card .icon {
  font-size: 20px;
}

.capacity-box {
  background: linear-gradient(145deg, #FFF9F2, #FFF3E6);
  border: 1px solid #FFDDB5;
  border-radius: 14px;
  padding: 22px;
}

.capacity-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.capacity-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

/* ===== JADWAL SECTION ===== */
.jadwal-section {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.jadwal-section h2 {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.jadwal-section .subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 40px;
}

.jadwal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.jadwal-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  border-top: none;
  border-left: 5px solid var(--primary-orange);
  transition: all 0.3s ease;
}

.jadwal-card:hover {
  box-shadow: 0 12px 36px rgba(232, 122, 46, 0.12);
  transform: translateY(-3px);
}

.jadwal-card .kloter-badge {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.jadwal-card .time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.jadwal-card .imam {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jadwal-card .imam-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.jadwal-card .topic {
  font-size: 13px;
  color: var(--text-gray);
}

/* ===== TATA TERTIB ===== */
.tata-tertib {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tata-tertib-image {
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.tata-tertib-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tata-tertib-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  font-style: italic;
}

.tata-tertib-content ol {
  padding-left: 20px;
}

.tata-tertib-content li {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #E87A2E 0%, #FF6B35 50%, #F5A623 100%);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  margin: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(232, 122, 46, 0.25);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
  padding: 36px 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-orange);
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-gray);
}

.footer-links a {
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 20px;
  transition: all 0.2s;
}

.footer-links a:hover {
  background: var(--bg-cream);
  color: var(--primary-orange);
}

.footer-location {
  font-size: 13px;
  color: var(--text-gray);
}

/* ===== FORM PAGE ===== */
.form-section {
  padding: 60px 40px;
  text-align: center;
}

.form-section .label {
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-section .description {
  font-size: 14px;
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto 40px;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-row.triple {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-orange);
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  margin-top: 16px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-warm));
  box-shadow: 0 4px 16px rgba(232, 122, 46, 0.3);
}

.btn-submit:hover {
  box-shadow: 0 6px 24px rgba(232, 122, 46, 0.4);
  transform: translateY(-1px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 40px auto 0;
}

.stat-item {
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 18px;
}

.stat-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 12px;
  color: var(--text-gray);
}

.stat-progress {
  text-align: left;
  width: 100%;
}

.stat-progress .number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-orange);
}

.stat-progress .label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
}

.progress-bar {
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  background: var(--primary-orange);
  border-radius: 2px;
}

/* ===== SUCCESS PAGE ===== */
.success-section {
  padding: 60px 40px;
  display: flex;
  justify-content: center;
}

.success-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 700px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 5px solid var(--primary-orange);
  border: 1px solid rgba(0,0,0,0.04);
  border-top: 5px solid var(--primary-orange);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 28px;
}

.success-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-card .subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.ticket-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 160px;
  height: 160px;
  border: 2px solid var(--primary-orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  margin-bottom: 12px;
}

.qr-code img {
  width: 130px;
  height: 130px;
}

.registration-id {
  text-align: center;
}

.registration-id .label {
  font-size: 11px;
  color: var(--primary-orange);
  font-weight: 600;
  text-transform: uppercase;
}

.registration-id .value {
  font-size: 16px;
  font-weight: 700;
}

.ticket-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ticket-field {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.ticket-field.full {
  grid-column: 1 / -1;
}

.ticket-field .label {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ticket-field .value {
  font-size: 15px;
  font-weight: 600;
}

.ticket-field .value.orange {
  color: var(--primary-orange);
}

.time-badge {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-badge .label {
  font-size: 10px;
  color: var(--primary-orange);
  text-transform: uppercase;
  font-weight: 600;
}

.time-badge .value {
  font-size: 14px;
  font-weight: 600;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.notice {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.notice-icon {
  color: var(--text-light);
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== DASHBOARD ===== */
.dashboard-header {
  padding: 32px 40px;
}

.dashboard-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dashboard-header p {
  font-size: 14px;
  color: var(--text-gray);
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 0 40px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-orange);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-hover);
}

.stat-card .label {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-card .number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-orange);
}

.stat-card .number.dark {
  color: var(--text-dark);
}

.stat-card .change {
  font-size: 11px;
  color: var(--success-green);
  margin-top: 4px;
}

.kloter-status {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.kloter-status h4 {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kloter-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.kloter-row .full {
  color: var(--primary-orange);
  font-weight: 600;
}

/* ===== TABLE ===== */
.table-section {
  padding: 0 40px;
  margin-bottom: 32px;
}

.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.search-input {
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  font-size: 13px;
  width: 280px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-gray);
}

.filter-select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.avatar-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-orange);
}

.kloter-tag {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--primary-orange);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.checked-in .dot {
  background: var(--success-green);
}

.status-badge.checked-in {
  color: var(--success-green);
}

.status-badge.pending .dot {
  background: var(--primary-orange);
}

.status-badge.pending {
  color: var(--primary-orange);
}

.action-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: var(--bg-light);
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-size: 13px;
  color: var(--text-gray);
}

.pagination-buttons {
  display: flex;
  gap: 4px;
}

.page-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.page-btn.active {
  background: var(--primary-orange);
  color: white;
  border-color: var(--primary-orange);
}

/* ===== ACTIVITY & LOCATION ===== */
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 40px 40px;
}

.activity-card,
.location-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.activity-card h3,
.location-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.activity-item {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-time {
  font-size: 11px;
  color: var(--primary-orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-time .dot {
  width: 6px;
  height: 6px;
  background: var(--primary-orange);
  border-radius: 50%;
}

.activity-text {
  font-size: 13px;
  font-weight: 500;
  margin: 4px 0 2px;
}

.activity-meta {
  font-size: 11px;
  color: var(--text-light);
}

.location-map {
  width: 100%;
  height: 160px;
  background: #1a1a2e;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.location-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.location-stat-row .percentage {
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar {
    padding: 10px 12px;
    gap: 8px;
  }

  .navbar-brand {
    font-size: 13px;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }

  .navbar-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .navbar-links {
    display: none;
  }

  .navbar .btn {
    padding: 7px 14px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Hero mobile */
  .hero {
    padding: 36px 16px 100px;
    border-radius: 0 0 24px 24px;
  }

  .hero-logo-wrapper {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.08), 0 0 0 20px rgba(255,255,255,0.04);
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: 22px;
    padding: 0 8px;
  }

  .hero p {
    font-size: 12px;
    padding: 0 8px;
    margin-bottom: 16px;
  }

  .countdown {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .countdown-item {
    padding: 10px 12px;
    min-width: 52px;
    border-radius: 10px;
  }

  .countdown-item .number {
    font-size: 18px;
  }

  .countdown-item .label {
    font-size: 8px;
  }

  /* Info section mobile */
  .info-section {
    grid-template-columns: 1fr;
    padding: 0 12px;
    margin-top: -40px;
    gap: 10px;
  }

  .info-card {
    padding: 18px;
    border-radius: 14px;
  }

  .info-card h3 {
    font-size: 14px;
  }

  /* Jadwal mobile */
  .jadwal-section {
    padding: 32px 12px;
  }

  .jadwal-section h2 {
    font-size: 22px;
  }

  .jadwal-section .subtitle {
    font-size: 12px;
    padding: 0 8px;
  }

  .jadwal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jadwal-card {
    padding: 18px;
    border-radius: 14px;
  }

  /* Tata Tertib mobile */
  .tata-tertib {
    grid-template-columns: 1fr;
    padding: 32px 12px;
    gap: 20px;
  }

  .tata-tertib-image {
    height: 180px;
    border-radius: 14px;
  }

  .tata-tertib-content h2 {
    font-size: 20px;
  }

  .tata-tertib-content li {
    font-size: 12px;
    margin-bottom: 8px;
  }

  /* CTA mobile */
  .cta-section {
    margin: 32px 12px;
    padding: 32px 20px;
    border-radius: 18px;
  }

  .cta-section h2 {
    font-size: 20px;
  }

  .cta-section p {
    font-size: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Footer mobile */
  .footer {
    padding: 20px 12px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-logo {
    width: 44px;
    height: 44px;
  }

  .footer-brand span {
    font-size: 14px;
  }

  .footer-links {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    padding: 6px 12px;
    font-size: 11px;
  }

  /* Form mobile */
  .form-section {
    padding: 32px 12px;
  }

  .form-section h1 {
    font-size: 17px;
  }

  .form-section .description {
    font-size: 12px;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row.triple {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 14px;
    font-size: 15px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .stat-item {
    padding: 14px;
  }

  /* Success page mobile */
  .success-section {
    padding: 16px 12px;
  }

  .success-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .success-card h1 {
    font-size: 20px;
  }

  .success-card .subtitle {
    font-size: 12px;
  }

  .ticket-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qr-code {
    width: 130px;
    height: 130px;
    margin: 0 auto 8px;
  }

  .ticket-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ticket-field {
    padding: 10px 12px;
  }

  .ticket-field .value {
    font-size: 13px;
  }

  .download-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .download-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .notice {
    padding: 12px 14px;
    font-size: 11px;
  }

  /* Dashboard mobile */
  .dashboard-header {
    padding: 16px 12px;
  }

  .dashboard-header h1 {
    font-size: 20px;
  }

  .dashboard-header p {
    font-size: 12px;
  }

  .dashboard-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .dashboard-actions .btn {
    font-size: 11px;
    padding: 7px 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 12px;
    gap: 8px;
  }

  .stat-card {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .stat-card .label {
    font-size: 9px;
  }

  .stat-card .number {
    font-size: 22px;
  }

  .kloter-status {
    grid-column: 1 / -1;
    padding: 12px 14px;
  }

  .table-section {
    padding: 0 12px;
    margin-bottom: 16px;
  }

  .table-controls {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
    font-size: 14px;
  }

  .filter-group {
    justify-content: space-between;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
    font-size: 11px;
  }

  .avatar-cell {
    gap: 6px;
  }

  .avatar {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

  .pagination {
    padding: 10px 0;
    font-size: 11px;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
    padding: 0 12px 20px;
    gap: 12px;
  }
}

/* Extra small (iPhone SE etc) */
@media (max-width: 380px) {
  .navbar-brand {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 19px;
  }

  .countdown-item {
    padding: 8px 10px;
    min-width: 46px;
  }

  .countdown-item .number {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .ticket-row {
    grid-template-columns: 1fr;
  }
}
