body {
    font-family: sommet-rounded, 'Asap', sans-serif;
}

header {
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 60px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #000000;
  }
  
  .header-logo {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

.logo-img {
    width: 200px; /* adjust this to the desired width of your logo */
    max-height: 60px;
}
 
  .header-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  
  .dropbtn {
    font-size: 16px;    
    font-weight: 400;
    color: #ffffff;
    padding: 8px 32px 8px 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
  }

  .dropbtn:hover {
    color: red;
  }
  
  .dropbtn:after {
    content: '\25BE';
    margin-left: 8px;
  }
  
  .dropdown-content {
    position: absolute;
    top: 36px;
    right: 0;
    min-width: 160px;
    background-color: black;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
    display: none; /* Set the initial state to hidden */
    z-index: 1;
  }
  
  .dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
  }
  
  .dropdown-content a {
    color: white;
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 16px;    
    font-weight: 400;
    transition: color 0.3s;
  }
  
  .dropbtn:hover + .dropdown-content,
  .dropdown-content:hover {
    display: block; /* Show the dropdown when the button or the dropdown itself is hovered over */
  }
  
  .dropdown-content a:hover {
    color: red;
  }
  
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.navbar-nav li {
    margin: 0 1.5rem;
}

.navbar-nav li a {
    color: white!important;
    transition: color 0.3s;
  }
  
  .navbar-nav li a:hover {
    color: red!important;
  }

  .navbar-nav a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    position: relative;
}

.navbar-nav a:hover {
    color: red;
}

.navbar {
    background-color: black;
    border-radius: 0;
}

.messages-ul {
    margin-bottom: 0;
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
}

.main {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    padding-top: 6px;
    font-size: 16px;
}

/* .footer {
 
    padding: 20px;
    text-align: center;
    font-size: 12px;
    background-color: black;
    color: white;
    margin-top: auto;
} */

.footer {
  padding: 20px;
  text-align: center;
  background-color: black;
  color: white;
  margin-top: auto;
}

.footer p {
  font-size: 14px; /* Default font size for all text in the footer */
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .cookies-message {
  font-size: 12px;
  margin-bottom: 0px;
}

.info-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 50px;
  margin-bottom: -50px;
}

.vendor-info, .purchaser-info {
  color: darkgrey; /* Black text */
  font-size: 14px; /* Font size */
  font-style: italic;
}

.vendor-info p, .purchaser-info p {
  margin: 0; /* Remove default paragraph margins */
}

.vendor-header {
  color: black; /* Black text */
  font-size: 18px; /* Font size */
  font-weight: bold;
  font-style: normal;
}

.vendor-header p {
  margin: 0;
}

.labels {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
}


/* Button styling (already provided) */
.document-button {  
  width: 200px; /* Ensures buttons have the same width */
}

.document-button:hover {
  opacity: 0.9; /* Adds a hover effect */
}


/* Custom styles for the navbar */
.navbar-brand {
    font-weight: bold;
  }
  
  .navbar-nav {
    margin-left: auto;
  }
  
  .nav-link {
    font-weight: bold;
  }
  

@media only screen and (max-width: 767px) {

    .navbar {
      margin-top: 0;
      justify-content: left!important;
      width: 98vw;
      padding: 8px;
      min-height: 70px;
    }

    .navbar-toggler {        
      background-color: red;
    }

    img.logo {
        position: absolute;
        top: 0;
        height: 60px;
        z-index: 1;
    }

}



body {
  font-family: Arial, sans-serif;
  font-size: 16px;
}
.label-container {
  width: 6in;
  height: 4in;
  /* border: 1px solid #000000; */
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10pt;

}
.label-info {
  margin-bottom: 0 auto;
}
.label-info p {
  margin: 1pt;

}
.label-asn {
  margin-bottom: 0 auto;
  font-weight: bold;
}
.label-asn p {
  margin: 0 auto;
}
.label-barcode {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}
.label-barcode img {
  margin: auto;
  width: 70%;
  height: 50%;
}
.box {
  flex-basis: calc(25% - 5px);
  height: calc(25% - 5px);
  margin: 1px;
  background-color: #ccc;
}
.container-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
}


/* -------------------------
  Datatables specific
--------------------------*/

thead input {
  width: 100%;
}

/* -------------------------
  my_account profile info table
--------------------------*/

#profileInfoDisplay th, #profileInfoDisplay td {
  border-bottom: none;
}

#profileInfoDisplay th {
  width: 30%; /* Fixed width for headings */
  text-align: left;
  font-weight: bold;
}

#profileInfoDisplay td {
  width: 70%; /* Fixed width for data cells */
}

#profileInfoDisplay {
  background-color: #00a9dd08;
  border-radius: 5px;
  padding: 8px;
}



/* ----------------------------------------------------
    datatables paginations, search and other components 
    ---------------------------------------------------*/
.top-first{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
}

.dataTables_filter{
  justify-self: start;
  padding-left: 10px;
}

.dataTables_length{
  justify-self: end;
  padding-right: 10px;
}


.top-second{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
}

.dataTables_paginate{
  text-align: right;
  padding-right: 10px;
}

.clear-filter-button {
  justify-self: start;
  padding-left: 10px;
}

.bottom{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
}

.dataTables_info{
  justify-self: start;
  padding-left: 10px;
  padding-bottom: 10px;
}

/* ----------------------------------------------------
   styles provided by inshal
   ---------------------------------------------------*/
/* Scorecard container */
.scorecard-container {
  margin: 20px;
  padding: 20px;
  border: 1px solid #ffffff;
}

/* Scorecard card */
.scorecard-card {
  /*display: flex;*/
  justify-content: space-between; /* Ensure vendor and business units are spaced */
  margin-bottom: 20px; /* Space between scorecard cards */
}

.scorecard-vendor-details {
  width: 60%; /* Adjust according to your layout preference */
}

.scorecard-vendor-details p {
  width: fit-content;
}

/* Table styling */
.scorecard-table {
  margin-top: 20px; /* Space between vendor and table */
}

.scorecard-table table {
  width: 100%;
  border-top-left-radius: 5px; 
  border-bottom-left-radius: 5px;
}

.uploaded-files-table {
  max-width: 500px; /* Limit the width to 1200px */
}


.table-bordered th {
  text-align: left; /* Align the headers to the left */
}

.uploaded-files-table table {
  width: 100%;
}

.scorecard-table thead th, .uploaded-files-table thead th {
  text-align: left;
}

td[style*="background-color: green"] {
  color: white; /* Ensure text color is white for better readability */
}

td[style*="background-color: red"] {
  color: white; /* Ensure text color is white for better readability */
}

.scorecardfilter-form {
  display: flex;
  height: 15px;
  width: 1100px;
  margin-bottom: 20px;
}
.scorecardfilter-label {
  background-color: grey;
  color: white;
  padding: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scorecardfilter-select {
  background-color: white;
  padding: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  flex: 2;
  display: flex;
  align-items: center;
}
.scorecardfilter-select select {
  width: 100%;
  border: none;
  outline: none;
}

/* ----------------------------------------------------
   styles provided by inshal
   ---------------------------------------------------*/
/* Scorecard container */
.scorecard-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  overflow: auto;
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.4);
}

.scorecard-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #ffffff;
  /* width: 100%;
  max-width: 1200px; */
  margin-top: -1%;
  margin-left: -1.5%;
  width: 8.5in; 
  height: 11in; 
  overflow: hidden; 
  box-sizing: border-box; 
  position: relative; 
}
.scorecard-modal-header {
  display: flex;
  align-items: center; 
  border-bottom: 2px solid #d3d3d3; 
  padding-bottom: 10px; 
  margin-bottom: 10px; 
}


.scorecard-modal-logo {
  width: 150px;
  height: auto;
}

.scorecard-modal-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-left: 20%;
}

.scorecard-modal-card {
  margin: 20px 0;
  display: flex;
  align-items: start;
  margin-top: -10px;
}

.scorecard-modal-vendor-details,
.scorecard-modal-business-unit-details {
  margin: 10px 0;
}

.scorecard-modal-business-unit {
  margin-bottom: 5px;
}

.scorecard-modal-overall-container {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.scorecard-modal-overall-box {
  padding: 10px;
  border-radius: 5px;
  width: 780px;
  display: flex;
  flex-direction: column;
  height: 50px;
  margin-top: -30px;
}

.scorecard-modal-overall-content {
  display: flex;
  align-items: center; 
  width: 100%;
}

.scorecard-modal-overall-content h3 {
  margin: 0;
  font-size: 20px;
  margin-right: 20px; 
  margin-top: 2px;
}

.scorecard-modal-overall-status-message {
  font-size: 14px;
  text-align: center; 
  flex: 1; 
  margin-top: -22px;
}


.scorecard-modal-table {
  margin: 0px 0;
  font-size: small;
}

.scorecard-modal-table-bordered {
  width: 100%;
  border-collapse: collapse;
  height: 30%;
}

.scorecard-modal-table-bordered th,
.scorecard-modal-table-bordered td {
  border: 1px solid #ddd;
  padding: 2px;    
  font-size: small;
  justify-content: center;
  text-align: center;
  height: 50px;
  width: 50px;
  vertical-align: middle; 
}

.scorecard-modal-table-bordered th {
  background-color: #f2f2f2;
}

.scorecard-modal-uploaded-files-table {
  margin: 10px 0;
  max-width: 600px;
  font-size: small;
  margin-top: 70px;
}

.scorecard-modal-table-legends-container {
  display: flex;
  flex-direction: column;
  margin-left: 40px;
}

.scorecard-modal-legends {
  margin-bottom: -10px;
}

.scorecard-modal-legend {
  margin-top: 10px;
  text-align: center;
}

.scorecard-modal-legend h5 {
  margin: 0 0 5px 0;
}

/* General styling for the legend boxes */
.scorecard-modal-legend div {
  display: flex;
  justify-content: center; 
  font-weight: bold;
  
}

/* Specific styling for the colored boxes */
.scorecard-modal-legend div div {
  display: flex;
  width: 70px; 
  height: 33px; 
  text-align: center; 
  padding-top: 3px; 
  border-radius: 5px; 
  color: #000000; 
}

/* Override for different sizes */
.scorecard-modal-legend div div.large-box {
  width: 60px; 
  height: 25px; 
}

.scorecard_modal-content.scale-down {
  transform: scale(1);
  transform-origin: top left;
}

.scorecard_modal-content.scale-down {
  font-size: 100%; 
  padding: 1em; 
  margin: 1em; 
}

.scorecard-modal-business-unit-details{
 
  margin-left: 25%;
}



  .scorecard-header {
      background-color: #d3d3d3; 
      border: 1px solid black; 
      text-align: center;
      font-weight: bold; 
      padding: 3px;
      font-size: small;
  }

  .scorecard-header th{
      border: 2px solid #000000;
      padding: 3px;
      font-size: small;
  }

  .scorecard-header td{
      border: 2px solid #000000; 
      padding: 3px; 
      font-size: small;
  }


  .scorecard-quality-header {
      background-color: #c7c7c7; 
      height: 30px; 
      border: none;
      text-align: center; 
      font-size: large;
  }

  .scorecard-quality-header th {
      padding: 2px; 
      border: none;
      font-size: small;
  }

  .scorecard-quality-header td {
      padding: 2px; 
      border: none; 
      font-size: small;
  }

  .scorecard-quality-header .quality-text {
  display: inline-block;
  vertical-align: middle;
  font-size: large;
  }
  .scorecard-quality-header .quality-subtext {
  display: inline-block;
  vertical-align: middle;
  font-size: small;
  margin-left: 5px;
  margin-top: 10px;
  }

  .scorecard-quality-subtext {
      font-size: smaller;
  }


  .date-time {
  position: absolute;
  bottom: 50px; 
  right: 25px;  
  color: grey;
  font-size: 14px; 
}
