/* Penjamu PTG - Components CSS */
.hero-welcome-card {
  background: linear-gradient(135deg, #002b36 0%, #004d40 50%, #07575b 100%);
  border-radius: 20px; padding: 2.25rem; color: #ffffff;
  position: relative; overflow: hidden; margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; background: rgba(255, 255, 255, 0.12);
  border-radius: 30px; font-size: 0.8rem; color: #f5af19; margin-bottom: 1rem;
}
.hero-title { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; margin-bottom: 0.6rem; }
.hero-description { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }

/* PUBLIC HERO (Unsoed Style) */
.public-hero {
  position: relative;
  padding: 8rem 4rem 6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(29, 83, 108, 0.8), rgba(6, 22, 31, 0.85));
}
.hero-content {
  position: relative;
  z-index: 2;
}

.public-hero .hero-title {
  font-size: 3rem;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.2;
}

.public-hero .hero-description {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.public-hero .hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.public-section {
  padding: 3rem 4rem 4rem;
}

/* UNSOED SPECIFIC STYLES */
.unsoed-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom: 4px solid transparent;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.unsoed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
  border-bottom-color: var(--gold-500);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 5px solid var(--gold-500);
  line-height: 1.2;
}


.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; }
.stat-icon-wrapper { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-icon-primary { background: rgba(0, 121, 107, 0.12); color: var(--primary-500); }
.stat-icon-gold { background: rgba(197, 155, 39, 0.15); color: var(--gold-500); }
.stat-icon-info { background: var(--info-bg); color: var(--info); }
.stat-icon-success { background: var(--success-bg); color: var(--success); }

.stat-value { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; }
.stat-label { font-size: 0.825rem; color: var(--text-muted); }

.table-responsive { width: 100%; overflow-x: auto; border-radius: 12px; }
.custom-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.custom-table th { background: var(--bg-app); color: var(--text-muted); padding: 1rem 1.25rem; font-size: 0.725rem; text-transform: uppercase; border-bottom: 1px solid var(--border-subtle); }
.custom-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }

.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 260px; }
.search-box input { width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-main); }
.search-box i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.custom-select { padding: 0.65rem 1rem; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-main); }

.ppepp-stepper { display: flex; justify-content: space-between; position: relative; margin: 2rem 0; }
.ppepp-stepper::before { content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 4px; background: var(--border-subtle); z-index: 1; }
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; flex: 1; text-align: center; }
.step-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-surface); border: 3px solid var(--border-subtle); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.step-item.active .step-circle { background: var(--primary-500); border-color: var(--primary-800); color: #ffffff; }
.step-item.completed .step-circle { background: var(--success); border-color: var(--success); color: #ffffff; }

dialog.custom-modal { border: none; border-radius: 20px; padding: 0; background: var(--bg-surface); color: var(--text-main); max-width: 600px; width: 90%; margin: auto; }
dialog::backdrop { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(6px); }
.modal-header, .modal-footer { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 1.5rem; }

#toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast { padding: 1rem 1.25rem; background: var(--bg-surface); border-left: 4px solid var(--primary-500); border-radius: 10px; box-shadow: var(--shadow-lg); color: var(--text-main); font-size: 0.9rem; }
