/* ============================================================
   DMV Directory — Legal Pages & Claim Your Listing Styles
   ============================================================ */

/* ── Shared Legal Wrap ───────────────────────────────────────── */
.dmvd-legal-wrap,
.dmvd-claim-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--font-body, 'Nunito', sans-serif);
  color: var(--c-text, #2D2D4E);
}

/* ── Legal Header ────────────────────────────────────────────── */
.dmvd-legal-header {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}
.dmvd-legal-header h1 {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin: 0 0 10px;
}
.dmvd-legal-header p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  margin: 0;
}

/* ── Claim Hero ──────────────────────────────────────────────── */
.dmvd-claim-hero {
  background: linear-gradient(135deg, #FF3B5C 0%, #FF8C00 50%, #FFD700 100%) !important;
}
.dmvd-claim-hero p {
  color: rgba(255,255,255,.92) !important;
  font-size: 17px !important;
  max-width: 600px;
  margin: 0 auto !important;
}

/* ── Plain English Notice ────────────────────────────────────── */
.dmvd-legal-notice {
  background: #EEF6FF;
  border-left: 4px solid #1565C0;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.7;
  color: #1A3A5C;
}

/* ── Legal Body ──────────────────────────────────────────────── */
.dmvd-legal-body h2 {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #1A1A2E;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E8E8F0;
}
.dmvd-legal-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #2D2D4E;
  margin: 20px 0 8px;
}
.dmvd-legal-body p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
  color: #444;
}
.dmvd-legal-body ul {
  margin: 0 0 16px 24px;
  padding: 0;
}
.dmvd-legal-body ul li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: #444;
}
.dmvd-legal-body a {
  color: #FF3B5C;
  text-decoration: none;
  font-weight: 700;
}
.dmvd-legal-body a:hover { text-decoration: underline; }

/* ── Claim Benefits Grid ─────────────────────────────────────── */
.dmvd-claim-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.dmvd-benefit-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.dmvd-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.dmvd-benefit-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.dmvd-benefit-card h3 {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #1A1A2E;
}
.dmvd-benefit-card p { font-size: 14px; color: #7A7A9D; margin: 0; }

/* ── Claim Success ───────────────────────────────────────────── */
.dmvd-claim-success {
  background: #D4EDDA;
  color: #155724;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 32px;
  border: 1px solid #C3E6CB;
}

/* ── Claim Form Wrap ─────────────────────────────────────────── */
.dmvd-claim-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  margin-bottom: 40px;
}
.dmvd-claim-form-wrap h2 {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 28px;
  color: #1A1A2E;
}
.dmvd-claim-form-wrap small {
  display: block;
  font-size: 12px;
  color: #7A7A9D;
  margin-top: 4px;
}

/* ── Shared Form Styles ──────────────────────────────────────── */
.dmvd-claim-form-wrap .dmvd-form-grid,
.dmvd-legal-wrap .dmvd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dmvd-claim-form-wrap .dmvd-form-full { grid-column: 1 / -1; }
.dmvd-claim-form-wrap label,
.dmvd-legal-wrap label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
  color: #2D2D4E;
}
.dmvd-claim-form-wrap input[type=text],
.dmvd-claim-form-wrap input[type=email],
.dmvd-claim-form-wrap input[type=tel],
.dmvd-claim-form-wrap input[type=url],
.dmvd-claim-form-wrap select,
.dmvd-claim-form-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #E8E8F0;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body, 'Nunito', sans-serif);
  background: #F8F9FE;
  color: #2D2D4E;
  outline: none;
  transition: border-color .2s, background .2s;
}
.dmvd-claim-form-wrap input:focus,
.dmvd-claim-form-wrap textarea:focus {
  border-color: #FF3B5C;
  background: #fff;
}
.dmvd-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #555 !important;
  cursor: pointer;
  line-height: 1.6;
}
.dmvd-checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #FF3B5C;
  cursor: pointer;
}
.dmvd-form-submit { text-align: center; margin-top: 28px; }

/* ── FAQ Section ─────────────────────────────────────────────── */
.dmvd-claim-faq {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid #E8E8F0;
}
.dmvd-claim-faq h2 {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 26px;
  font-weight: 900;
  color: #1A1A2E;
  margin: 0 0 28px;
}
.dmvd-faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 4px solid #FF3B5C;
}
.dmvd-faq-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1A1A2E;
  margin: 0 0 8px;
}
.dmvd-faq-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.dmvd-faq-item a {
  color: #FF3B5C;
  text-decoration: none;
  font-weight: 700;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .dmvd-legal-header  { padding: 32px 20px; }
  .dmvd-claim-form-wrap { padding: 24px 18px; }
  .dmvd-claim-form-wrap .dmvd-form-grid { grid-template-columns: 1fr; }
  .dmvd-claim-form-wrap .dmvd-form-full { grid-column: 1; }
  .dmvd-claim-benefits { grid-template-columns: 1fr 1fr; }
}
