/* ZW Transfer — Driver Application form
 * Brand palette: navy #0A2247, gold #C9A24A. Matches booking widget. */

.zwt-driver { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1F2937; }
.zwt-driver *, .zwt-driver *::before, .zwt-driver *::after { box-sizing: border-box; }
.zwt-driver__inner { max-width: 760px; margin: 0 auto; padding: 24px 16px; }
.zwt-driver__loading { color: #6B7280; text-align: center; padding: 60px 16px; }

.zwt-d-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(10,34,71,0.08); overflow: hidden; }

.zwt-d-head { background: #0A2247; color: #fff; padding: 28px 28px 22px 28px; }
.zwt-d-head h1 { margin: 0 0 8px 0; font-size: 26px; font-weight: 700; letter-spacing: 0.2px; }
.zwt-d-head p  { margin: 0 0 18px 0; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.55; }

.zwt-d-progress { display: flex; gap: 8px; align-items: center; }
.zwt-d-dot { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-weight: 700; font-size: 13px; border: 1px solid rgba(255,255,255,0.15); }
.zwt-d-dot.is-current { background: #C9A24A; color: #0A2247; border-color: #C9A24A; box-shadow: 0 0 0 4px rgba(201,162,74,0.18); }
.zwt-d-dot.is-done    { background: rgba(201,162,74,0.22); color: #C9A24A; border-color: rgba(201,162,74,0.4); }

.zwt-d-step { padding: 26px 28px 8px 28px; }
.zwt-d-step h2 { margin: 0 0 6px 0; font-size: 18px; color: #0A2247; font-weight: 700; }
.zwt-d-sub { margin: 0 0 18px 0; color: #6B7280; font-size: 14px; line-height: 1.55; }

.zwt-d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
@media (max-width: 560px) { .zwt-d-grid { grid-template-columns: 1fr; } }

.zwt-d-field { display: flex; flex-direction: column; gap: 6px; }
.zwt-d-field label { font-size: 13px; font-weight: 600; color: #1F2937; }
.zwt-d-field input[type=text], .zwt-d-field input[type=email], .zwt-d-field input[type=tel], .zwt-d-field input[type=date], .zwt-d-field select {
	width: 100%; padding: 11px 13px; border: 1px solid #E5E7EB; border-radius: 8px; font-size: 14px; color: #1F2937; background: #fff; transition: border .15s, box-shadow .15s;
}
.zwt-d-field input:focus, .zwt-d-field select:focus { outline: none; border-color: #C9A24A; box-shadow: 0 0 0 3px rgba(201,162,74,0.18); }
.zwt-d-hint { margin: 0; color: #6B7280; font-size: 12px; line-height: 1.4; }

.zwt-d-field--file { grid-column: 1 / -1; margin-top: 6px; }
.zwt-d-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #FAFBFD; border: 1px dashed #C9A24A; border-radius: 10px; }
.zwt-d-file input[type=file] { font-size: 13px; flex: 1; }
.zwt-d-file-summary { font-size: 12px; color: #6B7280; }

.zwt-d-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 8px 0; padding: 14px; background: #FAFBFD; border: 1px solid #E5E7EB; border-radius: 10px; font-size: 13px; line-height: 1.55; color: #1F2937; }
.zwt-d-consent input { margin-top: 3px; transform: scale(1.15); accent-color: #C9A24A; }
.zwt-d-consent a { color: #0A2247; font-weight: 600; }

.zwt-d-error { margin: 12px 28px 0; padding: 12px 14px; background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px; color: #B91C1C; font-size: 13px; line-height: 1.5; }

.zwt-d-nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px 26px 28px; gap: 12px; }
.zwt-d-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer; letter-spacing: 0.2px; transition: transform .1s, background .15s, color .15s; }
.zwt-d-btn:disabled { opacity: .6; cursor: not-allowed; }
.zwt-d-btn--primary { background: #C9A24A; color: #0A2247 !important; }
.zwt-d-btn--primary:hover:not(:disabled) { background: #b48d3a; color: #0A2247 !important; transform: translateY(-1px); }
.zwt-d-btn--ghost { background: transparent; color: #0A2247 !important; border: 1px solid #E5E7EB; }
.zwt-d-btn--ghost:hover { background: #FAFBFD; color: #0A2247 !important; }

.zwt-d-success { text-align: center; padding: 56px 28px; }
.zwt-d-success__check { width: 64px; height: 64px; border-radius: 50%; background: #C9A24A; color: #0A2247; font-size: 36px; font-weight: 700; line-height: 64px; margin: 0 auto 18px; }
.zwt-d-success h2 { margin: 0 0 8px 0; color: #0A2247; font-size: 22px; }
.zwt-d-success p  { margin: 0; color: #6B7280; font-size: 14px; line-height: 1.6; }
