/* LOGIN */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}
.btn-custom {
    background-color: #Eb762B;
    border: none;
    color: white;
    font-weight: bold;
    border-radius:7px;
}
.btn-custom:hover {
    color: white;
    background-color: #c86324;
}


/* SIDEBAR (HEADER) */
.main-sidebar-l {
    min-height:55px;
    background-color:#f6f6f6;
    border-bottom: 3px solid #Eb762B;
}

.sidebar-icon-l {
    font-size:25px;
    color:#4b4b4b;
}

.active-a {
    font-size:25px;
    color:#ffffff !important;
}

.active-div {
    background: radial-gradient(circle, #396f41 10%, #33633a 15%, #1A4721 80%);
}

.sidebar-a-l {
    width:55px;
    height:55px;
}

.col-no-m {
    padding-left:0px;
    padding-right:0px;
}

.date {
    margin-right:5px;
}
.day {
    font-size: 9px;
    font-weight: bold;
    color: #666;
    margin: 0px;
    padding: 0px;
}
.month {
    font-size: 9px;
    font-weight: bold;
    color: #666;
    margin: 0px;
    padding: 0px;
}
.time {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

/* MAIN */
body {
    background-color: #f7f7f7;
}

.custom-a {
    text-decoration: none;
    color: #41644A;
}

.btn-custom-2 {
    margin-left:8px;
    border-radius:8px;
    padding-left: 15px;
    padding-right: 15px;
    border: none;
    height:43px;
}

.custom-table-container {
    min-height: 60vh;
    max-height: 60vh;
    overflow-y: auto;
    border-radius:8px !important;
}
.custom-table-container-ingredients {
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
    border-radius:8px !important;
}
.custom-table {
    background-color:white !important;
    border-radius:8px !important;
}
.custom-table-head {

}
.custom-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
}

.main-container {
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
    height: 100vh;
    width: 100vw;
}
.header-section {
    width: 100vw;
    padding-top: 20px;
    padding-left: 320px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: white;
    position: fixed;
    z-index:9;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.content-section {
    padding-top: 35px;
    padding-left: 30px;
    padding-right: 20px;
}

.input-custom {
    height: 44px;
    border-radius:8px;
}

.p-table {
    color: #898989;
    margin-bottom:0px;
}

#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 2050;
    display: none;
}

#loadingScreen .spinner-border {
    width: 4rem;
    height: 4rem;
}

#max_score {
    display: none;
}


/* CUSTOM-IMAGE-INPUT */
.upload-container input[type="file"] {
    display: none;
  }
  
  .upload-box {
    border: 2px dashed #Eb762B;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .upload-box:hover {
    background-color: #f9f9f9;
  }
  
  .upload-box.dragover {
    background-color: #e8e8e8;
    border-color: #8CADFD;
  }
  
  .upload-box .icon {
    font-size: 2rem;
    color: #1A4721;
  }
  
  .upload-box h5 {
    font-weight: bold;
    margin: 15px 0;
  }
  
  .upload-box a {
    color: #8CADFD;
    text-decoration: none;
  }
  
  .upload-button {
    background-color: #1A4721;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
  }
  
  .download-button {
    background-color: #8CADFD;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
  }
  
  .upload-button:hover {
    background-color: #8CADFD;
  }


  .table-wrapper {
    max-height: 300px; /* Cambiá esto según tu necesidad */
    overflow-y: auto;
    display: block;
  }
  
  .table-wrapper table {
    width: 100%;
    border-collapse: separate;
  }
  
  .table-wrapper thead th {
    position: sticky;
    top: 0;
    background-color: white; /* O el color que tenga tu encabezado */
    z-index: 20;
  }
