html,body {
  background-color: #EFF3F7;
  min-height: 100%;
  margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* LOGIN */

.bg-login {
  background-image: url(/static/icons/fondo_login.png);

  /* Full height */
  height: 100%; 

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1; /* Ensures main content takes up all available space */
}

.login-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width:100%;
}

.login-container img {
  margin-left: 10%;
}
.form_login {
  margin-left: 8.5%;
}

/* General form styling */
.form_login {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px; /* Adds space between inputs and button */
  width: 100%;
  max-width: 200px;
}
.form_login p{
  margin:0;
}

/* Input fields styling */
.form_login input[type="text"],
.form_login input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-family: 'Rubik',sans-serif;
  border: none;
  margin: 5px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); /* Subtle shadow */
  background-color: #FFFFFF; /* Light purple background */
  opacity: 0.9;
  color: #333;
}

/* Placeholder styling */
.form_login input[type="text"]::placeholder,
.form_login input[type="password"]::placeholder {
  color: #333E48;
  opacity: 0.8;
}

/* Button styling */
.btn.login_logout_button {
  width: 135px;
  height: 45px;
  padding: 10px;
  font-size: 13px;
  font-family: 'Rubik',sans-serif;
  font-weight: bold;
  color: #fff;
  background-color: #333E48; /* Dark button color */
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); /* Adds shadow for depth */
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.btn.login_logout_button:hover {
  background-color: #555;
  transform: scale(1.02); /* Slightly enlarges on hover */
}



.container {
  margin-top: 10px;
}

#legend_gantt {
  margin:auto;
  margin-top:10px;
  margin-bottom:10px;

}

#legend_gantt .legend-item {
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #ccc;
    display: inline-block;
  }

#dynamic_chart_type_controller {
  text-align: center;
  margin-top: 20px;
}

#dynamic_chart_type_controller button{
  background-color: #D9D9D9; /* Primary color */
  border: none;
  color: white; /* Text color */
  padding: 10px 20px; /* Vertical and horizontal padding */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px; /* Text size */
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 25px; /* Rounded corners */
  transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Slight shadow for depth */
}

#dynamic_chart_type_controller button:hover{
  background-color: #66CCCC; /* Darker shade for hover effect */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Slightly larger shadow on hover */
}

#dynamic_chart_type_controller button[selected]{
  background-color: #00B2B2; /* Darker shade for hover effect */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Slightly larger shadow on hover */
}

.login_logout_button {
  padding: 10px 20px;
  font-family: 'Rubik', sans-serif;
  background-color: #9283A5;
  /*Lightbluebackground*/color: #fff;
  /*Whitetext*/border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  -webkit-transition: background-color 0.3s ease, transform 0.3s ease;
  -moz-transition: background-color 0.3s ease, transform 0.3s ease;
  -ms-transition: background-color 0.3s ease, transform 0.3s ease;
  -o-transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover state for the button */
.login_logout_button:hover {
  background-color: #5B9DB0;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

/* Active/click state for the button */
.login_logout_button:active {
  background-color: #335B80;
  transform: translateY(1px);
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-transform: translateY(1px);
  -moz-transform: translateY(1px);
  -ms-transform: translateY(1px);
  -o-transform: translateY(1px);
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%; /* Make sure it spans the full width */
  padding: 10px 15px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
}
.logo-footer img {
  display: block; /* Ensures the image does not have extra space below it */
  max-width: 100%; /* Makes image responsive */
}

.powered-by {
  position: absolute;
  top: -13px;
  left: 0;
  font-size: 0.75rem; /* Smaller font size for the 'Powered by' text */
  color: #000; /* Adjust color as needed */
}



#static_filters {
  position: sticky;
  top: 10px;
  background-color: #D3E3EE;
  z-index: 1000;
  padding: 20px;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.botonera_consulta_container {
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  width: 85%;
  margin:auto
}

.filtros_categoricos_container {
  display:flex;
  flex-wrap: wrap;
  align-content: space-evenly;
  justify-content: flex-start;
}

.table_external_buttons_container {
  flex-basis:130px
}

.table-external-button {
  background-color: #004A97;
  border-radius: 10px;
  border-width: 0;
  width: 122px;
  height: 28px;
  font-size: 12px;
  font-weight: 300;
  margin: 3px 3px 3px 3px;
  color:#FFFFFF;
  font-family: 'Rubik', sans-serif;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
/* HEADER */

.header_container{
  height: 80px;
  width:100%;
  z-index:1000;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  color: #FFFFFF;
  background: linear-gradient(to right, #9E2880, #004A97);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); 
}

.logo_and_title h4 {
  color:#FFFFFF;
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.3em;
  margin: 0;
}

.logo_and_title {
  flex-grow:1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: #FFFFFF;
}
.user_header_container {
  display: flex;
  font-size: 13px;
  font-family:'Rubik';
  font-weight: 300;
  align-items: center;
}

.nav_bar_refs_container {
  z-index:1000;
  flex-grow: 2;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.navigation_bar_references{
  position:relative;
  font-family: 'Rubik',sans-serif;
  font-size: 13px;
  display: inline;
  z-index:1000;
  color: #FFFFFF;
  text-decoration: none;  /* Remove underline */
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;  /* Smooth transition for hover effects */
}
.navigation_bar_references:hover {
  color: #FFFFFF;
  cursor:pointer;
  text-shadow: 2px 2px 3px #FFFFFF;
  transform: translateY(-2px); /* Slight lift on hover */
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

hr {
  background-color: #022553;
  opacity: 0.8;
  height: 10px;
}

.dropdown_categorico {
  font-size: 12px;
  font-family: 'Rubik', sans-serif;
  width: 151px;
  height: 28px;
  margin: 3px 3px 3px 3px;
  background-color: #00A0B4;
  border: 0;
  border-radius: 10px;
  text-transform: capitalize;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.date-filter {
  max-width:151px;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.date-inputs-wrapper {
  margin-top: 5px;
}

.limpiar_filtros {
  color:#FFFFFF;
  background-color: #333E48;
}

.btn-group-toggle {
  background-color: #14A4A3;
  border-radius:15px;
  /* -webkit-border-radius:;
  -moz-border-radius:;
  -ms-border-radius:;
  -o-border-radius:; */
}
.btn-group-toggle .btn {
  background-color: transparent;
  border:0;
}


.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

dialog {
  padding: 20px;
  background-color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 50%;
  min-height: 200px; /* Adjust as necessary */
  position: relative;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
}

.btn-user {
  margin:5px;
  height: 17px;
  width: 17px;
  border-width:0 ;
  background: url(/static/icons/user_icon.svg) no-repeat;
}

.btn-edit {
  width: 35px;
  height: 25px;
  border-radius: 0px;
  background: url(/static/icons/edit_icon.svg) no-repeat;
  border: 0;
}

.btn-details {
  background: url(/static/icons/details_icon.svg) no-repeat;
}

.btn-table-end{
  position:relative;
  margin:1%;
  margin-left: auto;
  right: 0;
  width: 25px;
  height: 25px;
  border-width: 0;
}


.selector{
  border: 1.5px solid rgba(0, 0, 0, 1);
  border-radius: 10px;
  padding: 4 10 4 10;
  background-color: #f0f4f8;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.selector label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  padding: 5px 0;
  cursor: pointer;
}

.selector input[type="radio"] {
  margin-right: 8px;
  accent-color: #0d6efd;
}

.nueva-planificacion-button {
  background-color: #004A97;
  border-radius: 10px;
  border-width: 0;
  width: 150px;
  height: 28px;
  font-size: 12px;
  font-weight: 300;
  margin: 3px 3px 3px 3px;
  color:#FFFFFF;
  font-family: 'Rubik', sans-serif;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/* Container for the submenu buttons */
.navigation_bar_references .submenu-container {
  display: none;
  position: absolute;
  top: 100%; /* Position below the parent element */
  left: 0;
  z-index: 1000;
  width: fit-content;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

/* Show submenu container when hovering over the parent div */
.navigation_bar_references:hover .submenu-container {
  display: block;
}

/* Style for the submenu buttons */
.submenu-button {
  display: block; /* Make each button a block element */
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #eee; /* Add separator between buttons */
}

/* Style for the last submenu button */
.submenu-button:last-child {
  border-bottom: none;
}

/* Optional: Add hover effect for submenu buttons */
.submenu-button:hover {
  background-color: #e9e9e9;
}

/* Style for the main item */
.main-item {
  cursor: pointer;
}

#gant_chart {
    height: 700px;
}

.gantt-chart-container {
    margin: auto;
    width: 90%;
}

.legend-item-color {
    background-color: var(--legend-color);
}

.clean-filters-button {
    background-color: #4C8BA1;
}

.header-logo {
    height: auto;
    width: 40%;
    object-fit: contain;
}

.logout-button {
    position: relative;
    top: 8px;
}

/* ===========================
   Responsividad header 4K
   =========================== */

@media (min-width: 2050px) {
  .header_container{
    height: 90px;
    margin-bottom: 40px;
  }

  .logo_and_title h4 {
    font-size: 16px;
    letter-spacing: 0.35em;
  }

  .navigation_bar_references{
    font-size: 14px;
  }

  .user_header_container {
    font-size: 14px;
  }

  .header-logo {
    width: 45%;
  }
}

@media (min-width: 2560px) {
  .header_container{
    height: 100px;
    margin-bottom: 48px;
  }

  .logo_and_title h4 {
    font-size: 18px;
    letter-spacing: 0.4em;
  }

  .navigation_bar_references{
    font-size: 15px;
  }

  .user_header_container {
    font-size: 15px;
  }

  .header-logo {
    width: 50%;
  }
}