body {
  margin: 0 auto;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  font-family: Arial, sans-serif;
}

/* Style the header with a background color, padding, and center the content */
.navbar {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #6561F0;
}

/* Style the navigation links */
.navbar ul {
  list-style-type: none;
  padding: 0;
}

.navbar li {
  display: inline-block;;
  margin-right: 20px; /* Adjust the spacing between links as needed */
}

a {
  text-decoration: none;
  text-underline: none;
}

.navbar a {
  text-decoration: none;
  font-weight: bold;
}

.menu-active a {
  color: #6561F0;
}

.navbar a:hover {
  color: #6561F0;
  text-decoration: none;
  font-weight: bold;
}

/* Style the logo */
.navbar img {
  max-width: 400px; /* Adjust the maximum width of the logo as needed */
  vertical-align: middle;
}



.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a {
    font-size: 16px;
    border: none;
}

.dropdown i {
    margin-left: 5px;
}

.dropdown-content {
    text-align: left;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {

}


.content-wrapper {
  width: auto;
  max-width: 1024px;
  /* height: 100vH; */
  margin: 5% auto;
  /* margin: 5% 10%; */
  /* border: 1px solid #0D47A1;*/
}

p.login-register-msg {
margin-top: 40px;
}

#error-msg {
color: red;
}

/* Register Form*/
.account-register-container {
  position: relative;
  margin: 100px auto 50px;
  max-width: 400px;
  padding: 50px 50px 20px 50px;
  border: 1px solid lightgray;
  border-radius: 10px;
}

.account-register-wrapper-title {
    text-align: center;
}

.register-from {
  display: flex;
  flex-direction: column;
}

.register-from-label {
  margin-top: 1rem;
  font-weight: bold;
}

.register-from-input {
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.register-from-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background-color: #2196F3;
  color: #fff;
  cursor: pointer;
  align-self: center;
}

.register-from-button:hover {
  background-color: #0D47A1;
}

.register-from-button.is-primary {
  background-color: #2196F3;
  color: #fff;
}

.register-from-button.is-primary:hover {
  background-color: #0D47A1;
}
/* Register Form*/



/* Login Form*/
.account-login-container {
  position: relative;
  margin: 100px auto 50px;
  max-width: 350px;
  padding: 50px 50px 20px 50px;
  border: 1px solid lightgray;
  border-radius: 10px;
}

.account-login-wrapper-title {
  text-align: center;
}

.login-from {
  display: flex;
  flex-direction: column;
}

.login-from-label {
  margin-top: 1rem;
  font-weight: bold;
}

.login-from-input {
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.login-from-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background-color: #2196F3;
  color: #fff;
  cursor: pointer;
  align-self: center;
}

.login-from-button:hover {
  background-color: #0D47A1;
}

.login-from-button.is-primary {
  background-color: #2196F3;
  color: #fff;
}

.login-from-button.is-primary:hover {
  background-color: #0D47A1;
}
/*Login form*/

footer {
  text-align: center;
}



/* Style the form container using flexbox */
.form-container {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

/* Style each table column */
.table-column {
  flex: 1;
  max-width: 48%; /* Adjust as needed to leave some space between columns */
}

/* Style the table in each column */
table {
  width: 100%;
  /*table-layout: fixed;*/
  border-collapse: collapse;
  margin-bottom: 20px;
}

.table-content, .table-content th, .table-content td {
  border: 1px solid #ccc;
}

th, td {
  padding: 10px;
  text-align: left;
}

.update-profile-button {
  background-color: #6561F0;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.update-profile-button:hover {
  background-color: #656075;
}

/* Style the textareas */
.form-container textarea {
  width: 95%;
  height: 100px;
  padding: 5px;
}


.update-profile-button-container {
  width: 100%;
  margin: 0 auto;
  text-align: right;
}

.update-profile-button.disabled {
    background-color: lightgray;
    cursor: not-allowed;
}

.update-profile-button:is(.disabled):hover {
    background-color: lightgray;
    cursor: not-allowed;
}


.content-manual-pickup {
  text-align: right;
  margin: 20px 0;
}

.container {
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 5px;
  /*overflow: hidden;*/
}

.tab-list {
  border: 1px solid #eee;
  list-style: none;
  padding: 0;
  width: 25%;
  height: min-content;
}

.tab-item {
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-bottom: 1px solid #eee;
}

.tab-item:last-child {
  border-bottom: none;
}

.tab-item:hover {
  background-color: #6561F0;
  color: #ffffff;
}

.tab-content {
  flex: 1;
  padding: 20px;
  margin: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tab-item.active {
  background-color: #6561F0;
  color: #ffffff;
}



.tab-content-wrapper {
    box-shadow: none;
    margin: 0 20px 0 20px;
    padding: 0;
}


.err-container {
  max-width: 1000px;
  margin: 100px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.err-container h1 {
  color: #ff5733;
}

.err-container  h2 {
  color: #333;
}

.err-container  p {
  color: #666;
}












/* inputs */

/* Reset default input and textarea styles */
.outlined {
  width: 100%;
  border: none;
  outline: none;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: transparent !important;
  color: #333;
  transition: border-color 0.3s ease, border-bottom-color 0.3s ease;
}

/* Add focus styles */
.outlined:focus, .outlined:focus {
  border-color: #e74c3c;
}

/* Placeholder styles */
::placeholder {
  color: #999;
}

/* Container styles for better visual effect */
.input-container, .textarea-container {
  position: relative;
  margin: 40px 0;
}

/* Label styles */
.label {
  position: absolute;
  top: 10px;
  left: 0;
  color: #3498db;
  font-size: 16px;
  pointer-events: none;
  transition: top 0.3s ease, font-size 0.3s ease;
}

/* Move label and reduce its size on focus or content */
.outlined:focus + .label, .outlined:valid + .label, .outlined:focus + .label, .outlined:valid + .label,
.outlined:-webkit-autofill + .label {
  top: -20px !important;
  font-size: 12px;
}


/* Add bottom border to input elements */
.outlined {
  border-bottom: 2px solid #3498db;
}

/* Add bottom border to textarea elements */
.outlined {
  border-bottom: 2px solid #3498db;
}


/* Reset default select styles */
.select {
  border: none;
  outline: none;
  padding: 10px;
  font-size: 16px;
  background-color: transparent !important;
  width: 100%;
  color: #333;
  transition: border-color 0.3s ease, border-bottom-color 0.3s ease;
}


/* Add focus styles */
.select:focus {
  border-color: #e74c3c;
}

/* Container styles for better visual effect */
.select-container {
  position: relative;
  margin: 20px 0;
  background-color: transparent;
}

/* Move label and reduce its size on focus or content */
.select:focus + label, .select:valid + label, .select:-webkit-autofill {
  top: -20px !important;
  font-size: 12px;
}

/* Add bottom border to select elements */
.select {
  border-bottom: 2px solid #3498db;
}




*,
*:before,
*:after {
  box-sizing: border-box;
}

.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.toggle-checkbox:checked + .toggle-switch {
  background: #56c080;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}

/* inputs */






#manualPickupButton.disabled {
  background-color: #ccc; /* Change the background color for disabled state */
  color: #666; /* Change the text color for disabled state */
  cursor: not-allowed; /* Change the cursor to indicate it's disabled */
  pointer-events: none; /* Disable pointer events to prevent interactions */
}

#manualPickupButton.disabled:hover {
  background-color: #ccc; /* Keep the same background color on hover */
  color: #666; /* Keep the same text color on hover */
  cursor: not-allowed; /* Keep the same cursor on hover */
}

#reloadManualPickupButton {
  cursor: pointer;
}



/* Pagination styles */


.items-per-page {
  text-align: right;
}

ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 20px 0 0 5px;
  list-style: none;
}

ul.pagination li.page-item {
  display: inline;
  margin-right: 5px;
}

ul.pagination li.page-item a.page-link {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}

ul.pagination li.page-item a.page-link:hover {
  background-color: #ddd;
}

ul.pagination li.page-item.active a.page-link {
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
}

ul.pagination li.page-item.disabled a.page-link {
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  pointer-events: none;
  cursor: default;
}

/* Additional styles for the items per page dropdown */
.perPage {
  margin-bottom: 20px; /* Add space below the dropdown */
}

label[for="perPage"] {
  font-weight: bold;
  margin-right: 10px;
}

select#perPage {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
}




.button-load-container {
  background-color: #fff;
}



.button-load-container h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.button-load-container p {
  font-size: 16px;
  margin-bottom: 30px;
}

.button-load-container button {
  background-color: #6561F0;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
}

.button-load-container button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

/*.button-load-container button:hover {*/
/*  background-color: #0056b3;*/
/*}*/


/* CSS for the button and spinner container */
.button-load-container .button-container {
  position: relative;
}

.button-load-container button {
  padding: 10px 20px;
  font-size: 16px;
}

/* CSS for the spinner */
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: calc(25% - 50px);
  display: none;
}


/* Keyframes for the spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.tab-content-box {
    border: 1px solid;
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 10px 20px 10px 20px;
}



.button {
    position: relative;
    outline: none;
    background-color: #6561F0;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.button__text {
    font-size: 16px;
    transition: all 0.2s;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}





/* Media query for screens smaller than 768px (typical mobile devices) */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 5px;
  }

  .navbar img {
    max-width: 250px;
    vertical-align: middle;
  }

  .content-wrapper {
    margin: 20px;
  }

  .content-wrapper-overflow {
    overflow: scroll;
    overflow: auto;
    white-space: nowrap;

  }

  .container {
    display: unset;

    max-width: 800px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
  }

  .tab-list {
    border: 1px solid #eee;
    list-style: none;
    padding: 0;
    white-space: nowrap;
    overflow-x: auto;
    width: auto;
  }

  .tab-item {
    display: inline-block;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-right: 1px solid #eee;
  }

  .tab-item:last-child {
    border-right: none;
  }

  .tab-item:hover {
    background-color: #6561F0;
    color: #ffffff;
  }

  .tab-content {
    display: none; /* Initially hide all tab contents */
    padding: 20px;
  }

  .tab-item.active {
    background-color: #6561F0;
    color: #ffffff;
  }

  /* Show active tab content */
  .tab-content.active {
    display: block;
  }

  .account-login-container {
    border: none;
  }

  .err-container {
    margin: 50px auto;
    overflow-wrap: break-word;
  }



}

/* Media query for screens smaller than 576px (smaller mobile devices) */
@media screen and (max-width: 576px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 5px;
  }
}

