/* ============================================
   Winloo Vendor Registration - Matches site colors
   ============================================ */

:root {
    /* Winloo / Kars theme colors */
    --ovr-primary: #F02801;
    --ovr-primary-dark: #121212;
    --ovr-primary-light: #FE8900;
    --ovr-accent: #FFC000;
    --ovr-bg: #F6F6F6;
    --ovr-bg-card: #ffffff;
    --ovr-border: #D8DDE1;
    --ovr-border-focus: #F02801;
    --ovr-text: #121212;
    --ovr-text-muted: #797E88;
    --ovr-error: #dc3545;
    --ovr-error-bg: #fef2f2;
    --ovr-radius: 12px;
    --ovr-radius-sm: 8px;
    --ovr-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --ovr-shadow-md: 0 4px 12px rgba(240, 40, 1, 0.12);
    --ovr-shadow-focus: 0 0 0 3px rgba(240, 40, 1, 0.25);
    --ovr-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Outer wrapper */
.ovr-form-outer {
    max-width: 680px;
    margin: 2rem auto 3rem;
    font-family: var(--ovr-font);
    color: var(--ovr-text);
    padding: 0 1rem;
}

/* Progress bar */
.ovr-progress-wrap {
    margin-bottom: 2rem;
}

.ovr-progress-bar {
    height: 6px;
    background: var(--ovr-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.ovr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ovr-primary) 0%, var(--ovr-primary-light) 100%);
    border-radius: 999px;
    width: 33.33%;
    transition: width 0.35s ease;
}

.ovr-form-outer[data-current-step="2"] .ovr-progress-fill { width: 66.66%; }
.ovr-form-outer[data-current-step="3"] .ovr-progress-fill { width: 100%; }

.ovr-step-labels {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.ovr-step-label {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ovr-text-muted);
    transition: color 0.25s ease;
}

.ovr-step-label::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 0.35rem;
    border-radius: 50%;
    background: var(--ovr-border);
    color: var(--ovr-text-muted);
    font-size: 0.75rem;
    line-height: 28px;
    font-weight: 700;
}

.ovr-step-label[data-step="1"]::before { content: "1"; }
.ovr-step-label[data-step="2"]::before { content: "2"; }
.ovr-step-label[data-step="3"]::before { content: "3"; }

.ovr-form-outer[data-current-step="1"] .ovr-step-label[data-step="1"],
.ovr-form-outer[data-current-step="2"] .ovr-step-label[data-step="1"],
.ovr-form-outer[data-current-step="2"] .ovr-step-label[data-step="2"],
.ovr-form-outer[data-current-step="3"] .ovr-step-label[data-step="1"],
.ovr-form-outer[data-current-step="3"] .ovr-step-label[data-step="2"],
.ovr-form-outer[data-current-step="3"] .ovr-step-label[data-step="3"] {
    color: var(--ovr-text);
}

.ovr-form-outer[data-current-step="1"] .ovr-step-label[data-step="1"]::before,
.ovr-form-outer[data-current-step="2"] .ovr-step-label[data-step="2"]::before,
.ovr-form-outer[data-current-step="3"] .ovr-step-label[data-step="3"]::before {
    background: var(--ovr-primary);
    color: #fff;
}

/* Form container */
#ovrForm {
    background: var(--ovr-bg-card);
    border-radius: var(--ovr-radius);
    box-shadow: var(--ovr-shadow-md);
    border: 1px solid var(--ovr-border);
    padding: 1.75rem;
}

/* Steps visibility */
.form-step {
    display: none !important;
    animation: ovr-fadeIn 0.3s ease;
}

.form-step.active {
    display: block !important;
}

@keyframes ovr-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wrapper inside each step */
.gform-wrapper {
    width: 100%;
    max-width: 100%;
}

/* Header block */
.gform-header {
    background: linear-gradient(135deg, #ffc1b4 0%, #f9b96f 100%);
    border: 1px solid var(--ovr-border);
    border-radius: var(--ovr-radius-sm);
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
}

.gform-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.375rem !important;
    font-weight: 500 !important;
    color: var(--ovr-primary-dark);
}

.gform-header hr {
    border: none;
    border-top: 1px solid var(--ovr-border);
    margin: 0.75rem 0;
}

.gform-header strong {
    font-size: 0.875rem;
    color: var(--ovr-text);
    font-weight: 600;
}

.required-note {
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    color: var(--ovr-text-muted);
}

.required-note + .required-note,
.gform-header span {
    color: var(--ovr-error);
}

/* Cards */
.gform-card {
    background: var(--ovr-bg-card) !important;
    padding: 1.25rem 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: var(--ovr-radius-sm) !important;
    border: 1px solid var(--ovr-border) !important;
    box-shadow: var(--ovr-shadow) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.gform-card:hover {
    border-color: rgba(240, 40, 1, 0.25) !important;
}

.gform-card h3 {
    margin: 0 0 0.25rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--ovr-primary-dark) !important;
}

.gform-card label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--ovr-text) !important;
}
.terms-checkbox label,
#ovr-terms-card .ovr-terms-accept-label {
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    color: var(--ovr-text) !important;
    font-weight: 500 !important;
}
/* Force Step 3 "I accept" checkbox to be visible */
#ovr-terms-card input[type="checkbox"][name="agree_terms"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    border: 1px solid var(--ovr-border) !important;
    border-radius: 3px !important;
    accent-color: var(--ovr-primary) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
button.remove-image-btn {
	display: block !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--ovr-text) !important;
}
.gform-card label span,
.gform-card .gform-card span {
    color: var(--ovr-error) !important;
}

/* Inputs */
.gform-card input[type="text"],
.gform-card input[type="email"],
.gform-card input[type="number"],
.gform-card select,
.gform-card textarea {
    width: -webkit-fill-available !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--ovr-border) !important;
    border-radius: var(--ovr-radius-sm) !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    color: var(--ovr-text) !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.gform-card input:focus,
.gform-card select:focus,
.gform-card textarea:focus {
    outline: none;
    border-color: var(--ovr-primary) !important;
    box-shadow: var(--ovr-shadow-focus) !important;
}

.gform-card input::placeholder,
.gform-card textarea::placeholder {
    color: var(--ovr-text-muted) !important;
}

.gform-card select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.25rem !important;
}

.gform-card textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* File inputs */
.gform-card input[type="file"] {
    padding: 0.65rem !important;
    font-size: 0.875rem !important;
    color: var(--ovr-text-muted) !important;
}

.gform-card .ovr-file-wrap {
    margin-top: 0.25rem !important;
}

/* Checkbox / radio group */
.checkbox-group,
.radio-group {
    flex-wrap: wrap !important;
    gap: 0.75rem 1.5rem !important;
}

.checkbox-group label,
.radio-group label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
}

/* Locality Serving: horizontal row, visible checkboxes, dark blue labels */
#ovr-locality-card .ovr-locality-label {
    color: #021526 !important;
    font-weight: 600 !important;
}
#ovr-locality-card .ovr-required-asterisk {
    color: var(--ovr-primary) !important;
}
#ovr-locality-card .ovr-locality-options {
/*     display: flex !important; */
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 1rem 1.5rem !important;
    margin-top: 0.5rem !important;
}
#ovr-locality-card .ovr-locality-option {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #021526 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}
/* Force checkboxes to be visible (override theme hiding) */
#ovr-locality-card .ovr-locality-options input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    border: 1px solid var(--ovr-border) !important;
    border-radius: 3px !important;
    accent-color: var(--ovr-primary) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
#ovr-locality-card .ovr-locality-other-wrap label {
    color: #021526 !important;
    font-weight: 500 !important;
}
#ovr-locality-card .ovr-locality-other-wrap input[type="text"] {
    margin-top: 0.35rem !important;
}

.radio-group label {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--ovr-border);
    border-radius: var(--ovr-radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.radio-group label:hover,
.radio-group label:has(input:checked) {
    border-color: var(--ovr-primary);
    background: rgba(240, 40, 1, 0.06);
}

.gform-card label input[type="radio"] {
    width: auto !important;
    margin-right: 0.35rem !important;
    accent-color: var(--ovr-primary) !important;
}

/* Agreement box (Step 3) */
.agreement-box {
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    background: #f8fafc !important;
    border: 1px solid var(--ovr-border) !important;
    border-radius: var(--ovr-radius-sm) !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    color: var(--ovr-text) !important;
}

.agreement-box h2,
.agreement-box h3 {
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--ovr-text) !important;
}

.agreement-box p {
    margin-bottom: 0.5rem !important;
}

.gform-card label input[type="checkbox"] {
    width: auto !important;
    margin-right: 0.35rem !important;
    accent-color: var(--ovr-primary) !important;
}
.gform-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 1.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ovr-border);
}

.next-btn,
.prev-btn,
.submit-btn {
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: var(--ovr-radius-sm) !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s !important;
}

.next-btn:active,
.prev-btn:active,
.submit-btn:active {
    transform: scale(0.98) !important;
}

.next-btn,
.submit-btn {
    color: #fff !important;
    background: linear-gradient(180deg, var(--ovr-primary) 0%, var(--ovr-primary-light) 100%) !important;
    box-shadow: 0 2px 6px rgba(240, 40, 1, 0.3) !important;
}
.gform-navigation button {
    color: #fff !important;
	background: #f75700;
}

.next-btn:hover,
.submit-btn:hover {
    background: linear-gradient(180deg, var(--ovr-primary-light) 0%, var(--ovr-primary) 100%) !important;
    box-shadow: 0 3px 10px rgba(240, 40, 1, 0.35) !important;
}

.prev-btn {
    background: #f1f5f9;
    color: var(--ovr-text) !important;
    border: 1px solid var(--ovr-border) !important;
}

.prev-btn:hover {
    background: linear-gradient(180deg, var(--ovr-primary-light) 0%, var(--ovr-primary) 100%) !important;
}

/* Validation */
.input-error {
    border-color: var(--ovr-error) !important;
    background: var(--ovr-error-bg) !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
}

.error-message {
    color: var(--ovr-error) !important;
    font-size: 0.8125rem !important;
    margin-top: 0.35rem !important;
    font-weight: 500 !important;
}

/* Success page */
.ovr-success {
    max-width: 520px;
    margin: 2rem auto 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--ovr-bg-card);
    border-radius: var(--ovr-radius);
    box-shadow: var(--ovr-shadow-md);
    border: 1px solid var(--ovr-border);
    font-family: var(--ovr-font);
}

.ovr-success-inner {
    max-width: 360px;
    margin: 0 auto;
}

.ovr-success .success-icon {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Placeholder when no success image is set */
.ovr-success-icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ovr-primary) 0%, var(--ovr-primary-light) 100%);
    position: relative;
}
.ovr-success-icon-placeholder::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
}

.ovr-success h2 {
    margin: 0 0 0.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--ovr-primary-dark) !important;
}

.ovr-success p {
    margin: 0 !important;
    font-size: 1rem !important;
    color: var(--ovr-text-muted);
}

/* Checkbox / radio global */
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box !important;
    padding: 0 !important;
    width: auto !important;
}

/* Responsive */
@media (max-width: 640px) {
    .ovr-form-outer {
        padding: 0 0.75rem;
        margin-top: 1rem;
    }

    #ovrForm {
        padding: 1.25rem;
    }

    .ovr-step-label {
        font-size: 0.75rem;
    }

    .ovr-step-label::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.6875rem;
    }

    .gform-navigation {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .gform-navigation .prev-btn,
    .gform-navigation .next-btn,
    .gform-navigation .submit-btn {
        width: 100% !important;
    }
}

button#add-more-images {
    font-size: 0.875rem !important;
}

button.remove-image-btn {
    color: #fff !important;
    padding: 15px !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    background: linear-gradient(180deg, var(--ovr-primary) 0%, var(--ovr-primary-light) 100%) !important;
}

/* ============================================
   Vendor Gate (Sell your two wheeler)
   ============================================ */

.ovr-gate-outer {
    max-width: 480px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    font-family: var(--ovr-font);
    color: var(--ovr-text);
}

.ovr-gate-card {
    background: var(--ovr-bg-card);
    border-radius: var(--ovr-radius);
    box-shadow: var(--ovr-shadow-md);
    border: 1px solid var(--ovr-border);
    padding: 1.75rem;
}

.ovr-gate-title {
    margin: 0 0 0.5rem !important;
    font-size: 1.375rem !important;
    font-weight: 600 !important;
    color: var(--ovr-primary-dark) !important;
}

.ovr-gate-intro {
    margin: 0 0 1.25rem !important;
    font-size: 1rem !important;
    color: var(--ovr-text-muted) !important;
}

.ovr-gate-error {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: var(--ovr-error-bg);
    border: 1px solid var(--ovr-error);
    border-radius: var(--ovr-radius-sm);
    color: var(--ovr-error);
    font-size: 0.9375rem;
}

.ovr-gate-choices {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ovr-gate-choice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--ovr-border);
    border-radius: var(--ovr-radius-sm);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.ovr-gate-choice:hover,
.ovr-gate-choice:has(input:checked) {
    border-color: var(--ovr-primary);
    background: rgba(240, 40, 1, 0.06);
}

.ovr-gate-choice input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ovr-primary);
}

.ovr-gate-code-wrap {
    display: none;
    margin-bottom: 1.25rem;
}

.ovr-gate-code-wrap.ovr-visible {
    display: block;
}

.ovr-gate-code-wrap label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    color: var(--ovr-text);
}

.ovr-gate-code-wrap .ovr-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ovr-border);
    border-radius: var(--ovr-radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.ovr-gate-code-wrap .ovr-input:focus {
    outline: none;
    border-color: var(--ovr-primary);
    box-shadow: var(--ovr-shadow-focus);
}

.ovr-gate-submit {
    margin: 0 !important;
}

.ovr-gate-submit .ovr-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--ovr-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.ovr-gate-submit .ovr-btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--ovr-primary) 0%, var(--ovr-primary-light) 100%);
}

.ovr-gate-submit .ovr-btn-primary:hover {
    background: linear-gradient(180deg, var(--ovr-primary-light) 0%, var(--ovr-primary) 100%);
}

/* button {
    background: linear-gradient(180deg, var(--ovr-primary) 0%, #d03632 100%) !important;
    border: none !important;
} */