* {
  box-sizing: border-box;
}

:root {
  --black: #111111;
  --black-soft: #1c1c1c;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff0e8;
  --white: #ffffff;
  --off-white: #f7f7f8;
  --page-bg: #f5f6f8;
  --text: #1f2937;
  --text-soft: #5b6470;
  --border: #e5e7eb;
  --shadow: 0 10px 25px rgba(17, 17, 17, 0.08);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

html, body {
  height: 100%;
}

.site-main {
  flex: 1;
  padding-top: 30px;
  padding-bottom: 40px;
  margin: 0;
}

.site-main > * {
  width: min(1180px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.card,
.form-card,
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card,
.form-card {
  margin-bottom: 24px;
}

.card h1,
.card h2,
.card h3,
.form-card h1,
.form-card h2,
.stat-card h3 {
  margin-top: 0;
  color: var(--black);
}

.center-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.grid-two,
.dashboard-grid,
.stats-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.grid-two,
.dashboard-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.form-card {
  max-width: 980px;
  margin: 0 auto 28px auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.form-grid-single {
  grid-template-columns: 1fr;
}

.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  background: #ffffff;
  color: #111827;
  border: 1px solid #d7dbe0;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.stack-form textarea {
  min-height: 110px;
  resize: vertical;
}

.stack-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.btn,
.btn-small {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn {
  background: var(--orange);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--black-soft);
  color: var(--white);
}

.btn-secondary:hover {
  background: #2b2b2b;
}

.btn-outline {
  background: var(--white);
  color: var(--black);
  border: 1px solid #cfd4da;
}

.btn-outline:hover {
  background: #cfcfcf;
}

.btn-small {
  background: var(--black-soft);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.btn-small:hover {
  background: #2c2c2c;
}

.btn-danger {
  background: #b91c1c;
}

.btn-danger:hover {
  background: #991b1b;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.small-text {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.error-text {
  color: #b91c1c;
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  border: 1px solid #e8eaee;
  padding: 12px;
  text-align: left;
  color: var(--text);
}

.data-table th {
  background: var(--orange-light);
  color: var(--black);
}

.search-input {
  width: 100%;
  max-width: 440px;
  padding: 12px;
  border: 1px solid #d7dbe0;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #ffffff;
  color: #111827;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.session-card h3 {
  margin-bottom: 8px;
}

.attendance-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.image-card img,
.feature-image img,
.gallery-image img,
.logo-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

.placeholder-note {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.page-kicker {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .grid-two,
  .dashboard-grid,
  .stats-grid,
  .form-grid,
  .attendance-row {
    grid-template-columns: 1fr;
  }

  .session-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #101010 0%, #171717 100%);
  color: #f4f4f5;
  border-top: 4px solid var(--orange);
}

.footer-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 30px 0 22px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 92px;
  height: auto;
  display: block;
}

.footer-brand h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-brand p {
  margin: 4px 0;
  color: #d6d6db;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.2s ease;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25);
}

.footer-social-link:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 16px;
}

.footer-note {
  color: #bcbcc4;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}