/* ==========================
   QUOTE FORM STYLES
   User's Working CSS
   ========================== */

/* Quote Section - Ensure visibility */
.quote-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100px;
    background-color: #f5f5f5;
    padding: 48px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.1rem;
    color: #666;
}

.quote-section .container,
.quote-container {
    max-width: 1600px;
    margin: 0 auto;
	padding-bottom 50; 
	padding-top: 0;
    padding-left: 20;
    padding-left: 20;
}

/* Step Section */
.step-section {
    margin-bottom: 60px;
}

.step-header {
    text-align: center;
    margin-bottom: 28px;
}

.step-header h3 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
}

/* Wrap Grid */
.wrap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* Wrap Card */
.wrap-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.wrap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.wrap-card.selected {
    border-color: #e74c3c;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    transform: translateY(-4px);
}

/* Selected Footer Badge */
.wrap-card::after {
    content: '';
    display: none;
    background: #e74c3c;
    color: white;
    text-align: center;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px;
    margin-top: auto;
}

.wrap-card.selected::after {
    content: '✓ SELECTED';
    display: block;
}

.wrap-card.special-offer {
    border: 2px solid #e74c3c;
}

.wrap-card.most-popular {
    border: 2px solid #27ae60;
}

/* Badge */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.badge.popular {
    background: #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

/* Wrap Image */
.wrap-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.wrap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wrap-card:hover .wrap-image img {
    transform: scale(1.25);
}

/* Wrap Info */
.wrap-info {
    padding: 14px;
}

.wrap-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
    line-height: 1.3;
}

.wrap-info .price {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.wrap-info .price strong {
    font-size: 18px;
    font-weight: 900;
    color: #e74c3c;
}

.wrap-info .price.special strong {
    color: #27ae60;
}

.wrap-info .price .strikethrough {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.wrap-info .promo-end {
    font-size: 10px;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.wrap-info .description {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.wrap-info .note {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

/* Info Cards */
.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    text-align: center;
    min-height: 200px;
}

.info-card.award {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.info-card.loan {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-card .info-text h4 {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
}

.info-card .info-text p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

/* Quote Form */
.quote-form {
    background: #f8f9fa;
    border-radius: 0;
    padding: 40px;
    box-shadow: none;
    max-width: 1200px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.contact-method {
    grid-column: 1 / -1;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #EC3028;
    box-shadow: 0 0 0 3px rgba(236, 48, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #EC3028;
}

/* Select Dropdown Styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
    width: 100%;
}

.form-group select:hover {
    border-color: #999;
}

/* Info Icon */
.info-icon {
    font-size: 14px;
    cursor: help;
    opacity: 0.7;
    margin-left: 4px;
}

/* Ensure artwork field label and select are properly aligned */
.form-group label {
    display: flex;
    align-items: center;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 13px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #EC3028;
}

.radio-label span {
    font-weight: 400;
    color: #333;
}

/* Image Upload */
.image-upload-group {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.image-upload-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.select-image-btn {
    padding: 12px 10px;
    background: white;
    border: 1px dashed #ccc;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    text-align: center;
}

.select-image-btn:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
}

.select-image-btn.has-image {
    background: #27ae60;
    border-color: #27ae60;
    border-style: solid;
    color: white;
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.image-preview {
    width: 100%;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    display: none;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #EC3028;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(236, 48, 40, 0.3);
}

.submit-btn:hover {
    background: #d82820;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 48, 40, 0.4);
}

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

/* Vehicle Types */
.vehicle-types {
    margin-top: 60px;
    text-align: center;
}

.vehicle-types h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #222;
}

.vehicle-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.vehicle-btn {
    padding: 12px 18px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.vehicle-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}

.vehicle-btn.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* Success/Error Messages */
.success-message,
.error-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show,
.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spinner.show {
    opacity: 1;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .quote-section {
        padding: 40px 0;
        display: block !important;
    }
    
    .quote-section .container,
    .quote-container {
        padding: 80px 16px;
    }
    
    .page-title {
        margin-bottom: 40px;
    }
    
    .page-title h2 {
        font-size: 1.8rem;
    }
    
    .page-title p {
        font-size: 1rem;
    }
    
    .step-header h3 {
        font-size: 20px;
    }

    .quote-form {
        padding: 24px 16px;
    }
    
    .wrap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .image-upload-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .radio-group {
        gap: 20px;
    }
    
    .vehicle-buttons {
        grid-template-columns: 1fr;
    }
    
    .vehicle-types h3 {
        font-size: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wrap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row .form-group:nth-child(3) {
        grid-column: 1 / -1;
    }

    .image-upload-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .wrap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
