/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #df1111;
    color: white;
    padding: 15px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content img {
    height: 50px;
    margin-right: 15px;
}

main {
    padding: 120px 20px 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenedor-formulario {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px;
}

/* Estilos para tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-size: 14px;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Estilos para botones */
.botones-container {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.botones-centrados {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#btnAgregar {
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
}

#btnEliminar {
    background-color: #f44336;
    color: white;
}

#btnGuardar {
    background-color: #2196F3;
    color: white;
}

.btn-boleta {
    background-color: #FF9800;
    color: white;
    display: none;
}

.btn-agregar-serial {
    background-color: #4CAF50;
    color: white;
    margin-bottom: 20px;
    display: none;
}

.btn-eliminar-serial {
    background-color: #f44336;
    color: white;
}

/* Estilos para mensajes */
.mensaje-exito {
    color: green;
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
}

/* Estilos específicos */
.combinacion-container {
    display: none;
    margin-left: 10px;
}

.combinacion-container.visible {
    display: inline-block;
}

.preparacion-container {
    display: flex;
    align-items: center;
}

.check-verde {
    color: green;
    display: none;
    margin-left: 5px;
}

.check-verde.visible {
    display: inline-block;
}

.seccion-solicitud, .serologia-section {
    margin: 15px 0;
    border: 1px solid #ddd;
    padding: 10px;
    display: none;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}

footer a {
    color: white;
    text-decoration: none;
    background-color: #df1111;
    padding: 8px 15px;
    border-radius: 4px;
}

.main-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 200px);
}

.codigo-boleta {
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: center;
}

.encabezado-combinado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.titulo-datos-paciente {
    font-weight: bold;
}

/* Estilos para el área de observación */
.observacion-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

.observacion-container table {
    width: 100%;
    border-collapse: collapse;
}

.observacion-container th {
    background-color: #f2f2f2;
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.observacion-container td {
    padding: 8px;
    border: 1px solid #ddd;
}

.observacion-container input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}