/* Quote Wizard */
.quote-wizard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-wizard-overlay.active {
    display: flex;
    opacity: 1;
}

.quote-wizard {
    background: var(--black);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.quote-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.quote-close:hover {
    color: var(--red);
    background: rgba(229, 57, 53, 0.1);
}

.quote-header {
    padding: 32px 32px 16px;
    text-align: center;
}

.quote-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.quote-header p {
    color: var(--gray);
    font-size: 0.9rem;
}

.quote-progress {
    padding: 0 32px;
    margin-bottom: 24px;
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.quote-progress-bar {
    height: 100%;
    background: var(--red);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 10%;
}

.quote-step-label {
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 0.75rem;
    color: var(--gray);
}

.quote-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 32px 24px;
    max-height: calc(85vh - 180px);
}

.quote-content::-webkit-scrollbar {
    width: 6px;
}

.quote-content::-webkit-scrollbar-track {
    background: var(--black-light);
    border-radius: 3px;
}

.quote-content::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}

.quote-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.quote-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.quote-step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.quote-step > p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.quote-option-group {
    margin-bottom: 24px;
}

.quote-option-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 500;
}

.quote-checkboxes,
.quote-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-checkboxes.inline,
.quote-radios.inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.quote-checkbox,
.quote-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.quote-checkbox:hover,
.quote-radio:hover {
    border-color: var(--red);
    background: rgba(229, 57, 53, 0.05);
}

.quote-checkbox.selected,
.quote-radio.selected {
    border-color: var(--red);
    background: rgba(229, 57, 53, 0.1);
}

.quote-checkbox input,
.quote-radio input {
    display: none;
}

.quote-checkbox-mark,
.quote-radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.quote-radio-mark {
    border-radius: 50%;
}

.quote-checkbox.selected .quote-checkbox-mark,
.quote-radio.selected .quote-radio-mark {
    border-color: var(--red);
    background: var(--red);
}

.quote-checkbox.selected .quote-checkbox-mark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.quote-radio.selected .quote-radio-mark::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.quote-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.quote-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.quote-input::placeholder {
    color: var(--gray);
}

textarea.quote-input {
    resize: vertical;
    min-height: 80px;
}

.quote-footer {
    padding: 16px 32px 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.quote-footer .btn {
    min-width: 140px;
}

/* Quote Result */
.quote-result {
    text-align: center;
    padding: 20px 0;
}

.quote-result-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.quote-result-icon svg {
    width: 40px;
    height: 40px;
    color: var(--red);
}

.quote-price-range {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 8px;
}

.quote-price-note {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.quote-services-summary {
    text-align: left;
    background: var(--black-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.quote-services-summary h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--red);
}

.quote-services-summary ul {
    list-style: none;
    padding: 0;
}

.quote-services-summary li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.quote-services-summary li:last-child {
    border-bottom: none;
}

.quote-services-summary li span:last-child {
    color: var(--red);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-wizard {
        max-height: 90vh;
        border-radius: 12px;
    }

    .quote-header {
        padding: 24px 20px 12px;
    }

    .quote-header h2 {
        font-size: 1.3rem;
    }

    .quote-progress {
        padding: 0 20px;
    }

    .quote-content {
        padding: 0 20px 20px;
    }

    .quote-footer {
        padding: 12px 20px 20px;
    }

    .quote-price-range {
        font-size: 1.5rem;
    }
}
