/* The frame around Stripe's card fields. Stripe styles what is inside the iframe; this is
   everything else — the button, the error line, the reassurance underneath. */
.vp-wrap{display:flex;flex-direction:column;gap:14px;}
.vp-fields{min-height:44px;}

.vp-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  min-height:56px;border:none;border-radius:14px;background:#E8001D;color:#fff;cursor:pointer;
  font-family:inherit;font-size:16px;font-weight:700;letter-spacing:.01em;
  box-shadow:0 10px 24px -10px rgba(232,0,29,.6);transition:background .18s,transform .12s,opacity .18s;}
.vp-btn:hover:not(:disabled){background:#c5001a;}
.vp-btn:active:not(:disabled){transform:translateY(1px);}
.vp-btn:disabled{opacity:.62;cursor:default;box-shadow:none;}

.vp-spin{width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;animation:vpSpin .7s linear infinite;}
@keyframes vpSpin{to{transform:rotate(360deg);}}

.vp-err{font-size:13.5px;line-height:1.45;color:#9b0014;background:rgba(232,0,29,.06);
  border:1px solid rgba(232,0,29,.28);border-radius:10px;padding:10px 12px;}
.vp-err[hidden]{display:none;}

.vp-secure{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;
  font-size:11.5px;line-height:1.4;color:#8a8a92;}
.vp-secure svg{flex-shrink:0;}

/* Saved card on file — shown instead of the form when there is one. */
.vp-saved{display:flex;align-items:center;gap:12px;background:#f7f7f9;border:1.5px solid #e8e8ee;
  border-radius:14px;padding:14px 16px;}
.vp-saved-ic{width:38px;height:26px;border-radius:5px;background:#0a0a0a;color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:9px;font-weight:700;letter-spacing:.04em;flex-shrink:0;}
.vp-saved-b{flex:1;min-width:0;}
.vp-saved-b b{display:block;font-size:14.5px;color:#0a0a0a;}
.vp-saved-b small{font-size:12px;color:#8a8a92;}
.vp-saved-x{border:none;background:none;color:#8a8a92;font-size:12.5px;font-weight:600;cursor:pointer;
  padding:6px 8px;border-radius:8px;}
.vp-saved-x:hover{color:#9b0014;background:rgba(232,0,29,.06);}

/* On a dark panel (the driver portal's payment sheet) the helper text has to lift. */
.vp-on-dark .vp-secure{color:rgba(255,255,255,.5);}
.vp-on-dark .vp-saved{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.14);}
.vp-on-dark .vp-saved-b b{color:#fff;}

@media(max-width:560px){
  .vp-btn{min-height:54px;font-size:15.5px;}
  .vp-secure{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){
  .vp-spin{animation-duration:2s;}
  .vp-btn{transition:none;}
}
