/* Get a Quote Form Styles */
.kgpos-get-quote-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1e293b;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.required {
    color: #ef4444;
}

.help-text {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Service Options */
.service-options {
    display: grid;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: #D4AF37;
    background: #fffbf0;
}

.radio-option input[type="radio"] {
    margin-top: 2px;
    margin-right: 12px;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked ~ .radio-content {
    color: #1e293b;
}

.radio-option:has(input:checked) {
    border-color: #D4AF37;
    background: #fffbf0;
}

.radio-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1e293b;
}

.radio-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* File Upload */
.file-upload-area {
    position: relative;
}

#quote-images {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.upload-label:hover {
    border-color: #D4AF37;
    background: #fffbf0;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 13px;
    color: #6b7280;
}

/* Image Preview */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-preview:hover {
    background: #ef4444;
}

/* Consent Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.consent-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #F4E5A6 100%);
    color: #1a1a1a;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Modal */
.kgpos-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    font-size: 48px;
    line-height: 80px;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 28px;
}

.modal-content p {
    color: #6b7280;
    margin-bottom: 10px;
}

.inquiry-number {
    font-weight: 600;
    color: #D4AF37;
    font-size: 18px;
}

.close-modal {
    margin-top: 20px;
    padding: 12px 30px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #334155;
}

/* Responsive */
@media (max-width: 768px) {
    .kgpos-get-quote-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .image-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}