/* MAGCAR DEPOT - Financing application */
.finance-hero {
  background:
    radial-gradient(circle at top left, rgba(0, 114, 157, .24), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #111827 52%, #1f2937 100%);
  color: #fff;
  padding: 72px 0 54px;
  border-bottom: 5px solid #b30612;
}
.finance-hero .badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.finance-hero h1 { font-weight: 800; letter-spacing: -.03em; }
.finance-hero p { color: rgba(255,255,255,.84); }
.finance-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
  padding: 28px;
  margin-top: -38px;
  position: relative;
  z-index: 3;
}
.finance-section {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 18px;
  padding: 24px;
}
.finance-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}
.finance-section-subtitle { color: #6b7280; margin-bottom: 18px; font-size: .92rem; }
.finance-mini-title {
  font-size: .95rem;
  font-weight: 800;
  color: #b30612;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 22px 0 14px;
}
.finance-mini-title:first-of-type { margin-top: 0; }
.finance-tabs {
  display: inline-flex;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.finance-tab {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 800;
  color: #374151;
  background: transparent;
}
.finance-tab.active {
  background: #b30612;
  color: #fff;
  box-shadow: 0 8px 20px rgba(179, 6, 18, .24);
}
.finance-tab-panel { display: none; }
.finance-tab-panel.active { display: block; }
.finance-card .form-label { font-weight: 700; color: #374151; font-size: .9rem; }
.finance-card .form-control,
.finance-card .form-select {
  min-height: 44px;
  border-radius: 10px;
  border-color: #d1d5db;
}
.finance-card .form-control:focus,
.finance-card .form-select:focus {
  border-color: #00729d;
  box-shadow: 0 0 0 .22rem rgba(0, 114, 157, .16);
}
.finance-submit-btn {
  border: 0;
  border-radius: 999px;
  padding-left: 34px;
  padding-right: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, #b30612, #d81727);
}
.finance-side-note {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 20px;
}
.finance-side-note i { color: #00729d; }
.finance-success-card {
  max-width: 860px;
  margin: -38px auto 60px;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}
.finance-copy-box {
  background: #111827;
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}
.dealdriver-callout {
  background: linear-gradient(135deg, #08172a, #10233d);
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
}
.dealdriver-callout p { color: rgba(255,255,255,.78); }
.dealdriver-card-widget {
  padding: 12px 12px 0;
}
.dealdriver-card-widget .carzing-widget {
  width: 100%;
}
.dealdriver-inventory-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #08172a, #10233d 55%, #00729d);
  color: #fff;
  text-decoration: none;
  margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(8, 23, 42, .18);
}
.dealdriver-inventory-banner:hover { color: #fff; transform: translateY(-1px); }
.dealdriver-inventory-banner strong { font-size: 1.05rem; }
.dealdriver-inventory-banner span { color: rgba(255,255,255,.82); font-size: .9rem; }
.dealdriver-inventory-banner .banner-btn {
  background: #fff;
  color: #08172a;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .finance-card { padding: 16px; }
  .finance-section { padding: 18px; }
  .finance-tabs { display: flex; width: 100%; }
  .finance-tab { flex: 1; }
  .dealdriver-inventory-banner { align-items: flex-start; flex-direction: column; }
}
