/* ============================================================
   denied-claim.css
   Shared styles for: denied-claim-review.php, upload.php,
   upload-thank-you.php
   ============================================================ */

/* ── Brand tokens ──────────────────────────────────────────── */
:root {
  --dc-red:        #234d20;
  --dc-red-dark:   #1a3a18;
  --dc-navy:       #2c4a2c;
  --dc-blue-light: #f5f8f5;
  --dc-gray-bg:    #f9faf9;
  --dc-border:     #d4ddd4;
  --dc-text:       #2d3436;
  --dc-muted:      #636e72;
  --dc-success:    #27ae60;
  --dc-warn-bg:    #fffbeb;
  --dc-warn-border:#f6c83e;
  --dc-radius:     6px;
  --dc-shadow:     0 2px 20px rgba(44,74,44,0.09);
}

/* ── Shared page structure ─────────────────────────────────── */
.dc-hero {
  background: var(--dc-navy);
  color: #fff;
  padding: 72px 0 56px;
}

.dc-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #fff;
}

.dc-hero .dc-hero-sub {
  font-size: 1.1rem;
  color: #a0aec0;
  max-width: 640px;
  margin-bottom: 0;
}

.dc-hero .dc-hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Primary CTA button ────────────────────────────────────── */
.btn-dc-primary {
  display: inline-block;
  background: var(--dc-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--dc-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(35,77,32,0.28);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-dc-primary:hover,
.btn-dc-primary:focus {
  background: var(--dc-red-dark);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(35,77,32,0.36);
}
.btn-dc-primary:active {
  transform: translateY(0);
}

/* ── Secondary / ghost button ──────────────────────────────── */
.btn-dc-ghost {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 26px;
  border-radius: var(--dc-radius);
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-dc-ghost:hover,
.btn-dc-ghost:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  text-decoration: none;
}

/* ── Sections ──────────────────────────────────────────────── */
.dc-section {
  padding: 64px 0;
}
.dc-section.dc-section--alt {
  background: var(--dc-gray-bg);
}
.dc-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dc-navy);
  margin-bottom: 32px;
}
.dc-section h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dc-muted);
  margin-bottom: 20px;
}

/* ── Who-this-is-for list ──────────────────────────────────── */
.dc-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dc-check-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--dc-border);
  font-size: 1.02rem;
  color: var(--dc-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dc-check-list li:last-child {
  border-bottom: none;
}
.dc-check-list .dc-check-icon {
  color: var(--dc-success);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Attorney callout card ─────────────────────────────────── */
.dc-attorney-card {
  background: var(--dc-blue-light);
  border-left: 4px solid var(--dc-red);
  border-radius: var(--dc-radius);
  padding: 24px 28px;
}
.dc-attorney-card p {
  font-size: 1rem;
  color: var(--dc-text);
  margin: 0;
  line-height: 1.65;
}

/* ── How-it-works steps ────────────────────────────────────── */
.dc-steps {
  position: relative;
  padding-left: 0;
}
.dc-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.dc-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -24px;
  width: 2px;
  background: var(--dc-border);
}
.dc-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dc-red);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(35,77,32,0.25);
  position: relative;
  z-index: 1;
}
.dc-step-body h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dc-navy);
  margin-bottom: 4px;
}
.dc-step-body p {
  font-size: 0.97rem;
  color: var(--dc-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── What-this-is-NOT cards ────────────────────────────────── */
.dc-not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dc-not-card {
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 18px 20px;
  font-size: 0.95rem;
  color: var(--dc-text);
  line-height: 1.55;
  position: relative;
  padding-left: 42px;
}
.dc-not-card::before {
  content: '\2013';
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--dc-muted);
  font-size: 1.1rem;
}

/* ── CTA banner ────────────────────────────────────────────── */
.dc-cta-banner {
  background: var(--dc-navy);
  padding: 56px 0;
  text-align: center;
}
.dc-cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
}
.dc-cta-banner p {
  color: #a0aec0;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════════════════════════════
   UPLOAD FORM PAGE
   ══════════════════════════════════════════════════════════════ */

/* Progress bar */
.dc-progress {
  background: #e8edf3;
  border-bottom: 1px solid var(--dc-border);
  padding: 0;
}
.dc-progress-inner {
  display: flex;
  align-items: stretch;
  max-width: 680px;
  margin: 0 auto;
}
.dc-progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--dc-muted);
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
}
.dc-progress-step.active {
  color: var(--dc-red);
  border-bottom-color: var(--dc-red);
  font-weight: 700;
}
.dc-progress-step.done {
  color: var(--dc-success);
  border-bottom-color: var(--dc-success);
}
.dc-progress-step .step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c8d2de;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.dc-progress-step.active .step-circle {
  background: var(--dc-red);
}
.dc-progress-step.done .step-circle {
  background: var(--dc-success);
}
.dc-progress-step .step-label {
  white-space: nowrap;
}

/* Form section wrapper */
.dc-upload-section {
  padding: 48px 0 80px;
  background: var(--dc-gray-bg);
  min-height: 60vh;
}

/* Form card */
.dc-form-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--dc-shadow);
  overflow: hidden;
}
.dc-form-card-header {
  padding: 24px 36px 20px;
  border-bottom: 1px solid var(--dc-border);
}
.dc-form-card-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dc-navy);
  margin: 0;
}
.dc-form-card-body {
  padding: 28px 36px 36px;
}

/* Value-band cards */
.dc-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.dc-value-card {
  position: relative;
}
.dc-value-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.dc-value-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px;
  border: 2px solid var(--dc-border);
  border-radius: var(--dc-radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dc-text);
  line-height: 1.3;
  min-height: 70px;
  background: #fff;
  user-select: none;
}
.dc-value-card label:hover {
  border-color: var(--dc-red);
  background: #f7faf7;
}
.dc-value-card input[type="radio"]:checked + label {
  border-color: var(--dc-red);
  background: #f3f7f3;
  box-shadow: 0 0 0 3px rgba(35,77,32,0.12);
  color: var(--dc-red);
}
.dc-value-card label .dc-card-check {
  display: none;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--dc-red);
}
.dc-value-card input[type="radio"]:checked + label .dc-card-check {
  display: block;
}

/* Gate message */
.dc-gate-msg {
  display: none;
  background: var(--dc-warn-bg);
  border: 1px solid var(--dc-warn-border);
  border-left: 4px solid var(--dc-warn-border);
  border-radius: var(--dc-radius);
  padding: 20px 22px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.dc-gate-msg p {
  color: #5a4a1e;
  font-size: 0.97rem;
  margin-bottom: 10px;
  line-height: 1.55;
}
.dc-gate-msg p:last-child {
  margin-bottom: 0;
}

/* Flat-fee sub-form */
.dc-flat-fee-form {
  display: none;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 22px 24px;
}
.dc-flat-fee-form h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dc-navy);
  margin-bottom: 16px;
}

/* Divider */
.dc-divider {
  border: none;
  border-top: 1px solid var(--dc-border);
  margin: 4px 0 28px;
}

/* Form fields */
.dc-field {
  margin-bottom: 20px;
}
.dc-label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--dc-navy);
  margin-bottom: 6px;
}
.dc-label .dc-req {
  color: var(--dc-red);
  margin-left: 2px;
}
.dc-label .dc-opt {
  color: var(--dc-muted);
  font-weight: 400;
  font-size: 0.88em;
  margin-left: 4px;
}
.dc-input,
.dc-select,
.dc-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--dc-border);
  border-radius: var(--dc-radius);
  font-size: 0.97rem;
  color: var(--dc-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.dc-input:focus,
.dc-select:focus,
.dc-textarea:focus {
  border-color: var(--dc-red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(35,77,32,0.1);
}
.dc-input.dc-input--error,
.dc-select.dc-input--error,
.dc-textarea.dc-input--error {
  border-color: var(--dc-red);
}
.dc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23718096' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.dc-textarea {
  resize: vertical;
  min-height: 96px;
}
.dc-field-hint {
  font-size: 0.82rem;
  color: var(--dc-muted);
  margin-top: 5px;
}
.dc-error-msg {
  display: none;
  font-size: 0.84rem;
  color: var(--dc-red);
  margin-top: 5px;
  font-weight: 500;
}

/* File input */
.dc-file-wrapper {
  position: relative;
}
.dc-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px dashed var(--dc-border);
  border-radius: var(--dc-radius);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--dc-muted);
  background: #fafbfc;
  transition: border-color 0.15s, background 0.15s;
}
.dc-file-label:hover {
  border-color: var(--dc-red);
  background: #f7faf7;
  color: var(--dc-text);
}
.dc-file-label .dc-file-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.dc-file-label .dc-file-text {
  flex: 1;
}
.dc-file-label .dc-file-btn {
  background: var(--dc-navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s;
}
.dc-file-label:hover .dc-file-btn {
  background: var(--dc-red);
}
input[type="file"].dc-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.dc-file-selected {
  font-size: 0.85rem;
  color: var(--dc-success);
  margin-top: 5px;
  display: none;
  font-weight: 600;
}

/* Trust copy */
.dc-trust-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0faf4;
  border: 1px solid #c6e9d0;
  border-radius: var(--dc-radius);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: #2d6a42;
  line-height: 1.5;
}
.dc-trust-copy .dc-trust-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 2-column contact grid */
.dc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

/* Disclaimer */
.dc-disclaimer {
  font-size: 0.83rem;
  color: var(--dc-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

/* Submit button */
.dc-submit-btn {
  width: 100%;
  background: var(--dc-red);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--dc-radius);
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(35,77,32,0.28);
  letter-spacing: 0.01em;
  font-family: inherit;
}
.dc-submit-btn:hover {
  background: var(--dc-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(35,77,32,0.36);
}
.dc-submit-btn:disabled {
  background: #b0b8c4;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* Submit error */
.dc-submit-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: #fff0ef;
  border: 1px solid #f5b8b4;
  border-radius: var(--dc-radius);
  color: var(--dc-red);
  font-size: 0.93rem;
}

/* Secondary btn (flat-fee) */
.dc-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--dc-navy);
  border: 1.5px solid var(--dc-navy);
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--dc-radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.dc-btn-secondary:hover {
  background: var(--dc-navy);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   THANK-YOU PAGE
   ══════════════════════════════════════════════════════════════ */
.dc-ty-wrapper {
  padding: 96px 0 112px;
  min-height: 65vh;
  display: flex;
  align-items: center;
}
.dc-ty-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.dc-ty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--dc-success);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 6px 24px rgba(16,185,129,0.3);
}
.dc-ty-box h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dc-navy);
  margin-bottom: 16px;
}
.dc-ty-box p.dc-ty-lead {
  font-size: 1.08rem;
  color: var(--dc-text);
  margin-bottom: 8px;
  line-height: 1.6;
}
.dc-ty-box .dc-ty-disclaimer {
  font-size: 0.87rem;
  color: var(--dc-muted);
  margin-top: 20px;
  line-height: 1.5;
  border-top: 1px solid var(--dc-border);
  padding-top: 18px;
}
.dc-ty-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--dc-red);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.dc-ty-back:hover {
  color: var(--dc-red-dark);
  border-bottom-color: var(--dc-red-dark);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   MODERN NAVIGATION STYLING
   ══════════════════════════════════════════════════════════════ */

/* Header z-index */
.header-area {
  position: relative !important;
  z-index: 9999 !important;
}

/* Main navigation links */
.header-area .main-menu ul li {
  margin: 0 20px !important;
}

.header-area .main-menu ul li a {
  color: var(--dc-text) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 30px 0 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.header-area .main-menu ul li a:hover {
  color: var(--dc-red) !important;
}

/* Wider, better-spaced dropdowns */
.header-area .main-menu ul ul.submenu {
  background: #fff !important;
  width: 240px !important;
  border-top: 3px solid var(--dc-red) !important;
  border-radius: 0 0 var(--dc-radius) var(--dc-radius) !important;
  padding: 12px 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  border: 1px solid #e5e7eb !important;
  border-top: 3px solid var(--dc-red) !important;
  z-index: 10000 !important;
  position: absolute !important;
}

.header-area .main-menu ul ul.submenu>li {
  margin: 0 !important;
}
.header-area .main-menu ul ul.submenu>li>a {
  padding: 10px 20px !important;
  font-size: 0.9rem !important;
  color: var(--dc-text) !important;
  font-weight: 500 !important;
  display: block !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.header-area .main-menu ul ul.submenu>li>a:hover {
  background: var(--dc-blue-light) !important;
  color: var(--dc-red) !important;
  padding-left: 24px !important;
}

/* Nested submenu2 */
.header-area .main-menu ul ul.submenu2 {
  background: #fff !important;
  width: 250px !important;
  border-top: 3px solid var(--dc-red) !important;
  border-radius: 0 var(--dc-radius) var(--dc-radius) var(--dc-radius) !important;
  padding: 12px 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  border: 1px solid #e5e7eb !important;
  border-top: 3px solid var(--dc-red) !important;
  z-index: 10001 !important;
  position: absolute !important;
}
.header-area .main-menu ul ul.submenu2>li {
  margin: 0 !important;
}
.header-area .main-menu ul ul.submenu2>li>a {
  padding: 10px 20px !important;
  font-size: 0.9rem !important;
  color: var(--dc-text) !important;
  font-weight: 500 !important;
  display: block !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.header-area .main-menu ul ul.submenu2>li>a:hover {
  background: var(--dc-blue-light) !important;
  color: var(--dc-red) !important;
  padding-left: 24px !important;
}

/* Denied Claim Review nav item highlight */
.header-area .main-menu ul li a.nav-denied-link {
  background: var(--dc-blue-light) !important;
  color: var(--dc-red) !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 4px !important;
  margin-top: 20px !important;
  text-decoration: none !important;
}
.header-area .main-menu ul li a.nav-denied-link:hover {
  background: var(--dc-red) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* Hide step labels on very small screens */
@media (max-width: 479px) {
  .dc-progress-step .step-label {
    display: none;
  }
  .dc-hero h1 { font-size: 1.75rem; }
  .dc-value-grid { grid-template-columns: 1fr 1fr; }
  .dc-not-grid { grid-template-columns: 1fr; }
  .dc-form-card-body { padding: 20px 18px 28px; }
  .dc-form-card-header { padding: 18px 18px 14px; }
  .dc-contact-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 575px) {
  .dc-hero { padding: 48px 0 36px; }
  .dc-hero h1 { font-size: 1.75rem; }
  .dc-hero .dc-hero-cta { flex-direction: column; align-items: stretch; }
  .dc-hero .dc-hero-cta .btn-dc-primary,
  .dc-hero .dc-hero-cta .btn-dc-ghost { text-align: center; }
  .dc-section { padding: 44px 0; }
  .dc-section h2 { font-size: 1.5rem; }
  .dc-not-grid { grid-template-columns: 1fr; }
  .dc-contact-grid { grid-template-columns: 1fr; gap: 0; }
  .dc-form-card-body { padding: 20px 18px 28px; }
  .dc-form-card-header { padding: 18px 18px 14px; }
  .dc-ty-box h1 { font-size: 1.6rem; }
  .dc-cta-banner h2 { font-size: 1.5rem; }
  .dc-value-grid { grid-template-columns: 1fr; }
  .dc-value-card label { min-height: 56px; flex-direction: row; justify-content: flex-start; gap: 12px; }
}

@media (max-width: 767px) {
  .dc-not-grid { grid-template-columns: 1fr; }
  .dc-contact-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (min-width: 576px) and (max-width: 767px) {
  .dc-hero h1 { font-size: 2rem; }
  .dc-form-card-body { padding: 24px 22px 32px; }
}
