/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    min-width: 100%;
}

/* Encabezado */
.header {
    background-color: hsl(0, 61%, 45%);
    color: #fff;
    text-align: center;
    padding: 15px;
}

h1, h2 {
    text-align: center;
}

/* Contenedor para los menús */
.menu-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacio entre los menús desplegables */
    margin: 20px auto;
}

.menu-desplegable {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Tabla */
.tabla-container {
    width: 90%;
    margin: 20px auto;
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(185, 20, 20, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: hsl(0, 61%, 45%);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #eaeaea;
}

/* Específico para detalle_rodeo */
td {
    vertical-align: top;
    line-height: 1.5; /* Mejora la legibilidad en celdas con múltiples líneas */
}

/* Estilo del pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    margin: 100px auto;
    position: relative;
}

.popup table {
    width: 100%;
    border-collapse: collapse;
}

.popup th, .popup td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.popup th {
    background-color: #343a40;
    color: white;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #343a40;
}

/* Detalles dinámicos del pop-up */
#detalles-popup {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

#detalles-popup p {
    margin: 5px 0;
}

#detalles-popup span {
    font-weight: bold;
    color: hsl(0, 61%, 45%);
}

.volver-home {
    text-align: center;
    margin: 20px 0;
}

.volver-home button {
    background-color: #bd2e2e;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.volver-home button:hover {
    background-color: #1755da;
}




/*Landing*/

.first_header{
  
  background-color: hsl(0, 61%, 45%);
  color: #FFFFFF;
  font-family: Arial, sans-serif; /* Puedes reemplazar por la fuente que necesites */
  font-size: 12px;
  padding: 10px 20px;
  text-align: center;
}

.menu_item{

    color: black;
    font-size: 14px;   
}

.header_tittle {
    background-image: url(../img/frontend/fondo_titulos.png);
    background-repeat: no-repeat;
    background-size: cover;
  /* background-color: hsl(0, 61%, 45%); */
  color: #fff;
  font-size: 35px;
  padding: 25px;
  text-align: center;
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); */
  font-weight: 900; /* Muy grueso */
  height: 120px;
}

.text_title{
    font-size: 3rem;
}

.menu_item:hover{
    color: hsl(0, 61%, 45%);
    text-decoration: underline;
}


.gray_button{
    background:#808080;
    border: none;
    
}

.green_button{
    background:#3CB371;
    border: none;
    ;
}

.red_button{
    background:hsl(0, 61%, 45%);
    border: none;
    
}


.big_gray_button{
    background:#808080;
    border: none;
    width: 100%;
}

.big_green_button{
    background:#3CB371;
    border: none;
    width: 100%;
}

.big_red_button{
    background:hsl(0, 61%, 45%);
    border: none;
    width: 100%;
}

.table_front{
    border-collapse: collapse;
}

.table_front th{
    border: 1px solid hsl(0, 61%, 45%);;
    padding: 15px;
}

.table_front td{
    border: 1px solid hsl(0, 61%, 45%);;
    padding: 15px;
}


.find-input {
  position: relative; /* Para posicionar el label */
  border: 1px solid #ccc; /* Borde gris claro */
  border-radius: 4px;
  padding: 23px 15px; /* Ajusta el padding según tus necesidades */
}

.find-input label {
  position: absolute;
  color:red;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999; /* Color gris para el label */
  pointer-events: none; /* Evita que el label reciba clics */
  transition: all 0.2s ease-in-out;


}

#contenedor_rodeos{
    margin-bottom: 50px;
}

#contenedor_footer{
    background: #6b1010;
    font-family: system-ui;
    && h5,h4{
        font-weight: bolder;
    }
}

#contenedor_login_inscripcion{
   padding: 50px;
}