/* Veranda Product Configurator Styles */

.vpc-configurator {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 40px 0;
    padding: 0;
}

.vpc-container {
    display: flex;
    gap: 30px;
    min-height: 600px;
}

/* Preview Section (Left) */
.vpc-preview {
    flex: 1;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    max-height: 600px;
    overflow: hidden;
}

.vpc-preview-placeholder {
    color: #999;
    font-size: 16px;
}

.vpc-preview img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Panel Section (Right) */
.vpc-panel {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    background: #fafaf8;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.vpc-panel-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.vpc-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.vpc-panel-content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.vpc-panel-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

/* Question Styling */
.vpc-question {
    margin-bottom: 20px;
}

.vpc-question-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

/* Radio Options */
.vpc-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vpc-option {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vpc-option:hover {
    background: #fafaf8;
    border-color: #e0e0e0;
}

.vpc-option.selected {
    border-color: #FFB703;
    background: #fff;
}

.vpc-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vpc-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vpc-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vpc-option.selected .vpc-option-radio {
    border-color: #FFB703;
}

.vpc-option.selected .vpc-option-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #FFB703;
    border-radius: 50%;
}

.vpc-option-text {
    font-size: 14px;
    color: #333;
}

.vpc-option-description {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.vpc-option-badge {
    font-size: 11px;
    background: #FFB703;
    color: #1C1917;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.vpc-option-label {
    color: #FFB703;
    font-size: 14px;
    font-weight: 500;
}

/* Number Inputs (Dimensions) */
.vpc-dimensions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vpc-dimension-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vpc-dimension-field label {
    font-size: 14px;
    color: #333;
}

.vpc-dimension-field input {
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.vpc-dimension-field input:focus {
    outline: none;
    border-color: #FFB703;
}

/* Field Errors */
.vpc-field-error {
    color: #dc2626;
    font-size: 13px;
    min-height: 0;
}

.vpc-field-error:empty {
    display: none;
}

.vpc-error-icon {
    margin-right: 4px;
}

.vpc-input-error {
    border-color: #dc2626 !important;
}

/* Contact Form */
.vpc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vpc-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vpc-form-field label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.vpc-form-field input[type="text"],
.vpc-form-field input[type="email"],
.vpc-form-field input[type="tel"],
.vpc-form-field select {
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.vpc-form-field input:focus,
.vpc-form-field select:focus {
    outline: none;
    border-color: #FFB703;
}

.vpc-form-field input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
}

.vpc-contact-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vpc-contact-option {
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.vpc-contact-option:hover {
    border-color: #ccc;
}

.vpc-contact-option.selected {
    border-color: #FFB703;
    background: #fff;
}

/* Buttons */
.vpc-btn {
    padding: 20px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vpc-btn-next {
    flex: 1;
    background: #FFB703;
    color: #1C1917;
    justify-content: center;
    border-radius: 50px;
}

.vpc-btn-next:hover {
    background: #e5a503;
}

.vpc-btn-back {
    background: #f5f5f5;
    color: #333;
    padding: 14px 15px;
}

.vpc-btn-back:hover {
    background: #e8e8e8;
}

.vpc-arrow-right::after {
    content: '\2192';
}

.vpc-arrow-left::before {
    content: '\2190';
}

/* Thank You Page */
.vpc-thankyou {
    text-align: center;
    padding: 40px 20px;
}

.vpc-thankyou h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.vpc-thankyou p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Hidden */
.vpc-hidden {
    display: none !important;
}

/* Selections Summary */
.vpc-selections-summary {
    background: #f0f0f0;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.vpc-summary-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.vpc-summary-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
}

.vpc-summary-item {
    color: #555;
}

.vpc-summary-label {
    font-weight: 500;
    color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .vpc-container {
        flex-direction: column;
    }

    .vpc-preview {
        min-height: 300px;
    }

    .vpc-panel {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .vpc-configurator {
        padding: 10px;
    }

    .vpc-panel-content {
        padding: 15px;
    }

    .vpc-panel-footer {
        padding: 15px;
    }
}
