/*@import url(menu.css);*/

/**************
--- STARTS GENERAL ---
***************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: #f2f2f2;
  margin-top: 120px;
/*   min-height: 100vh;  Footer stays on bottom */
/*  display: flex; Footer stays on bottom */
/*  flex-direction: column;  Footer stays on bottom */
}

.table-container {
position: relative;
overflow-x: auto; /* Allows horizontal scrolling */
max-width: 99%;  /* Ensures the table fits within its container */
margin-right: auto;
margin-left: auto;
}

header {
  width: 100%;
  height: 80px; /* Logo height: 50px */
  background: #122335;
  color: #bbb;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

header img {
  float: left;
  margin-top: 15px;
}

/* MENU */
.contenedor-header {
  width: 97%;
  margin: auto;
}

#menu-bar {
  display: none;
}

header label {
  float: right;
  font-size: 30px;
  margin: 25px 0;
  cursor: pointer;
}

.menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18, 35, 53, 1);
  transition: all 0.5s;
  transform: translateX(-100%);
}

#menu-bar:checked ~ .menu {
  transform: translateX(0%);
}

.menu a {
  display: block;
  color: #bbbbbb;
  height: 50px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: bold;
}

/* Starts Mobile version */
@media (max-width:1024px) {
  .menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Ends Mobile version */


/* Desktop version */
@media (min-width:1024px) {
  .menu {
    position: static;
    width: auto;
    height: auto;
    transform: translateX(0%);
    float: right;
    display: flex;
    font-weight: bold;
  }

  .menu a {
    margin-top: 15px;
    border: none;
  }

  .menu a:hover {
    border-bottom: solid 2px #bbbbbb;
  }

  header label {
    display: none;
  }
}
/* Desktop version */

/******MENU DROPDOWN *****/
/* Container for the form */
.responsive-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

/* Label styling */
.responsive-form label {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Dropdown menu styling */
.styled-select {
    padding: 10px;
    width: 100%;
    max-width: 350px; /* Adjust width as needed */
    border: 2px solid #aaa; /*#122335;*/
    border-radius: 5px;
    font-size: 16px;
    background-color: #e7ecf2;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    font-weight: bold;
}

  @media (max-width:1024px) {
    .styled-select {
      max-width: 100%;
    }
  }

/* Dropdown menu hover effect */
.styled-select:hover {
    border-color: #122335;
}

/* Dropdown menu focus effect */
.styled-select:focus {
    outline: none;
    border-color: #122335;
}

/******MENU DROPDOWN *****/


/* MENU */

table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1em; /* Adjusted for better scaling */
font-family: Helvetica, Arial, sans-serif; /* Added fallback fonts */
}


th, td {
border: 1px solid #ddd;
padding: 0.5em; /* Adjusted for better scaling */
text-align: center;
min-width: 50px;
}

th {
background-color: #f2f2f2;
font-size: 0.75em; /* Adjusted for better scaling */
letter-spacing: 0.05em; /* Adjusted for better scaling */
}

.team-logo {
width: 3em; /* Adjusted for better scaling */
height: 3em; /* Adjusted for better scaling */
margin-top: 0.5em; /* Adjusted for better scaling */
margin-bottom: 0.5em; /* Adjusted for better scaling */
}

.user-name {
font-size: 14px;
color: #666;
letter-spacing: 0.05em;
margin-bottom: 0.40em; /* Adjusted for better scaling */
}

.user-lastname {
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
color: #333;
letter-spacing: 0.05em; /* Adjusted for better scaling */
}

.team-header {
text-align: center;
font-size: 0.875em;
}

.team-id {
display: block;
font-size: 0.625em;
}

.at-symbol {
margin: 0.25em 0; /* Adjusted for better scaling */
font-size: 0.625em; /* Adjusted for better scaling */
}

.conf {
margin-top: 4.6875em; /* Adjusted for better scaling */
margin-left: 1.875em; /* Adjusted for better scaling */
letter-spacing: 0.05em;
}

.teams-names {
line-height: 1.3;
font-size: .7em;
letter-spacing:.02em;
}

.afc {
width: 100%; /* Ensure both elements take the full width */
box-sizing: border-box; /* Include padding and border in the width */
border: 1px solid #122335; /* Apply the same border style */
letter-spacing: 0.05em;
}

.nfc {
width: 100%; /* Ensure both elements take the full width */
box-sizing: border-box; /* Include padding and border in the width */
border: 1px solid #122335; /* Apply the same border style */
letter-spacing: 0.05em;
}

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

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

.no-pick {
font-size: 0.75em; /* Adjusted for better scaling */
letter-spacing: 0.05em; /* Adjusted for better scaling */
color: #4c4c4c;
}

.visita-local {
letter-spacing: 0.15em;


}

.highlight-row {
background-color: #b7e1cd;
font-weight: bold; /* Bold text */
}

.aciertos {
font-weight: bold;
}

.h1-weeks {
  letter-spacing: 0.1em;
  margin-left: 35px;
  margin-bottom: 25px;
}



/* Container Styling */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;

}

/* Heading Styling */
.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    font-family: 'Arial', sans-serif;
}

/* Form Label Styling */
.login-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
    text-align: left;
}

/* Input Field Styling */
.login-container input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Input Focus Styling */
.login-container input[type="email"]:focus {
    border-color: #122335;
    outline: none;
}

/* Submit Button Styling */
.login-container input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #122335;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: .15em;
}

/* Submit Button Hover Effect */
.login-container input[type="submit"]:hover {
    background-color: #1f3c5b;
}




/*****************/
.srv-table {
       width: 100%;
       border-collapse: collapse;
       font-family: Helvetica, Arial, sans-serif;
       margin-bottom: 20px;

   }



  .srv-table img {
    width: 35px;
    height: 35px;
  }

   .srv-table th, .srv-table td {
       border: 1px solid #ddd;
       padding: 8px;
       text-align: center;
   }



   /* Set minimum width for the first column */
.srv-table .lonley {
    width: 200px; /* Adjust the value as needed */
}

.srv-table td:first-child {
    width: 200px; /* Ensure it matches the header width */
}




   /*.srv-table th {
       background-color: #f4f4f4;
       font-weight: bold;
   }
   */

   /*.srv-table tbody tr:nth-child(even) {
       background-color: #f9f9f9;
   }
   */

   /*.srv-table tbody tr:nth-child(odd) {
       background-color: #ffffff;
   }
   */

   /*.srv-table tbody tr:hover {
       background-color: #f1f1f1;
   }
   */

   .srv-table img.team-logo {
       width: 35px;
       height: auto;
   }

   .srv-correct-pick {
       background-color: #b7e1cd; /* Green background for correct picks */
   }

   .srv-incorrect-pick {
       background-color: #e7b8b0; /* Red background for incorrect picks */
   }

   .srv-tie-pick {
       background-color: #fff2cd; /* Yellow background for tie picks */
   }



/**************/

.picks-enviados {
  margin-top: 25px;
  text-align: center;
  font-weight: bold;
}



/* Sticky positioning for the first column */
th:first-child, td:first-child {
position: sticky;
left: 0;
z-index: 2; /* Ensure the sticky column stays above other content */

}

th[rowspan="2"] {
position: sticky;
left: 0;
z-index: 4; /* Ensure it's above other content */
background-color: #fff; /* Background color to prevent overlap */
}

/* Zebra effect for the entire table */
.zebra tr:nth-child(even) {
background-color: #f2f2f2; /* Light background for even rows */

}

.zebra tr:nth-child(odd) {
background-color: #ffffff; /* White background for odd rows */
}

/* Ensure the first column matches the zebra effect */
.zebra tr:nth-child(even) td:first-child,
.zebra tr:nth-child(even) th:first-child {
background-color: #f2f2f2; /* Match background for sticky column on even rows */
}

.zebra tr:nth-child(odd) td:first-child,
.zebra tr:nth-child(odd) th:first-child {
background-color: #ffffff; /* Match background for sticky column on odd rows */
}

.confdiv {
background-color: #122335 !important; /* Blue for conference headers */
color: #fff !important;
font-weight: bold;
text-align: left;
padding: 12px;
font-size: 1.2em; /* Larger font size for emphasis */
position: sticky;
left: 0;
margin-top: 30px;
letter-spacing: 0.05em;
}

.confdiv-text {
margin-left: 35px;
}

.lonley {
background-color: #f2f2f2 !important;;
}

.confdiv-semanal {
background-color: #122335 !important; /* Blue for conference headers */
color: #fff !important;
font-weight: bold;
padding: 12px;
font-size: 1.2em; /* Larger font size for emphasis */
margin-top: 30px;
letter-spacing: 0.05em;
border: 1px solid #122335;
width: 100%;
box-sizing: border-box;

}

.tabla-semanal {
background-color: #122335 !important; /* Blue for conference headers */
color: #fff !important;
text-align: center;
letter-spacing: 0.05em;
border-spacing: 0;
border-style: none;
}

.border-right {
border-right: 1px solid;
}

footer {
    /*margin-top: auto;*/
    margin-top: 300px;
    width: 100%;
    /*background-color: #122335;*/
    color: #828282;
    text-align: center;
    letter-spacing: 1.2px;
    /*padding: 20px 0;*/
    /*font-size: 14px;*/
}

footer a {
  text-decoration: none;
  color: #828282;
  letter-spacing: 1.2px;
}


.inicio {
  background-color: #122335;
  padding: 15px 0;
  font-size: 14px;
  color: #bbbbbb;
}

.inicio:hover {
  background-color: #172d44;
}

.footer {
  background-color: #122335;
  padding: 15px 0;
  font-size: 14px;
}


/***********/
/* Custom Dropdown Container */
.custom-select-container {
  display: flex;
 justify-content: center; /* Center horizontally */
 margin-top: 25px;
 margin-bottom: 25px;
 margin-top: 125px;
}


.custom-select {
   position: relative;
   display: inline-block;
   width: 50%;
   text-transform: uppercase;
   font-family: Helvetica;
   letter-spacing: .05em;
   text-align: center;
}

/* Custom Dropdown Style */
.select-selected {
   background-color: #122335; /* Background color of the selected item */
   color: white;
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 4px;
   cursor: pointer;
   font-size: 16px;
   line-height: 1.5; /* Adjust line height for the selected item */
}

/* Custom Dropdown Items */
.select-items {
   position: absolute;
   background-color: #122335; /* Background color of the dropdown items */
   border: 1px solid #ccc;
   border-radius: 4px;
   top: 100%;
   left: 0;
   right: 0;
   z-index: 99;
   display: none; /* Hidden by default */
}

.select-items a {
   display: block;
   padding: 10px;
   text-decoration: none;
   color: #fff;
   font-size: 16px;
   line-height: 1.5; /* Adjust line height for the dropdown options */
   background-color: #122335; /* Background color of each dropdown item */
   border-bottom: 1px solid #414e5d;
}

.select-items a:hover {
   background-color: #414e5d; /* Background color of each item on hover */
}

/* Show dropdown items when clicked */
.select-selected.select-arrow-active + .select-items {
   display: block;

}

.select-selected:after {
   content: '\25BE'; /* Unicode for down arrow */
   position: absolute;
   right: 10px;
   top: 50%;
   transform: translateY(-50%);
   font-size: 16px;
   color: #fff;
}

.select-selected.select-arrow-active:after {
   content: '\25B4'; /* Unicode for up arrow */
}

/* MOBILE */
    @media (max-width:1024px) {

      table {
        width: 100%;
      }

      .custom-select {
        width: 98%;
      }

    }


  /******* DUELO ************/
/*.duelo-form {
  width: 50%;
  display: flex;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 25px;
}
*/

.contenedor-duelo {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 85%;
  margin: auto;
}

.contenedor-duelo select {
  width: 50%;
  margin-left: 35px;
}

/* MOBILE */
    @media (max-width:1024px) {

      .contenedor-duelo {
        width: 98%;
      }

      .contenedor-duelo select {
        width: 100%;
        margin-left: 0px;
      }
    }

.contenedor-duelo th,
.contenedor-duelo td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.contenedor-duelo th {
    background-color: #122335;
    color: #fff;
    border-collapse: collapse;
    border: 1px solid #122335;
}

.contenedor-duelo .semana {
    letter-spacing: 1.5px;
}

  .duelo-player1 {
  background-color: #e7ecf2;
  }

  .duelo-player2 {
    background-color: #d0dae5;
  }

  .duelo-shared-pec {
    background-color: #a2b6cc;
    color: #000;
    letter-spacing: 1.5px;
  }

  .duelo-detalles-link {
    text-transform: uppercase;
    font-size: .7em;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    margin-top: 35px;

  }

  .duelo-detalles-link a {
    text-decoration: none;
    color: #122335;
    border: 2px solid #122335;
    padding: 10px;
    background-color: #e7ecf2;
  }

  .duelo-detalles-link a:hover {
    background-color: #d0dae5;
  }

  .duelo-blank-space {
    height: 25px;
  }

  .duelo-aciertos-t {
    font-weight: bold;
  }

  /****** TERMINA DUELO ************/
  /****** duelo.php ************/

  /****** INICIA DETALLES DUELO ************/
  /****** detalles_duelo.php ************/

  .contenedor-detalles-duelo {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 85%;
    margin: auto;

  }

  @media (max-width:1024px) {
    .contenedor-detalles-duelo {
      width: 98%;
    }
  }

  .contenedor-detalles-duelo img {
    height: 45px;
    width: 45px;
  }

  .detalles-duelo-link {
    text-transform: uppercase;
    font-size: .7em;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    margin-top: 30px;

  }

  .detalles-duelo-link a {
    text-decoration: none;
    color: #122335;
    border: 2px solid #122335;;
    padding: 10px;
    background-color: #e7ecf2;

  }

  .detalles-duelo-link a:hover {
    background-color: #d0dae5;
  }

  .detalles-duelo-match {
    line-height: 1.5;
    letter-spacing: .9px;
  }

  .detalles-duelo-semana-header {
    font-size: 1.1em;
    letter-spacing: .9px;
  }

  /* Apply zebra effect to rows except those with pec or aciertos classes within a specific table */
  .contenedor-detalles-duelo table tbody tr:not(.detalles-duelo-pec):not(.detalles-duelo-aciertos):nth-child(even) {
    background-color: #f2f2f2;
}

.detalles-duelo-correct {
    background-color: #b7e1cd;
}
.detalles-duelo-incorrect {
    background-color: #e7b8b0;
}
.detalles-duelo-tie {
    background-color: #fff2cd;
}

.detalles-duelo-mnf {
  letter-spacing: 1px;
}

.detalles-duelo-pec {
  letter-spacing: 1px;
  background-color: #122335;
  color: #fff;
  border-collapse: collapse;
  border: 1px solid #122335;
}

.detalles-duelo-no-picks {
  text-align: center;
  font-size: 1.2em;
  letter-spacing: 1.5px;
}

/****** TERMINA DETALLES DUELO ************/
/****** detalles_duelo.php ************/

/****** EMPIEZA POSICIONES ************/
/****** posiciones.php ************/
.posiciones-table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.05em;
    margin-left: auto;
    margin-right: auto;
}



@media (max-width:1024px) {
  .posiciones-table {
    width: 98%;
  }
}

.posiciones-division-row {
    background-color: #122335 !important;
    color: #fff !important;
    font-weight: bold;
    text-align: left;
    padding: 12px;
    font-size: .9em;
    height: 50px;
}

.posiciones-division-row tr, .posiciones-division-row td {
  border: 1px solid #122335;
}

.posiciones-user-row {
    background-color: #ffffff; /* White for user rows */
}

.posiciones-table tr:nth-child(even) {
      background-color: #f2f2f2; /* Light Gray for zebra striping */
  }

.posiciones-h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
}

.porcentaje-sobrevivientes {
background-color: #122335;
text-align: center;
color: #fff;
line-height: 1.5;
padding: 10px;
letter-spacing: 1.5px;
text-transform: uppercase;
}

.ps-h1 {
  margin-bottom: 15px;
}

.all-weeks-closed {
  text-align: center;
}

.summary-container {
  width: 75%;
  margin: auto;
  line-height: 1.5;
}

/*.porcentaje-sobrevivientes-texto {
  font-size: 1.1em;
  width: 20%;
  margin-left: 50px;
  margin-bottom: 25px;
  font-family: Arial, sans-serif;
  border: 1px solid red;
  width: 20%;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 15px;
  line-height: 1.5;
  text-align: center;
}

.porcentaje-sobrevivientes-number {
  font-size: 1.8em;
  font-weight: bold;
  width: 20%;
}*/
