.d-none {
    display: none !important;
}

/**
 * Junk Car Medics - Vehicle Offer Form Styles
 */

/* ---------------- Base Styles ---------------- */
.jcm-offer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.jcm-logo {
    text-align: center;
    margin-bottom: 30px;
}

.jcm-logo img {
    max-width: 200px;
    height: auto;
}

/* ---------------- Typography ---------------- */
.jcm-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.jcm-section-desc {
    font-size: 14px;
    margin-bottom: 25px;
    color: #666;
}

.jcm-conditional-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a4a4a;
}

.jcm-input-help {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.jcm-input-example {
    color: #888;
}

.jcm-consent-text {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 20px;
}

/* ---------------- Progress Indicators ---------------- */
.jcm-progress-bar {
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.jcm-progress-steps {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jcm-progress-step {
    position: relative;
    flex: 1;
    padding: 15px 5px;
    text-align: center;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.jcm-progress-step.active {
    color: #0077be;
    border-bottom-color: #0077be;
}

.jcm-step-number {
    display: none;
}

.jcm-step-label {
    margin-top: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jcm-progress-track, .jcm-progress-fill {
    display: none;
}

/* Current step indicator */
.jcm-current-step-indicator {
    text-align: right;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

/* Mobile Progress Indicator (dashes) */
.jcm-mobile-progress {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 0 10px;
}

.jcm-mobile-step {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    margin: 0 3px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.jcm-mobile-step.active {
    background-color: #0077be;
}

.jcm-mobile-step.completed {
    background-color: #0077be;
}

/* Hide desktop progress steps on mobile */
@media (max-width: 768px) {
    .jcm-progress-steps {
        display: none;
    }
    
    .jcm-mobile-progress {
        display: flex;
    }
}

/* Hide mobile progress steps on desktop */
@media (min-width: 769px) {
    .jcm-mobile-progress {
        display: none;
    }
    
    .jcm-progress-steps {
        display: flex;
    }
}

/* Hide the text-based step indicator */
.jcm-current-step-indicator {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jcm-progress-step {
        padding: 10px 5px;
    }
    
    .jcm-step-label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .jcm-progress-steps {
        display: none;
    }
    
    .jcm-mobile-step-indicator {
        display: block;
        margin-bottom: 15px;
    }
}

/* Vehicle Summary */
.jcm-vehicle-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.jcm-vehicle-summary-text {
    font-size: 14px;
    color: #333;
}

.jcm-change-vehicle {
    color: #0077be;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.jcm-change-vehicle:hover {
    color: #025aa5;
    text-decoration: underline;
}

/* ---------------- Form Elements ---------------- */
.jcm-form-wrapper {
    position: relative;
}

.jcm-section {
    display: none;
    margin-bottom: 30px;
}

.jcm-section.active {
    display: block;
}

.jcm-form-group {
    margin-bottom: 25px;
}

.jcm-form-row {
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
}

.jcm-form-col {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
}

label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.required {
    color: #dc3545;
}

.jcm-input-error {
    border-color: #dc3545;
}

.jcm-input-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.jcm-input-success {
    border-color: #28a745;
}

.jcm-input-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.jcm-input-processing {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" fill="none" stroke="%230077be" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform></circle></svg>');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.jcm-input-error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.jcm-vin-info {
    color: #0077be;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jcm-vin-info:hover {
    color: #025aa5;
    text-decoration: underline;
}


/* VIN Field Enhancements */
.jcm-vin-input-wrapper {
    position: relative;
}

.jcm-vin-input {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-right: 60px; /* Make room for counter */
}

.jcm-vin-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    background-color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.jcm-vin-counter.complete {
    color: #28a745;
    font-weight: 600;
}

.jcm-vin-counter.error {
    color: #dc3545;
    font-weight: 600;
}

.jcm-vin-counter.invalid-char {
    color: #ff6b35;
    font-weight: 600;
}

/* Adjust input styling when focused to accommodate counter */
.jcm-vin-input:focus + .jcm-vin-counter {
    background-color: #f8f9fa;
}

/* Make sure the counter stays visible with processing state */
.jcm-vin-input.jcm-input-processing + .jcm-vin-counter {
    right: 40px; /* Move left to avoid the spinner */
}

/* ---------------- Tabs ---------------- */
/* Tab Container - Updated to match design */
.jcm-tab-container {
    margin-bottom: 25px;
}

.jcm-tabs {
    display: flex;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.jcm-tab {
    flex: 1;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    border: none;
    border-right: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
}

.jcm-tab:last-child {
    border-right: none;
}

.jcm-tab.active {
    background-color: #F0F8FF;
	border-style:solid;
	border-width:1px;
    border-color: #0077be;

}

.jcm-tab-panel {
    display: none;
    padding-top: 15px;
}

.jcm-tab-panel.active {
    display: block;
}

/* ---------------- Radio & Checkbox Styles ---------------- */
/* Radio & Checkbox Styles - Updated for inline/grid layouts */
.jcm-radio-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jcm-radio-group-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.jcm-radio-group-inline .jcm-radio {
    flex: 1;
    min-width: 45%;
}

.jcm-radio-group-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.jcm-radio-group-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.jcm-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jcm-checkbox-group-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.jcm-checkbox-group-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Radio button and checkbox styling */
.jcm-radio,
.jcm-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.jcm-radio:hover,
.jcm-checkbox:hover {
    background-color: #f9f9f9;
}

.jcm-radio.checked,
.jcm-checkbox.checked {
    border-color: #0077be;
    background-color: #f0f7ff;
}

.jcm-radio input[type="radio"],
.jcm-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.jcm-radio-text,
.jcm-checkbox-text {
    padding-left: 30px;
    position: relative;
    font-size: 16px;
	font-weight: 400;
    color: #333;
}

.jcm-radio-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.jcm-radio.checked .jcm-radio-text:before {
    border-color: #0077be;
}

.jcm-radio.checked .jcm-radio-text:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0077be;
}

.jcm-checkbox-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.jcm-checkbox.checked .jcm-checkbox-text:before {
    border-color: #0077be;
    background-color: #0077be;
}

.jcm-checkbox.checked .jcm-checkbox-text:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Responsive adjustments for grid layouts */
@media (max-width: 768px) {
	
	.jcm-tab {
    	padding: 12px 0px;
    	font-size: 12px;
}
	
    .jcm-radio-group-2col,
    .jcm-radio-group-3col,
    .jcm-checkbox-group-2col,
    .jcm-checkbox-group-3col {
        grid-template-columns: 1fr;
    }
    
    .jcm-radio-group-inline {
        flex-direction: column;
    }
    
    .jcm-radio-group-inline .jcm-radio {
        width: 100%;
    }
}

/* ---------------- Conditional Fields ---------------- */
.jcm-conditional-field {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #6c757d;
}

.jcm-ownership-error {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #fff8f8;
    border-left: 3px solid #dc3545;
    color: #dc3545;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

/* ---------------- Buttons ---------------- */
.jcm-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 15px; /* Add gap between buttons */
}

.jcm-button-back {
    flex: 1;
    background-color: #ffffff;
    color: #555;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
	text-decoration:underline;
}

.jcm-button-back:hover {
    background-color: #e9e9e9;
    color: #333;
}

.jcm-button-primary {
    background-color: #0077be;
    color: #fff;
}

.jcm-button-primary:hover {
    background-color: #025aa5;
}

.jcm-button-primary,
.jcm-button-next,
.jcm-button-submit {
    flex: 1; /* Make it take up equal space */
    text-align: center;
}

.jcm-button-next {
    background-color: #0077be;
    color: #fff;
}

.jcm-button-next:hover {
    background-color: #025aa5;
}

.jcm-button-submit {
    background-color: #28a745;
    color: #fff;
}

.jcm-button-submit:hover {
    background-color: #218838;
}

.jcm-button-processing {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.jcm-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* ---------------- Modal/Popup Styles ---------------- */
.jcm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.jcm-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.jcm-modal-header {
	text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.jcm-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.jcm-modal-close {
    font-size: 28px;
    font-weight: 700;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.jcm-modal-close:hover {
    color: #333;
}

.jcm-modal-body {
    padding: 20px;
}

.jcm-modal-body p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.jcm-modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.jcm-modal-body li {
    margin-bottom: 8px;
}

.jcm-vin-example {
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    margin: 15px 0;
    border-radius: 4px;
}

.jcm-vin-image {
    text-align: center;
    margin-top: 20px;
}

.jcm-vin-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Error and Warning Messages Styles */
.jcm-error-message {
=    margin-bottom: 20px;
    padding: 12px 15px;
    background-color: #f8d7da;
    border-radius: 6px;
    color: #721c24;
    border-left: 3px solid #dc3545;
    font-size: 14px;
    line-height: 1.5;
}

.jcm-ownership-error {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #fff8f8;
    border-left: 3px solid #dc3545;
    color: #dc3545;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.jcm-title-warning {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

/* When visible class is added */
.jcm-ownership-error.visible,
.jcm-title-warning.visible,
.jcm-error-message.visible {
    display: block !important;
}

/* Original form error style fix */
.display-error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

.display-error-message.visible {
    display: block !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 768px) {
    .jcm-offer-container {
        padding: 15px;
    }
    
    .jcm-section-title {
        font-size: 22px;
    }
    
    .jcm-form-row {
        flex-direction: column;
    }
    
    .jcm-form-col {
        margin-bottom: 15px;
    }
	    .jcm-form-actions {
        flex-direction: row; /* Keep buttons on same row for mobile */
        gap: 10px;
    }

    .jcm-form-actions {
        flex-direction: row; /* Keep buttons side by side */
    }
    
    .jcm-button {
        font-size: 14px;
        padding: 12px 10px;    }
    
    .jcm-button-back {
        padding: 10px 0;
        margin-right: auto; /* Push to left */
    }
    
    .jcm-button-primary,
    .jcm-button-next,
    .jcm-button-submit {
        margin-left: auto; /* Push to right */
    }
}

@media (max-width: 480px) {
    .jcm-section-title {
        font-size: 20px;
    }
    
    .jcm-section-desc {
        font-size: 14px;
    }
}

/* ACCEPT FORM */
.jcm-accept-offer-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Logo Container */
.jcm-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.jcm-logo-container img {
    max-width: 200px;
    height: auto;
}

/* Form Container */
.jcm-form-container {
    padding: 0 15px;
}

/* Typography */
.jcm-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.jcm-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.jcm-vehicle-details {
    font-weight: 600;
}

.jcm-price {
    color: #007bff;
    font-weight: 700;
}

/* Form Layout */
.jcm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .jcm-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Elements */

.jcm-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #333;
    font-size: 18px;
	line-height:1.5;
}

input[type=text]{
	background-color:#ffffff;
	border-color:#333;
}

.jcm-input, 
.jcm-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background-color: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.jcm-input:focus, 
.jcm-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
    background-color: #fff;
}

.jcm-input.is-invalid,
.jcm-select.is-invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

/* Required Field */
.required {
    color: #dc3545;
}

/* Submit Button */
.jcm-form-submit {
    text-align: center;
    margin-top: 20px;
}

.jcm-button {
    background-color: #0077be;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.jcm-button:hover {
    background-color: #0056b3;
}

.jcm-button:active {
    background-color: #004494;
}

.jcm-button.disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.jcm-button i.fa-spinner {
    margin-right: 8px;
}


/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .jcm-accept-offer-container {
        padding: 20px 15px;
        margin: 15px auto;
    }
    
    .jcm-title {
        font-size: 20px;
    }
    
    .jcm-button {
        width: 100%;
    }
}


/**
 * Junk Car Medics - Offer
 */

/* Header with Logo */
.jcm-offer-header {
    text-align: center;
    padding-bottom: 1.5rem;
}

.jcm-offer-logo {
    max-width: 200px;
    height: auto;
}

/* Main Offer Section */
.jcm-offer-main {
    padding: 0 1rem;
}

.jcm-offer-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
    line-height: 1.3;
}

/* Offer Amount and Button */
.jcm-offer-amount-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
	margin-top:2rem;
}

.jcm-offer-amount {
    font-size: 110px;
    font-weight: 800;
    color: #2c2c2c;
}

.jcm-offer-accept-button {
    background-color: #0077be;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s;
    text-align: center;
}

.jcm-offer-accept-button:hover {
    background-color: #005a95;
    color: white;
    text-decoration: none;
}

/* Pickup Info */
.jcm-offer-pickup {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jcm-offer-pickup-icon {
    margin-right: 15px;
    font-size: 20px;
    color: #0077be;
}

.jcm-offer-pickup-text {
    font-size: 16px;
    color: #2c2c2c;
}

/* Vehicle Details Section */
.jcm-offer-details {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jcm-offer-vehicle-info {
    display: flex;
    gap: 15px;
	font-size:16px;
}

.jcm-offer-vehicle-year,
.jcm-offer-vehicle-model {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
}

.jcm-offer-id {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #505050;
}

.save-your-offer {
    background: none;
    border: none;
    color: #0077be;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px;
    position: relative;
}

.save-your-offer:hover::after {
    content: "Save for later";
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    white-space: nowrap;
}

/* Info Panels */
.jcm-offer-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.jcm-offer-panel {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
}

.jcm-offer-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.jcm-offer-panel-header h3 {
    font-size: 16px !important;;
    font-weight: 500 !important;;
    color: #2c2c2c !important;;
    margin: 0 !important;;
}
.jcm-offer-info-button {
    background: none;
    border: none;
    color: #0077be;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 18px;
    padding: 5px;
}

.jcm-offer-info-button:hover {
    color: #005a95;
}

.jcm-offer-panel-content {
    color: #505050;
    font-size: 15px;
    line-height: 1.5;
}

/* Offer Validity */
.jcm-offer-validity {
    text-align: center;
    font-size: 14px;
    color: #505050;
    margin-top: 1.5rem;
}

/* Popup Styles */
.jcm-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.jcm-popup-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.jcm-popup-header {
    padding: 1.2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jcm-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
}

.jcm-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #777;
    cursor: pointer;
}

.jcm-popup-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.jcm-popup-body p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.jcm-popup-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.jcm-popup-item:last-child {
    margin-bottom: 0;
}

.jcm-popup-item-icon {
    color: #0077be;
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.jcm-popup-item-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
}

.jcm-popup-item-content p {
    margin: 0;
    color: #505050;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .jcm-offer-amount-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .jcm-offer-amount {
        font-size: 80px;
    }
    
    .jcm-offer-accept-button {
        width: 100%;
    }
    
    .jcm-offer-panels {
        grid-template-columns: 1fr;
    }
    
    .jcm-offer-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .jcm-offer-amount {
        font-size: 60px;
    }
    
    .jcm-offer-title {
        font-size: 24px;
    }
}

/* Confirmation Page Styles */
.jcm-confirmation-container {
    max-width: 1000px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 1.5rem;
}

/* Header with Logo */
.jcm-confirmation-header {
    text-align: center;
    padding-bottom: 1.5rem;
}

.jcm-confirmation-logo {
    max-width: 200px;
    height: auto;
}

/* Success Check Icon */
.jcm-success-check {
    text-align: center;
    font-size: 60px;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Main Content */
.jcm-confirmation-main {
    padding: 0 1rem;
}

.jcm-confirmation-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
    line-height: 1.3;
}

.jcm-confirmation-message {
    font-size: 20px;
    text-align: center;
    color: #2c2c2c;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.jcm-vehicle-details {
    font-weight: 600;
}

.jcm-price {
    color: #0077be;
    font-weight: 700;
}

/* Pickup Info */
.jcm-confirmation-pickup {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jcm-confirmation-pickup-icon {
    margin-right: 15px;
    font-size: 20px;
    color: #0077be;
}

.jcm-confirmation-pickup-text {
    font-size: 16px;
    color: #2c2c2c;
}

/* Vehicle Details Section */
.jcm-confirmation-details {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.jcm-confirmation-vehicle {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
}

.jcm-confirmation-ref {
    font-size: 14px;
    color: #505050;
}

/* Single Panel */
.jcm-confirmation-panel {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.jcm-confirmation-panel-header {
    margin-bottom: 15px;
}

.jcm-confirmation-panel-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.jcm-confirmation-panel-content {
    color: #505050;
    font-size: 15px;
    line-height: 1.5;
}

.jcm-confirmation-panel-content p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.jcm-confirmation-panel-content p:last-child {
    margin-bottom: 0;
}

.jcm-confirmation-steps {
    margin: 0 0 1.5rem 0;
    padding-left: 20px;
}

.jcm-confirmation-steps li {
    margin-bottom: 10px;
}

.jcm-confirmation-steps li:last-child {
    margin-bottom: 0;
}

/* Questions Section */
.jcm-confirmation-questions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.jcm-confirmation-questions h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 1rem 0;
}

.jcm-confirmation-questions a {
    color: #0077be;
    text-decoration: none;
}

.jcm-confirmation-questions a:hover {
    text-decoration: underline;
}

/* Action Buttons */
.jcm-confirmation-actions {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.jcm-home-button {
    background-color: #0077be;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s;
    display: inline-block;
}

.jcm-home-button:hover {
    background-color: #005a95;
    color: white;
    text-decoration: none;
}

/* Offer Validity */
.jcm-confirmation-validity {
    text-align: center;
    font-size: 14px;
    color: #505050;
    margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .jcm-confirmation-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.year-make-model-from-vin {
    display: none !important;
}

@media (max-width: 480px) {
    .jcm-confirmation-title {
        font-size: 24px;
    }
    
    .jcm-confirmation-message {
        font-size: 18px;
    }
    
    .jcm-home-button {
        width: 100%;
    }
}

.jcm-input-loading {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" fill="none" stroke="%230077be" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform></circle></svg>');
            background-position: right 10px center;
            background-repeat: no-repeat;
            background-size: 20px;
        }

/* Additional CSS for vehicle logic */

/* Disabled radio button styling */
.jcm-radio-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.jcm-radio-disabled .jcm-radio-text {
    color: #999 !important;
}

.jcm-radio-disabled:hover {
    background-color: #fff !important;
}

/* Warning message styling improvements */
.jcm-title-warning {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

.jcm-ownership-error {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #fff8f8;
    border-left: 3px solid #dc3545;
    color: #dc3545;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

/* Slide down animation for warnings */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* When visible class is added */
.jcm-ownership-error.visible,
.jcm-title-warning.visible {
    display: block !important;
}

/* Enhanced conditional field styling */
.jcm-conditional-field {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #6c757d;
    animation: slideDown 0.3s ease-out;
}

/* Add this to your style.css file */

/* Unable to verify mileage checkbox styling */
.jcm-mileage-unable-verify {
    margin-top: 12px;
}

.jcm-mileage-unable-verify .jcm-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #505050;
    user-select: none;
}

.jcm-mileage-unable-verify .jcm-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.jcm-mileage-unable-verify .jcm-checkbox-text {
    font-weight: normal;
    line-height: 1.4;
}

/* Disabled mileage input styling */
#vehicle-mileage:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Adjust help text when mileage is unverifiable */
.jcm-input-help {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

/* Optional: Add a hover effect for the checkbox label */
.jcm-mileage-unable-verify .jcm-checkbox:hover .jcm-checkbox-text {
    color: #333;
}

.jcm-input-processing {
    background-image: url('data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px !important;
}

/* Enhanced JCM Button Primary Styles */
.jcm-button-primary {
    background: linear-gradient(135deg, #0077be 0%, #005a9a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    min-height: 54px; /* Ensure consistent height */
}

/* Shine effect */
.jcm-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.jcm-button-primary:hover::before {
    left: 100%;
}

/* Hover state */
.jcm-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 119, 190, 0.3),
        0 4px 8px rgba(0, 119, 190, 0.1);
    background: linear-gradient(135deg, #0087d4 0%, #0066aa 100%);
}

/* Active state */
.jcm-button-primary:active {
    transform: translateY(0);
}

/* If the button has an arrow or icon */
.jcm-button-primary .btn-arrow,
.jcm-button-primary i {
    transition: transform 0.3s ease;
}

.jcm-button-primary:hover .btn-arrow,
.jcm-button-primary:hover i {
    transform: translateX(4px);
}

/* Processing state enhancements */
.jcm-button-primary.jcm-button-processing {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.jcm-button-primary.jcm-button-processing:hover {
    transform: none;
    box-shadow: none;
}

/* Disabled state */
.jcm-button-primary:disabled,
.jcm-button-primary.disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.jcm-button-primary:disabled:hover,
.jcm-button-primary.disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .jcm-button-primary {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* Optional: If you want to apply similar styling to other button types */
.jcm-button-next {
    background: linear-gradient(135deg, #0077be 0%, #005a9a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    min-height: 54px;
}

.jcm-button-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.jcm-button-next:hover::before {
    left: 100%;
}

.jcm-button-next:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 119, 190, 0.3),
        0 4px 8px rgba(0, 119, 190, 0.1);
    background: linear-gradient(135deg, #0087d4 0%, #0066aa 100%);
}

.jcm-button-next:active {
    transform: translateY(0);
}

/* Submit button with green gradient */
.jcm-button-submit {
    /* background: linear-gradient(135deg, #28a745 0%, #20834a 100%); */
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    min-height: 54px;
}

.jcm-button-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.jcm-button-submit:hover::before {
    left: 100%;
}

/* .jcm-button-submit:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(40, 167, 69, 0.3),
        0 4px 8px rgba(40, 167, 69, 0.1);
    background: linear-gradient(135deg, #32c760 0%, #28a745 100%);
} */

.jcm-button-submit:active {
    transform: translateY(0);
}