/* Veteran Life Insurance Quote Form Styles */
/* Based on design screenshots - Dark navy theme with gold accents */

:root {
  --navy-dark: #1a3a52;
  --navy-header: #2d4a5e;
  --navy-card: #3d5a73;
  --gold: #b8975a;
  --gold-hover: #a38549;
  --gray-dark: #4a5568;
  --white: #ffffff;
  --cream: #fefefe;
  --border-light: #e2e8f0;
  --border-light-blue: #4a6b87;
  --text-primary: #1a202c;
  --text-secondary: #64748b;
  --text-light: #e2e8f0;
  --text-lighter: #f8fafc;
}

body.veteran-form,
.veteran-page-wrapper {
  background: #0f1f2e !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Container */
.veteran-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header */
.veteran-header {
  text-align: center;
  margin-bottom: 30px;
}

.veteran-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.veteran-title {
  color: var(--navy-header);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.veteran-subtitle {
  color: #e2e8f0;
  font-size: 16px;
  margin: 0;
  opacity: 0.95;
}

/* Form Card */
.veteran-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 30px;
}

.progress-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.progress-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 50px;
  text-align: right;
}

/* Step Header */
.step-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  text-align: center;
}

.step-icon {
  font-size: 24px;
  margin-right: 12px;
  color: var(--gold);
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-description {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* Selection Grid */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.selection-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.selection-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 151, 90, 0.2);
}

.selection-card.selected {
  border-color: var(--gold);
  background: #fffbf5;
  box-shadow: 0 4px 12px rgba(184, 151, 90, 0.3);
}

.selection-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.selection-card.selected .selection-icon {
  color: var(--gold);
}

.selection-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 5px 0;
}

.selection-sublabel {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Yes/No Options */
.yes-no-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.yes-no-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yes-no-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.yes-no-card.selected {
  border-color: var(--gold);
  background: #fffbf5;
}

.yes-no-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.yes-no-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Form Fields */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Privacy Notice */
.privacy-notice {
  background: #f8fafc;
  border-left: 3px solid var(--gold);
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 6px;
}

.privacy-notice p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-icon {
  margin-right: 8px;
  color: var(--gold);
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-back {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--gray-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-back:hover {
  background: #3a4454;
  transform: translateY(-1px);
}

.btn-continue {
  flex: 1;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-continue:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 151, 90, 0.3);
}

.btn-continue:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

/* Loading Screen */
.loading-screen {
  text-align: center;
  padding: 60px 20px;
}

.loading-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--gold);
}

.loading-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 15px 0;
}

.loading-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 40px 0;
}

.loading-progress {
  max-width: 600px;
  margin: 0 auto 20px;
}

.loading-detail {
  background: var(--gray-dark);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 15px;
}

.loading-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 600;
}

/* Success Screen */
.success-screen {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--white);
}

.success-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 15px 0;
}

.success-message {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.success-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.btn-call,
.btn-schedule {
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-call {
  background: #e2e8f0;
  color: var(--text-primary);
}

.btn-schedule {
  background: var(--navy-dark);
  color: var(--white);
}

.business-hours {
  margin-top: 20px;
  font-size: 14px;
  color: #f97316;
  font-weight: 600;
}

/* Trust Badge */
.trust-badge {
  background: #fff9e6;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 30px;
  text-align: center;
}

.trust-badge p {
  margin: 0;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.trust-icon {
  margin-right: 8px;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  .veteran-card {
    padding: 30px 20px;
  }

  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .step-title {
    font-size: 20px;
  }

  .form-navigation {
    flex-direction: column;
  }

  .btn-back {
    order: 2;
  }

  .btn-continue {
    order: 1;
  }
}

@media (max-width: 480px) {
  .selection-grid {
    grid-template-columns: 1fr;
  }

  .yes-no-grid {
    grid-template-columns: 1fr;
  }
}
