/* Fondo oscuro con imagen */
body {
    background-image: url('../imgs/fondo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 100px; /* Adjust for fixed header */
}

/* Improved Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-header .container-fluid {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.fixed-header h1 {
    color: #333;
    margin: 0;
    font-size: 2.1rem;
    font-family: "Lugrasimo", cursive;
    font-weight: 800;
    font-style: normal;
}
  
.fixed-header img {
    max-width: 80px;
    height: auto;
}

/* Contenedor centrado y pequeño */
.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Estilo de botones */
.btn-light {
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
}

/* Tablas con bordes y sombra */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th,
.table td {
    text-align: center;
    vertical-align: middle;
}

.table th {
    background-color: #f4f4f4bc;
    color: #555;
}

/* Estilo de los inputs */
.form-control {
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #007bff;
}

/* Icono dentro del botón */
button i {
    margin-right: 8px;
}

/* Modal de confirmación */
#facturaModal .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

#facturaModal .modal-header {
    background-color: #007bff;
    color: white;
}

#facturaModal .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}