body {
  background: #f8f9ff;
  font-family: 'Inter', sans-serif;
  padding: 40px 0;
}

.container {
  max-width: 1000px;
}

/* Header dots */
.form-header-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

/* Card styling */
.card {
  background: white;
  border-radius: 24px;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

/* Form controls */
.form-control, .form-select {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

/* Navigation pills */
.nav-pills .nav-link {
  border-radius: 12px;
  padding: 12px 24px;
  color: #666;
  font-weight: 500;
  background: #f8f9fa;
}

.nav-pills .nav-link.active {
  background: #4a6cf7;
}

/* Buttons */
.btn-primary {
  background: #4a6cf7;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #3955d8;
  transform: translateY(-1px);
}

/* Table styling */
.table {
  border-radius: 12px;
  overflow: hidden;
}

.table thead th {
  background: #f8f9fa;
  border-bottom: none;
  padding: 16px;
  font-weight: 500;
}

.table tbody td {
  padding: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Form labels */
.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.dataTables_wrapper {
  width: 100%;
  margin: 0 auto;
}

.dataTables_wrapper .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dataTables_filter {
  margin-left: auto;
}

.dataTables_filter input {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 8px 16px;
  background-color: #f8f9fa;
}

.table-responsive {
  width: 100%;
}

#participantsTable {
  width: 100% !important;
}

#participantsTable th, 
#participantsTable td {
  white-space: nowrap;
}

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

.activity-title {
    font-family: 'Prompt', 'Noto Sans Thai', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.activity-date {
    font-family: 'Prompt', 'Noto Sans Thai', sans-serif;
    font-size: 1.7rem;
    font-weight: 300;
    color: #64748b;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2px;
}

/* Updated Form Section Styling */
.form-section {
  padding: 1rem; /* Reduced padding */
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #edf2f7;
}

/* Enhanced Section Header Styling */
.form-section h5 {
  font-size: 1.25rem; /* Increased font size */
  font-weight: 600;
  color: #2d3748;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #edf2f7;
  position: relative;
}

.form-section h5::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #4a6cf7;
}

/* Adjust spacing between sections */
.form-section + .form-section {
  margin-top: 1.5rem; /* Space between consecutive sections */
}

/* Adjust form groups spacing within sections */
.form-section .row {
  margin-bottom: 1rem; /* Reduced space between form groups */
}

.form-section .row:last-child {
  margin-bottom: 0; /* Remove margin from last form group */
}

.form-section .form-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #344767;
  margin-bottom: 0.5rem;
}

.form-section .form-control,
.form-section .form-select {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.required-field::after {
  content: '*';
  color: #dc3545;
  margin-left: 4px;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 45px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 45px;
  padding-left: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px;
  right: 10px;
}
/* #3252 promo hero on apply_camp/form.php */
.act-hero {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.act-hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}
.act-hero-body {
  padding: 28px 40px 32px;
}
.act-hero-body .activity-title {
  margin-bottom: 10px;
}
.act-hero-invite {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 14px;
}
.act-hero-place {
  font-size: 1.1rem;
  color: #6c757d;
}
.act-hero-btn {
  margin-top: 20px;
  border-radius: 12px;
  padding: 12px 28px;
}
.act-promo {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 28px 40px;
}
.act-promo-text h4 {
  color: #4361ee;
  margin: 18px 0 10px;
}
.act-promo-text h4:first-child {
  margin-top: 0;
}
.act-promo-text p, .act-promo-text li {
  font-size: 1.05rem;
  line-height: 1.7;
}
.act-promo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.act-promo-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 576px) {
  .act-hero-body, .act-promo { padding: 20px; }
  .act-hero-banner { max-height: 120px; }
  .act-promo-gallery { grid-template-columns: repeat(2, 1fr); }
  .act-promo-gallery img { height: 120px; }
}
