.vp-offer-modal {
    width: 100%;
    max-width: 480px;
    padding: 8px;
    margin: 0;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    color: #1a1a2e;
    font-family: 'Mulish', 'Montserrat', sans-serif;
}

.vp-offer-modal h3 {
    padding: 20px 44px 4px 20px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.vp-offer-modal > p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Shared by every page, including the home page without product styles. */
.vp-offer-modal .vp-sidebar-form {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vp-offer-modal label span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.vp-offer-modal input,
.vp-offer-modal textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: #1a1a2e;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vp-offer-modal input:focus,
.vp-offer-modal textarea:focus {
    border-color: #2b488f;
    box-shadow: 0 0 0 3px rgba(43,72,143,0.1);
}

.vp-offer-modal textarea {
    resize: vertical;
    min-height: 80px;
}

.vp-offer-modal .vp-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border: 0;
    border-radius: 100px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #00B4FF 0%, #0078D4 50%, #0055A4 100%);
    box-shadow: 0 10px 40px rgba(0,180,255,0.3);
}

.vp-offer-modal > .f-button.is-close-button {
    top: 8px;
    right: 8px;
    color: #1a1a2e;
    background: transparent;
    transform: none;
}

.vp-offer-modal .checkbox {
    margin-top: 4px;
}

/* Keep the existing custom checkbox accessible from the keyboard. */
.vp-offer-modal .checkbox input {
    visibility: visible;
    opacity: 0;
    width: 20px;
    height: 20px;
    padding: 0;
}

.vp-offer-modal .checkbox input:focus-visible + span::before {
    outline: 2px solid #064691;
    outline-offset: 3px;
}

.vp-offer-modal .vp-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.vp-offer-modal .error {
    border-color: #b91c1c;
}

.vp-offer-modal .vp-offer-modal__status {
    padding: 0 20px 20px;
    color: #166534;
}

.vp-offer-modal .vp-offer-modal__status.is-error {
    color: #b91c1c;
}

@media (max-width: 480px) {
    .vp-offer-modal {
        padding: 0;
    }

    .vp-offer-modal h3 {
        font-size: 20px;
    }
}
