.quote-main {
    background: #F8FAFC;
    min-height: calc(100vh - 80px);
    padding: 100px 0 120px;
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; 
    margin-bottom: 60px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.step-number {
    width: 48px; 
    height: 48px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-label {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.step.active .step-number {
    background: #0EA5E9;
    color: white;
}

.step.active .step-label {
    color: #0EA5E9;
    font-weight: 600;
}

.step.completed .step-number {
    background: #10B981;
    color: white;
    font-size: 0;
}

.step.completed .step-number::before {
    content: '✓';
    font-size: 24px; 
}

.step.completed .step-label {
    color: #10B981;
    font-weight: 600; 
}

.steps-content {
    position: relative;
}

.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

.step-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.required {
    color: #EF4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    color: #1E293B;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-control.error {
    border-color: #EF4444;
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    font-size: 13px;
    color: #EF4444;
    margin-top: 6px;
    min-height: 18px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: #0EA5E9;
    color: white;
}

.btn-primary:hover {
    background: #0284C7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

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

.btn-secondary {
    background: white;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-primary svg,
.btn-secondary svg {
    flex-shrink: 0;
}

.summary-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E2E8F0;
}

.summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
}

.summary-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 16px;
}

.product-count {
    font-size: 16px;
    color: #64748B;
    font-weight: 400;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

.summary-value {
    font-size: 15px;
    color: #1E293B;
    font-weight: 500;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.products-list::-webkit-scrollbar {
    width: 6px;
}

.products-list::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px;
}

.products-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.products-list::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.product-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: white;
}

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

.product-details {
    flex: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 4px;
}

.product-id {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 4px;
}

.product-quantity {
    font-size: 13px;
    color: #64748B;
}

.empty-message {
    text-align: center;
    color: #94A3B8;
    font-size: 14px;
    padding: 40px 0;
}

.checkbox-group {
    margin-top: 24px;
    margin-bottom: 0;
}

.checkbox-label {
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0EA5E9;
}

.checkbox-label a {
    color: #0EA5E9;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.confirmation-card {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.confirmation-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
}

.confirmation-text {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-card .btn-primary {
    max-width: 300px;
    margin: 0 auto;
}


/* Modal de Política de Tratamiento de Datos */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.policy-modal.active {
    display: flex;
}

.policy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.policy-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.policy-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.policy-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.3;
}

.policy-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #F3F4F6;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.policy-modal-close:hover {
    background: #E5E7EB;
    color: #374151;
}

.policy-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.policy-modal-body p {
    margin: 0 0 16px 0;
    line-height: 1.7;
    color: #374151;
    font-size: 15px;
    text-align: justify;
}

.policy-modal-body p:last-child {
    margin-bottom: 0;
}

.policy-modal-body strong {
    color: #1F2937;
    font-weight: 600;
}

.policy-modal-body a {
    color: #0EA5E9;
    text-decoration: none;
    font-weight: 500;
}

.policy-modal-body a:hover {
    text-decoration: underline;
}

.policy-modal-footer {
    padding: 20px 28px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: flex-end;
}

.policy-modal-footer .btn-primary {
    min-width: 140px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .quote-main {
        padding: 40px 0 80px;
    }

    .steps-indicator {
        gap: 30px; 
    }

    .step-number {
        width: 44px; 
        height: 44px;
        font-size: 16px;
    }

    .step-label {
        font-size: 13px;
    }

    .step-card {
        padding: 30px;
    }

    .step-card h2 {
        font-size: 24px;
    }

    .step-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

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

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .confirmation-card {
        padding: 40px 24px;
    }

    .confirmation-card h2 {
        font-size: 24px;
    }

    .policy-modal {
        padding: 10px;
    }

    .policy-modal-content {
        max-height: 90vh;
    }

    .policy-modal-header {
        padding: 20px;
    }

    .policy-modal-header h2 {
        font-size: 18px;
    }

    .policy-modal-body {
        padding: 20px;
    }

    .policy-modal-body p {
        font-size: 14px;
    }

    .policy-modal-footer {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .steps-indicator {
        gap: 20px; 
    }

    .step-label {
        font-size: 12px; 
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px 14px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 12px 20px;
    }
}
