/*
Theme Name: SekolahKu
Theme URI: https://sekolahku.sch.id
Author: Tim Pengembang SekolahKu
Author URI: https://sekolahku.sch.id
Description: Tema Website Sekolah Modern dan Responsif dengan Formulir PPDB Online Multi-Tahap Terintegrasi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sekolahku
*/

:root {
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --accent-orange: #f97316;
  --slate-dark: #0f172a;
  --slate-text: #334155;
  --slate-light: #f8fafc;
  --border-color: #e2e8f0;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-text);
  background-color: #f8fafc;
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-blue-dark);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Header */
.top-header {
  background-color: var(--slate-dark);
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 0;
}
.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-header a {
  color: #cbd5e1;
}

/* Main Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}
.brand-text h1 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.brand-text p {
  font-size: 11px;
  color: #64748b;
}

/* Nav */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}
.main-nav a:hover,
.main-nav .active a {
  background-color: #eff6ff;
  color: var(--primary-blue);
}
.main-nav .btn-ppdb a {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* Breadcrumb */
.breadcrumb-nav {
  margin: 24px 0 12px 0;
  font-size: 13px;
  color: #64748b;
}
.breadcrumb-nav a {
  color: #475569;
}
.breadcrumb-nav span.current {
  color: var(--primary-blue);
  font-weight: 600;
}

/* PPDB Title & Intro */
.ppdb-title-area {
  margin-bottom: 24px;
}
.ppdb-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.ppdb-big-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.ppdb-intro-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* Progress bar biru */
.progress-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}
.progress-meta .step-name {
  color: var(--primary-blue);
}
.progress-track {
  width: 100%;
  height: 10px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 100px;
  transition: width 0.4s ease;
}
.steps-row {
  display: flex;
  justify-content: space-between;
}
.step-node {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  flex: 1;
}
.step-node.active, .step-node.completed {
  color: var(--primary-blue);
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #e2e8f0;
}
.step-node.active .step-circle {
  background: var(--primary-blue);
  color: #fff;
  border-color: #93c5fd;
}
.step-node.completed .step-circle {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* Judul Bagian Bergaris Oranye */
.section-header-orange {
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header-orange h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.section-step-num {
  background: var(--accent-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Form horizontal: label di kiri, isian di kanan */
.ppdb-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.form-row-horizontal {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: start;
}
.form-row-horizontal:last-child {
  border-bottom: none;
}
.label-left {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  padding-top: 6px;
}
.label-left .req {
  color: #ef4444;
  margin-left: 2px;
}
.label-left small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: normal;
  margin-top: 2px;
}
.input-right input[type="text"],
.input-right input[type="email"],
.input-right input[type="tel"],
.input-right input[type="date"],
.input-right select,
.input-right textarea {
  width: 100%;
  max-width: 480px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-right input:focus,
.input-right select:focus,
.input-right textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.input-right .error-msg {
  color: #dc2626;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}
.input-right .hint-msg {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 4px;
}

.radio-group {
  display: flex;
  gap: 16px;
  padding-top: 6px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.form-nav-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-blue-dark);
}
.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}
.btn-success {
  background: #16a34a;
  color: #ffffff;
}

/* Footer */
.site-footer {
  background-color: var(--slate-dark);
  color: #cbd5e1;
  padding: 48px 0 24px 0;
  margin-top: 60px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
}
.footer-col p, .footer-col ul {
  font-size: 12px;
  line-height: 1.8;
}
.footer-col ul {
  list-style: none;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 11px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form-row-horizontal {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .label-left {
    padding-top: 0;
  }
}
