/* ===== REQUEST PAGE STYLES ===== */

.request-page { background: #050510; min-height: 100vh; }

.request-main { padding-top: 70px; }

/* HEADER */
.request-header {
  text-align: center;
  padding: 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.request-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0.5rem 0; }
.request-header p { color: #94a3b8; font-size: 1.1rem; }

/* PROGRESS */
.progress-wrap {
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}
.progress-bar-container {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 14.28%;
}
.steps-indicator {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.25rem;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  flex: 1;
}
.step-dot span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s;
}
.step-dot label {
  font-size: 0.7rem;
  color: #64748b;
  text-align: center;
  transition: color 0.3s;
}
.step-dot.active span {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(99,102,241,0.5);
}
.step-dot.active label { color: #a5b4fc; }
.step-dot.done span {
  background: rgba(99,102,241,0.2);
  border-color: #6366f1;
  color: #a5b4fc;
}
.step-dot.done label { color: #6366f1; }

/* FORM WRAP */
#requestForm {
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 0 1.5rem 6rem;
}

/* STEPS */
.form-step { display: none; animation: fadeSlide 0.4s ease; }
.form-step.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* STEP HEADER */
.step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(6,182,212,0.2));
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #a5b4fc;
  margin: 0 auto 1rem;
}
.step-header h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.step-header p { color: #94a3b8; }

/* FIELDS */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.field-group.full { grid-column: 1 / -1; }
.field-group label { font-size: 0.9rem; font-weight: 500; color: #cbd5e1; }
.field-group input,
.field-group select,
.field-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field-group select option { background: #0f0f1a; }
.field-group textarea { resize: vertical; }
.field-hint { font-size: 0.82rem; color: #64748b; margin: 0; }
.req { color: #f87171; }
.optional { color: #64748b; font-size: 0.8rem; font-weight: 400; }

/* CHECKBOXES */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.check-item:hover { border-color: rgba(99,102,241,0.4); background: rgba(99,102,241,0.06); }
.check-item input[type="checkbox"] { display: none; }
.check-item span {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.check-item:has(input:checked) {
  border-color: #6366f1;
  background: rgba(99,102,241,0.12);
}
.check-item:has(input:checked) span { color: #a5b4fc; }

/* RADIO */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.radio-group.vertical { flex-direction: column; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.radio-item:hover { border-color: rgba(99,102,241,0.4); }
.radio-item input[type="radio"] { display: none; }
.radio-item span { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s; }
.radio-item:has(input:checked) {
  border-color: #6366f1;
  background: rgba(99,102,241,0.12);
}
.radio-item:has(input:checked) span { color: #a5b4fc; }

/* FILE UPLOAD */
.file-drop-zone {
  border: 2px dashed rgba(99,102,241,0.3);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: rgba(99,102,241,0.03);
}
.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: #6366f1;
  background: rgba(99,102,241,0.08);
}
.file-drop-zone i { font-size: 2.5rem; color: #6366f1; margin-bottom: 0.75rem; display: block; }
.file-drop-zone p { color: #94a3b8; margin: 0.25rem 0; }
.file-drop-zone p span { color: #a5b4fc; text-decoration: underline; }
.file-drop-zone small { color: #64748b; font-size: 0.8rem; }
.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.file-preview-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: #a5b4fc;
}
.file-preview-item i { color: #6366f1; }
.file-preview-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

/* SUMMARY */
.summary-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.summary-box h3 {
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.summary-item { display: flex; flex-direction: column; gap: 0.2rem; }
.summary-item .s-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
.summary-item .s-value { font-size: 0.9rem; color: #e2e8f0; }

/* TERMS */
.terms-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.terms-box h3 {
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.terms-scroll {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: #6366f1 transparent;
}
.terms-scroll p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 1rem; line-height: 1.7; }
.terms-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}
.terms-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #6366f1;
  margin-top: 2px;
}
.terms-agree span { font-size: 0.88rem; color: #94a3b8; line-height: 1.5; }

/* SIGNATURE */
.signature-section {
  margin-bottom: 2rem;
}
.signature-section h3 {
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* FORM NAV */
.form-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5,5,16,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  max-width: 860px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  box-sizing: border-box;
}
.step-counter { font-size: 0.85rem; color: #64748b; }

/* NOTICE */
.form-notice-request {
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
  display: none;
}
.form-notice-request.error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #fca5a5; display: block; }
.form-notice-request.info { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3); color: #a5b4fc; display: block; }

/* SUCCESS OVERLAY */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,16,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}
.success-overlay.show { display: flex; }
.success-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  animation: fadeSlide 0.5s ease;
}
.success-icon {
  font-size: 4rem;
  color: #6366f1;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}
.success-card h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.success-card p { color: #94a3b8; line-height: 1.7; margin-bottom: 2rem; }

/* BTN SM */
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .fields-grid { grid-template-columns: 1fr; }
  .field-group.full { grid-column: 1; }
  .summary-grid { grid-template-columns: 1fr; }
  .steps-indicator label { display: none; }
  .step-dot span { width: 28px; height: 28px; font-size: 0.75rem; }
  .form-nav { padding: 0.75rem 1rem; }
}
