/* ===== 공통 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --security: #059669;
  --security-dark: #047857;
  --section-alt: #f8f9fa;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
}

section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--section-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* ===== Navbar ===== */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.navbar > .container {
  justify-content: center;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  margin-right: 0;
}

.navbar-brand i {
  color: var(--security);
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* ===== 히어로 ===== */
.hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.5rem auto 2rem;
  line-height: 1.8;
}

.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary-custom:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.btn-outline-custom {
  border: 2px solid #cbd5e1;
  color: var(--text-primary);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s;
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-outline-custom:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

/* ===== 핵심 가치 카드 ===== */
.value-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.25s;
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

.value-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.icon-primary { background: #eff6ff; color: var(--primary); }
.icon-security { background: #ecfdf5; color: var(--security); }
.icon-purple { background: #f5f3ff; color: #7c3aed; }
.icon-amber { background: #fffbeb; color: #d97706; }

.value-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ===== 지원 DB ===== */
.db-category { margin-bottom: 2rem; }

.db-category-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.db-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0.25rem;
  transition: all 0.2s;
}

.db-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.db-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

.db-count {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.db-count-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== 컴플라이언스 ===== */
.compliance-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.25s;
}

.compliance-card:hover {
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.1);
  border-color: var(--security);
  transform: translateY(-4px);
}

.compliance-card .badge-label {
  display: inline-block;
  background: #ecfdf5;
  color: var(--security-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.compliance-card h5 { font-weight: 700; margin-bottom: 0.75rem; }
.compliance-card p { color: var(--text-secondary); font-size: 0.95rem; }
.compliance-card ul { list-style: none; padding: 0; margin: 0; }
.compliance-card ul li { padding: 0.3rem 0; color: var(--text-secondary); font-size: 0.9rem; }
.compliance-card ul li i { color: var(--security); margin-right: 0.5rem; }

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-question i {
  color: var(--primary);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 1.75rem;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ===== CTA 섹션 ===== */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 5rem 0;
}

.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: rgba(255, 255, 255, 0.8); }

.step-item { text-align: center; position: relative; }

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.step-connector {
  position: absolute;
  top: 20px;
  left: 60%;
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.btn-cta-white {
  background: #fff;
  color: var(--primary);
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  font-size: 1.05rem;
  transition: all 0.2s;
}

.btn-cta-white:hover {
  background: #f1f5f9;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: #b0bac8;
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a { color: #b0bac8; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }

.footer-brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-divider { border-color: #1e293b; margin: 2rem 0 1.5rem; }

/* ===== 반응형 ===== */
@media (max-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.6rem; }
  .step-connector { display: none; }
  .db-count { font-size: 2.5rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .hero .btn { display: block; width: 100%; margin-bottom: 0.75rem; }
  .form-card { padding: 1.5rem; border-radius: 12px; }
  .step-indicator .step { width: 80px; }
  .step-indicator .step-text { font-size: 0.7rem; }
  .db-check-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Form Pages ===== */
.form-page {
  min-height: calc(100vh - 140px);
  padding: 3rem 0;
  background: var(--section-alt);
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.step-indicator .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 100px;
}

.step-indicator .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.step-indicator .step.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-indicator .step.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 1rem;
}

.step-indicator .step-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.step-indicator .step.active .step-text { color: var(--primary); font-weight: 600; }
.step-indicator .step.completed .step-text { color: var(--primary); }

.step-indicator .step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-top: 17px;
  min-width: 40px;
}

.step-indicator .step-line.completed { background: var(--primary); }

/* Form Card */
.form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }

.form-card .form-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-card .form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 0.01em; }

.form-card .form-control,
.form-card .form-select {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-card .form-text { font-size: 0.85rem; }

/* ===== Admin Pages ===== */

/* Admin foundation */
.admin-body {
  --admin-topbar-height: 60px;
  --admin-sidebar-width: 252px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 55%, #eef2ff 100%);
  min-height: 100vh;
}

body.sidebar-open { overflow: hidden; }

/* Admin topbar */
.admin-navbar.navbar {
  min-height: var(--admin-topbar-height);
  padding: 0;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.18);
}

.admin-navbar .container-fluid { min-height: var(--admin-topbar-height); }
.admin-navbar .navbar-brand { color: #fff !important; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; }
.admin-navbar .navbar-brand i { color: #60a5fa; margin-right: 0.3rem; }

.admin-brand-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.55rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #1e293b;
  color: #93c5fd;
}

.admin-topbar-hint { font-size: 0.82rem; color: #94a3b8; }

.admin-navbar .btn-outline-light {
  font-size: 0.84rem;
  padding: 0.35rem 0.78rem;
  border-color: #334155;
  color: #cbd5e1;
}

.admin-navbar .btn-outline-light:hover {
  background: #1e293b;
  border-color: #475569;
  color: #fff;
}

/* Admin shell layout */
.admin-layout {
  display: grid;
  grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - var(--admin-topbar-height));
}

.admin-sidebar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-right: 1px solid #dbe3ee;
  padding: 1rem 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: var(--admin-topbar-height);
  height: calc(100vh - var(--admin-topbar-height));
  overflow-y: auto;
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: var(--admin-topbar-height) 0 0 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1045;
}

.admin-sidebar-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.admin-main {
  min-width: 0;
  padding: 1.25rem 1.5rem 2.5rem;
}

.admin-main-inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

/* Sidebar navigation */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sidebar-link:hover { background: #eff6ff; color: #0f172a; }
.sidebar-link.active { background: #dbeafe; color: #1d4ed8; }
.sidebar-link i { font-size: 1rem; width: 18px; text-align: center; }

/* Page header */
.admin-page-header { padding: 1.1rem 0 0.9rem; margin-bottom: 0.95rem; }

.admin-page-header h2 {
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.admin-page-header .text-muted {
  font-size: 0.98rem;
  color: #64748b !important;
}

/* Dashboard stat cards */
.stat-card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  min-height: 126px;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.12);
}

.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.stat-card .stat-value { font-size: 2rem; font-weight: 800; line-height: 1.15; color: #0f172a; }
.stat-card .stat-label { margin-top: 0.1rem; font-size: 0.87rem; color: #64748b; font-weight: 600; }

/* Table cards */
.admin-table-card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.admin-table-card .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.9rem 1.1rem;
}

.admin-table { margin-bottom: 0; font-size: 0.94rem; }

.admin-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid #dbe3ee;
  font-weight: 700;
  font-size: 0.76rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.78rem 1rem;
  white-space: nowrap;
}

.admin-table tbody tr { transition: background 0.14s ease; cursor: pointer; }
.admin-table tbody tr:hover { background: #eff6ff; }

.admin-table tbody td {
  padding: 0.84rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

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

/* Status badges */
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-issue-confirmed { background: #dbeafe; color: #1e40af; }

/* Detail cards */
.detail-card {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.detail-card .card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.82rem 1.1rem;
  font-weight: 700;
  font-size: 0.93rem;
  color: #1e293b;
}

.detail-card .card-body { padding: 1.1rem; }

.detail-card .detail-row {
  display: flex;
  padding: 0.62rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.94rem;
  line-height: 1.45;
}

.detail-card .detail-row:last-child { border-bottom: none; }

.detail-card .detail-label {
  width: 132px;
  flex-shrink: 0;
  color: #64748b;
  font-weight: 600;
}

.detail-card .detail-value { flex: 1; word-break: break-word; }

/* Action bar */
.action-bar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-top: 1.5rem;
}

/* Filter buttons */
.filter-btn {
  font-size: 0.86rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #334155;
  font-weight: 600;
  transition: all 0.15s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #eff6ff;
}

.filter-btn.active {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* Admin login */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-login-card h3 { font-weight: 700; margin-bottom: 0.25rem; }
.admin-login-card .form-label { font-weight: 600; font-size: 0.88rem; }
.admin-login-card .form-control { border-radius: 8px; padding: 0.6rem 0.85rem; border: 1px solid #e2e8f0; }
.admin-login-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }

/* Pagination */
.admin-pagination .page-link {
  font-size: 0.87rem;
  color: #334155;
  border-color: #dbe3ee;
  padding: 0.4rem 0.72rem;
}

.admin-pagination .page-item.active .page-link {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* Utility states */
.row-deleted td { color: #94a3b8; text-decoration: line-through; text-decoration-color: #cbd5e1; }
.row-deleted td .badge { text-decoration: none; }

.copy-btn { cursor: pointer; color: #94a3b8; font-size: 0.82rem; transition: color 0.2s; }
.copy-btn:hover { color: var(--primary); }

.password-toggle { cursor: pointer; color: #64748b; transition: color 0.2s; }
.password-toggle:hover { color: var(--primary); }

.btn-pw-toggle { border-color: #e2e8f0; color: #64748b; }
.btn-pw-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* Responsive */
@media (max-width: 1199.98px) {
  .admin-body { --admin-sidebar-width: 238px; }
  .admin-main { padding: 1rem 1.1rem 2rem; }
}

@media (max-width: 991.98px) {
  .admin-layout { display: block; min-height: auto; }

  .admin-sidebar {
    width: min(84vw, 280px);
    position: fixed;
    left: 0;
    top: var(--admin-topbar-height);
    height: calc(100vh - var(--admin-topbar-height));
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    z-index: 1050;
    box-shadow: none;
  }

  .admin-sidebar.show {
    transform: translateX(0);
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.25);
  }

  .admin-main { padding: 0.95rem 0.9rem 2rem; }
}

@media (min-width: 992px) {
  body.sidebar-open { overflow: auto; }
}

@media (max-width: 768px) {
  .admin-page-header { padding: 0.75rem 0 0.75rem; }
  .admin-page-header h2 { font-size: 1.42rem; }
  .admin-page-header .text-muted { font-size: 0.9rem; }

  .stat-card { min-height: 116px; padding: 0.9rem; border-radius: 12px; }
  .stat-card .stat-value { font-size: 1.56rem; }
  .stat-card .stat-label { font-size: 0.82rem; }

  .detail-card .detail-row { flex-direction: column; padding: 0.56rem 0; }
  .detail-card .detail-label { width: 100%; margin-bottom: 0.2rem; }

  .admin-table { font-size: 0.84rem; }
  .admin-table thead th, .admin-table tbody td { padding: 0.56rem 0.64rem; }
}

.btn-form-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-form-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-form-primary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-form-secondary {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid #e2e8f0;
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-form-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-form-secondary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Email sent alert */
.email-sent-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.email-sent-alert i { color: var(--primary); }

/* Form icon circle (email-sent, verify-success, complete) */
.form-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.form-icon-circle--primary { background: #eff6ff; color: var(--primary); }
.form-icon-circle--success { background: #ecfdf5; color: var(--security); }

/* Complete page */
.complete-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--security);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

/* Form card divider (replaces inline hr styles) */
.form-divider { border-color: #e2e8f0; }

/* Complete step badge */
.complete-step-badge {
  min-width: 24px;
  font-weight: 700;
}

.complete-steps { text-align: left; max-width: 400px; margin: 1.5rem auto; }
.complete-steps li { padding: 0.4rem 0; color: var(--text-secondary); font-size: 0.95rem; }

/* DB checkbox grid */
.db-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.db-check-grid .form-check { font-size: 0.9rem; }

/* Infra type cards */
.infra-option {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.infra-option:hover { border-color: var(--primary); }
.infra-option input[type="radio"] { display: none; }
.infra-option input[type="radio"]:checked + .infra-option-content { color: var(--primary); }
.infra-option:has(input:checked) { border-color: var(--primary); background: #eff6ff; }
.infra-option-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.infra-option-label { font-weight: 600; font-size: 0.9rem; }
.infra-option:has(input:checked) .infra-option-check { visibility: visible; }
.infra-option-check { visibility: hidden; font-size: 0.75rem; color: var(--primary); margin-top: 0.25rem; }

/* Form page footer */
.form-footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Detail Page Sections */
.detail-section { margin-bottom: 1rem; }

/* Detail Page Header (request-detail) */
.detail-page-header { padding-bottom: 0.5rem; }

.detail-header-actions { flex-shrink: 0; }

@media (max-width: 768px) {
  .db-check-grid { grid-template-columns: repeat(2, 1fr); }
}
