/* cotizador.css - Estilos específicos para el cotizador */

.cotizador-container {
    position: relative;
    z-index: 1;
}

.cotizador-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.cotizador-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00d2ff, #0088cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cotizador-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.instructions-cotizador {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    border-left: 4px solid #00d2ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.instructions-cotizador h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #00d2ff;
}

.instructions-cotizador ol {
    padding-left: 25px;
    margin: 15px 0;
}

.instructions-cotizador li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.instructions-cotizador strong {
    color: #00d2ff;
}

.cotizador-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .cotizador-grid {
        grid-template-columns: 1fr;
    }
}

.cotizador-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0b2b4f;
}

.eye-section-cotizador {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.eye-section-cotizador h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00d2ff;
}

.eye-section-cotizador ul {
    list-style: none;
    padding-left: 0;
}

.eye-section-cotizador li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.eye-section-cotizador li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #00d2ff;
    font-weight: bold;
}

.examples-grid-cotizador {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.example-card-cotizador {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-card-cotizador:hover {
    background: #e6f7ff;
    transform: translateY(-5px);
    border-color: #00d2ff;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15);
}

.example-card-cotizador h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #00d2ff;
}

.example-code-cotizador {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-top: 10px;
    border: 1px solid #ddd;
    line-height: 1.5;
    white-space: pre-line;
    color: #333;
}

.cotizador-form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cotizador-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0b2b4f;
}

.form-visual-guide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #e6f7ff;
    border-radius: 12px;
    border: 1px solid #b3e5ff;
}

.form-visual-guide span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0b2b4f;
}

.eye-icon {
    color: #00d2ff;
    font-size: 1.2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0b2b4f;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
}

.format-example {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Courier New', monospace;
}

.format-example code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #00d2ff;
}

.parsed-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.parsed-value {
    text-align: center;
}

.value-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.value-number {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    color: #00d2ff;
    font-family: 'Courier New', monospace;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-checkbox:hover {
    background: #e6f7ff;
}

.form-checkbox input {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00d2ff;
}

.form-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
    flex: 1;
    color: #333;
}

.btn-cotizador {
    width: 100%;
    padding: 18px;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-cotizador-primary {
    background: linear-gradient(45deg, #00d2ff, #0088cc);
    color: white;
}

.btn-cotizador-primary:hover {
    background: linear-gradient(45deg, #00b8e6, #0077b3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3);
}

.cotizador-result {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #b3e5ff;
}

.cotizador-result h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0b2b4f;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin: 20px 0;
    color: #0b2b4f;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
    background: linear-gradient(45deg, #00d2ff, #0088cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.price-breakdown p {
    margin-bottom: 15px;
    color: #0b2b4f;
    font-weight: 600;
}

/* Botones de acción */
.result-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.whatsapp-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-action {
    background: white;
    border: 2px solid #00d2ff;
    color: #0b2b4f;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
}

.btn-action:hover {
    background: #00d2ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,210,255,0.3);
}

.btn-action i {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .whatsapp-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-action {
        width: 100%;
    }
}

/* Animación para el resultado */
@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.result-price.updated {
    animation: pricePulse 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .cotizador-header h1 {
        font-size: 2.2rem;
    }
    
    .cotizador-subtitle {
        font-size: 1rem;
    }
    
    .cotizador-form-container {
        padding: 25px 20px;
    }
    
    .parsed-results {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-visual-guide {
        flex-direction: column;
        gap: 10px;
    }
}