.zcp-checkout,
.zcp-dashboard {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zcp-auth-wrap {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
    width: 100%;
}

.zcp-auth-card,
.zcp-checkout section,
.zcp-checkout aside,
.zcp-dashboard aside,
.zcp-dashboard main,
.zcp-result,
.zcp-notice {
    background: #ffffff;
    border: 1px solid #e6ecf6;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
    min-width: 0;
    padding: clamp(22px, 4vw, 34px);
}

.zcp-modal[hidden] {
    display: none;
}

.zcp-modal {
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.zcp-modal-backdrop {
    backdrop-filter: blur(9px);
    background: rgba(3, 7, 18, .54);
    inset: 0;
    position: absolute;
}

.zcp-modal-card {
    background: #ffffff;
    border: 1px solid #e6ecf6;
    border-radius: 22px;
    box-shadow: 0 34px 120px rgba(0, 0, 0, .28);
    left: 50%;
    max-width: calc(100vw - 28px);
    padding: 28px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
}

.zcp-modal-close {
    background: transparent;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    right: 18px;
    top: 14px;
}

.zcp-modal-brand {
    color: #0d1b3e;
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.zcp-modal-brand span {
    color: #1d4ed8;
}

.zcp-modal-card h2 {
    font-size: 28px;
    margin: 14px 0 6px;
}

.zcp-modal-card p,
.zcp-modal-note {
    color: #64748b;
}

.zcp-phone-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    text-align: left;
}

.zcp-phone-form label {
    color: #64748b;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    text-transform: uppercase;
}

.zcp-phone-form input {
    border: 1px solid #d6deec;
    border-radius: 999px;
    min-height: 48px;
    padding: 10px 14px;
}

.zcp-phone-input {
    align-items: center;
    border: 1px solid #1d4ed8;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
}

.zcp-phone-input b {
    border-right: 1px solid #d6deec;
    color: #0d1b3e;
    padding: 0 14px;
}

.zcp-phone-input input {
    border: 0;
    flex: 1;
}

.zcp-phone-form button {
    background: #1d4ed8;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    min-height: 52px;
}

.zcp-auth-card span,
.zcp-checkout span,
.zcp-dashboard span,
.zcp-result span {
    color: #2563eb;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zcp-auth-card h2,
.zcp-checkout h2,
.zcp-dashboard h2,
.zcp-result h2 {
    color: #0d1b3e;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    margin: 10px 0 18px;
}

.zcp-auth-card form,
.zcp-manual-form {
    display: grid;
    gap: 14px;
}

.zcp-auth-card label,
.zcp-manual-form label {
    color: #334155;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
}

.zcp-auth-card input,
.zcp-auth-card select,
.zcp-manual-form input {
    border: 1px solid #d6deec;
    border-radius: 7px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    width: 100%;
}

.zcp-auth-card button,
.zcp-manual-form button,
.zcp-dashboard button,
.zcp-btn {
    align-items: center;
    background: var(--zc-grad, #1d4ed8);
    border: 0;
    border-radius: 9px;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.26);
    color: #ffffff;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
    text-decoration: none;
}

.zcp-check {
    align-items: center;
    display: flex !important;
    gap: 8px;
}

.zcp-check input {
    min-height: auto;
}

.zcp-total {
    background: #f5f8fe;
    border: 1px solid #e6edf9;
    border-radius: 10px;
    display: grid;
    margin-top: 22px;
    padding: 18px;
}

.zcp-stepper {
    align-items: center;
    color: #94a3b8;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    letter-spacing: .08em;
    margin: 0 auto 26px;
    max-width: 760px;
    text-align: center;
    text-transform: uppercase;
}

.zcp-stepper span {
    border-top: 2px solid #dbe5f2;
    padding-top: 12px;
}

.zcp-stepper .is-done,
.zcp-stepper .is-active {
    border-color: #1d4ed8;
    color: #1d4ed8;
}

.zcp-trip-card,
.zcp-method-card {
    background: #f7faff;
    border: 1px solid #d7e3fb;
    border-radius: 14px;
    display: grid;
    gap: 8px;
    padding: 18px;
}

.zcp-method-switch {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

@media (min-width: 540px) {
    .zcp-method-switch {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }
}

.zcp-method-tab {
    background: #fff;
    border: 1.5px solid #d7e3fb;
    border-radius: 14px;
    cursor: pointer;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.zcp-method-tab strong {
    color: #0d1b3e;
    font-size: 15px;
}

.zcp-method-tab span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.zcp-method-tab:hover {
    border-color: #b9d2ff;
}

.zcp-method-tab.is-active {
    background: #eef3ff;
    border-color: var(--zc-blue, #1d4ed8);
    box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.12);
}

.zcp-method-pane[hidden] {
    display: none;
}


.zcp-trip-card strong,
.zcp-method-card b {
    color: #0d1b3e;
    font-size: 18px;
}

.zcp-trip-card small,
.zcp-method-card span,
.zcp-method-card em {
    color: #64748b;
    font-style: normal;
    font-weight: 800;
}

.zcp-trip-card ul {
    color: #475569;
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.zcp-pay-switch {
    background: #eef4fb;
    border-radius: 999px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    padding: 5px;
}

.zcp-pay-switch span {
    align-items: center;
    border-radius: 999px;
    color: #64748b;
    display: flex;
    justify-content: center;
    min-height: 42px;
    text-align: center;
}

.zcp-pay-switch .is-selected {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    color: #1d4ed8;
}

.zcp-method-card {
    margin-bottom: 18px;
}

.zcp-method-card em {
    background: #dcfce7;
    border-radius: 999px;
    color: #15803d;
    display: inline-flex;
    font-size: 11px;
    justify-self: start;
    padding: 6px 10px;
    text-transform: uppercase;
}

.zcp-total strong {
    color: #0d1b3e;
    font-size: 34px;
}

.zcp-total small,
.zcp-checkout p,
.zcp-dashboard p,
.zcp-roadmap li {
    color: #64748b;
}

.zcp-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zcp-metrics a {
    background: #f5f8fe;
    border: 1px solid #e6edf9;
    border-radius: 9px;
    color: #0d1b3e;
    font-weight: 900;
    padding: 18px;
    text-decoration: none;
}

.zcp-roadmap {
    margin-top: 24px;
}

.zcp-notice {
    border-color: #fed7aa;
    color: #9a3412;
    grid-column: 1 / -1;
}

@media (max-width: 860px) {
    .zcp-auth-wrap,
    .zcp-checkout,
    .zcp-dashboard,
    .zcp-metrics,
    .zcp-stepper {
        grid-template-columns: 1fr;
    }

    .zcp-pay-switch {
        border-radius: 14px;
        grid-template-columns: 1fr;
    }
}

/* ---- Google login, OTP block, dividers ---- */
.zcp-google-btn {
    align-items: center;
    background: #fff;
    border: 1.5px solid #dadce0;
    border-radius: 12px;
    color: #3c4043;
    display: flex;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none;
    transition: box-shadow .2s ease, background .2s ease;
    width: 100%;
}

.zcp-google-btn:hover {
    background: #f7f8fa;
    box-shadow: 0 2px 8px rgba(60, 64, 67, .15);
}

.zcp-google-g {
    align-items: center;
    background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.zcp-or {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    margin: 14px 0;
    overflow: hidden;
    text-align: center;
    text-transform: uppercase;
}

.zcp-or span {
    position: relative;
}

.zcp-or span::before,
.zcp-or span::after {
    background: #e6ecf6;
    content: "";
    height: 1px;
    position: absolute;
    top: 50%;
    width: 600px;
    max-width: 50vw;
}

.zcp-or span::before { right: 100%; margin-right: 12px; }
.zcp-or span::after { left: 100%; margin-left: 12px; }

.zcp-otp {
    display: grid;
    gap: 10px;
}

.zcp-otp label {
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
}

.zcp-otp input[type="text"],
.zcp-otp input[type="tel"] {
    border: 1.5px solid #d7e3fb;
    border-radius: 10px;
    font-size: 16px;
    padding: 11px 12px;
    width: 100%;
}

.zcp-link {
    background: none;
    border: 0;
    color: var(--zc-blue, #1d4ed8);
    cursor: pointer;
    font-weight: 700;
    padding: 4px;
    text-decoration: underline;
}

.zcp-otp-msg {
    font-size: 13px;
    font-weight: 700;
    margin: 2px 0 0;
    min-height: 18px;
}

/* ---- Global checkbox/radio safety: never stretch them in any Zipcar form ---- */
.zcp-auth-wrap input[type="checkbox"],
.zcp-auth-wrap input[type="radio"],
.zcp-check input[type="checkbox"],
.zcp-manual-form input[type="checkbox"],
.zcp-otp input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    accent-color: var(--zc-blue, #1d4ed8);
    flex: 0 0 auto;
    height: 18px;
    min-height: 0;
    min-width: 0;
    padding: 0;
    width: 18px;
}

.zcp-check {
    align-items: center;
    display: flex;
    gap: 8px;
}

.zcp-otp-hint {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: -2px 0 4px;
}
