/* Estilos generales para la vista de consulta de factura */
.vista-factura {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vista-factura h2,
.vista-factura h4,
.vista-factura h5 {
    color: #003366;
}

/* Instrucciones (columna izquierda) */
.card-instrucciones {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-instrucciones ul {
    padding-left: 0;
}

.card-instrucciones li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.icon-step {
    color: #007bff;
    margin-right: 10px;
}

/* Formulario de consulta (columna derecha) */
.card-consulta {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-consulta .form-control {
    border-radius: 6px;
    padding: 10px 15px;
}

.card-consulta label {
    font-weight: 600;
}

.card-consulta .btn-light {
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.card-consulta .btn-light:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Modal de factura */
.modal-content {
    border-radius: 10px;
}

.modal-footer img {
    max-height: 40px;
}

.modal-header {
    background-color: #f1f1f1;
}

.modal-header .heading {
    font-weight: bold;
    color: #333;
}

/* Errores */
.msj-error .alert {
    margin-top: 20px;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .card-instrucciones,
    .card-consulta {
        margin-bottom: 30px;
    }
    
/* Imagen circular destacada */
.factura-imagen-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.img-factura {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.25);
    transition: transform 0.3s ease;
}

.img-factura:hover {
    transform: scale(1.05);
}

/* Animación de aparición */
.animar-img {
    opacity: 0;
    animation: fadeInImg 1s ease forwards;
}
}
@keyframes fadeInImg {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}