/* Presupuesto Online - Wizard Styles */

.wizard-container {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.wizard-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    background: rgba(121, 246, 209, 0.1);
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--accent-green), #5dd4b8);
    height: 100%;
    width: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.progress-step.active {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(121, 246, 209, 0.1);
    border: 2px solid rgba(121, 246, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--background);
    box-shadow: 0 0 0 4px rgba(121, 246, 209, 0.15);
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.wizard-step {
    display: none !important;
    animation: fadeIn 0.4s;
}

.wizard-step.active {
    display: block !important;
}

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

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

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

.option-content {
    background: rgba(121, 246, 209, 0.03);
    border: 2px solid rgba(121, 246, 209, 0.15);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.option-card:hover .option-content {
    background: rgba(121, 246, 209, 0.06);
    border-color: rgba(121, 246, 209, 0.3);
    transform: translateY(-2px);
}

.option-card input:checked + .option-content {
    background: rgba(121, 246, 209, 0.1);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(121, 246, 209, 0.1);
}

.option-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.option-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.option-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.option-price {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-top: 1rem;
}

.option-time {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.option-time i {
    margin-right: 0.375rem;
    opacity: 0.7;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.helper-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0.75rem;
}

.form-control {
    width: 100%;
    background: rgba(121, 246, 209, 0.03);
    border: 2px solid rgba(121, 246, 209, 0.15);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    background: rgba(121, 246, 209, 0.06);
    border-color: var(--accent-green);
}

select.form-control {
    cursor: pointer;
}

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(121, 246, 209, 0.03);
    border: 2px solid rgba(121, 246, 209, 0.15);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover,
.checkbox-option:hover {
    background: rgba(121, 246, 209, 0.06);
    border-color: rgba(121, 246, 209, 0.25);
}

.radio-option input[type="radio"]:checked + span,
.checkbox-option input[type="checkbox"]:checked + span {
    color: var(--accent-green);
    font-weight: 600;
}

.radio-option input,
.checkbox-option input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-green);
}

.radio-option span,
.checkbox-option span {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.budget-summary {
    background: rgba(121, 246, 209, 0.05);
    border: 2px solid rgba(121, 246, 209, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.summary-header {
    background: linear-gradient(135deg, rgba(121, 246, 209, 0.15), rgba(121, 246, 209, 0.08));
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid rgba(121, 246, 209, 0.2);
}

.summary-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-content {
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(121, 246, 209, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    flex: 1;
}

.summary-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.summary-features {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(121, 246, 209, 0.08);
    border-top: 2px solid rgba(121, 246, 209, 0.2);
}

.summary-total span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.total-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-green);
}

.summary-note {
    background: rgba(121, 246, 209, 0.05);
    border: 1px solid rgba(121, 246, 209, 0.15);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.summary-note i {
    color: var(--accent-green);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.summary-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form {
    background: rgba(121, 246, 209, 0.03);
    border: 2px solid rgba(121, 246, 209, 0.15);
    border-radius: 0.75rem;
    padding: 2rem;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(121, 246, 209, 0.15);
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Manrope', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--background);
}

.btn-primary:hover {
    background: #5dd4b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(121, 246, 209, 0.3);
}

.btn-secondary {
    background: rgba(121, 246, 209, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(121, 246, 209, 0.2);
}

.btn-secondary:hover {
    background: rgba(121, 246, 209, 0.15);
    border-color: rgba(121, 246, 209, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.success-message p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 720px) {
    .wizard-container {
        padding: 1.5rem;
    }

    .progress-steps {
        gap: 0.5rem;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-content {
        padding: 1.5rem;
    }

    .option-icon {
        font-size: 2rem;
    }

    .wizard-navigation {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .wizard-navigation button {
        width: 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .total-price {
        font-size: 1.5rem;
    }
}
