/* Form Styles */

/* Variables will be set dynamically */
:root {
  --brand-color: #2563eb;
}

/* Error Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f9fafb;
}

.error-card {
  background: white;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px;
}

.error-msg {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Centered Theme */
.centered-body {
  margin: 0;
  padding: 0;
  background: #f1f5f9;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-bg {
  background-image: url("./bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-bottom: 80px;
}

.sticky-nav {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand {
  font-size: 14px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
}

.hero-content {
  padding: 48px 24px 60px;
  text-align: center;
}

.logo-container {
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  color: white;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  font-family: 'Conthrax', sans-serif;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.form-card-container {
  max-width: 660px;
  margin: -64px auto 0;
  padding: 0 16px 56px;
  position: relative;
  z-index: 1;
}

.form-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  padding: 40px;
}

.footer-text {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  text-align: center;
  padding: 0 0 32px;
}

/* Sidebar Theme */
.sidebar-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f9fafb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sidebar-layout {
  min-height: 100vh;
  display: flex;
}

.sidebar-panel {
  width: 300px;
  min-height: 100vh;
  background: var(--brand-color);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  text-align: center;
}

.sidebar-brand {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 20px 0 8px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 0 0 10px;
}

.sidebar-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}

.sidebar-footer {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin: auto 0 0;
}

.form-area {
  flex: 1;
  padding: 48px;
  overflow-y: auto;
  max-width: 680px;
}

/* Minimal Theme */
.minimal-body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.minimal-container {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 24px 56px;
}

.minimal-logo-section {
  text-align: center;
  margin-bottom: 32px;
}

.minimal-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-color);
  margin: 12px 0 0;
  letter-spacing: 0.02em;
}

.minimal-title-section {
  margin-bottom: 36px;
}

.minimal-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.2;
}

.accent-bar {
  height: 4px;
  width: 48px;
  background: var(--brand-color);
  border-radius: 2px;
}

.minimal-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 10px 0 0;
  line-height: 1.6;
}

.minimal-footer {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

/* Form Fields */
.section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 4px;
}

.section-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0 18px;
}

.fields-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-wrapper {
  /* No specific styles */
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.required-star {
  color: #ef4444;
  margin-left: 3px;
}

.input-field {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
  color: #374151;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}

.input-field:focus {
  border-color: var(--brand-color);
}

.textarea-field {
  resize: vertical;
}

.select-field {
  /* Same as input-field */
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.15s, background 0.15s;
}

.radio-label.selected {
  border-color: var(--brand-color);
  background: var(--brand-color)12;
}

.radio-input {
  accent-color: var(--brand-color);
  width: 16px;
  height: 16px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.15s, background 0.15s;
}

.checkbox-label.selected {
  border-color: var(--brand-color);
  background: var(--brand-color)12;
}

.checkbox-input {
  accent-color: var(--brand-color);
  width: 16px;
  height: 16px;
}

.help-text {
  color: #9ca3af;
  font-size: 12px;
  margin: 4px 0 0;
}

.submit-area {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin-top: 4px;
}

.submit-btn {
  background: var(--brand-color);
  color: white;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Error Styles */
.error-msg {
  color: #ef4444;
  font-size: 12px;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  color: #dc2626;
  font-size: 13px;
}

/* Logo Styles */
.big-logo {
  width: 140px;
  height: 140px;
  border-radius: 30.8px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.big-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.small-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}

.small-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Success Page */
.success-page {
  background: var(--brand-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-header {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-brand {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.success-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.success-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.success-msg {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 28px;
}

.success-btn {
  background: var(--brand-color);
  color: white;
  padding: 11px 28px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.success-footer {
  padding: 14px;
  text-align: center;
}

.success-footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}