.dropdown {
  display: inline-block;
}

.btn {
  background-color: #337ab7;
  border: 1px solid #2e6da4;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover,
.btn:focus {
  background-color: #286090;
  border-color: #204d74;
  color: #fff;
}

.dropdown-menu {
  border: none;
  margin-top: 10px;
  min-width: 0;
  padding: 0;
}

.dropdown-menu li a {
  color: #333;
  display: block;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px 20px;
  text-decoration: none;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background-color: #f5f5f5;
  color: #333;
}

/* Tabs */
/*.tab {
  border-bottom: 1px solid #ddd;
  display: flex;
  margin: 0 auto;
  padding: 0;
}

.tab button {
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid #ddd;
  color: #666;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  width: 33.33%;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #fff;
  border-color: #337ab7;
  color: #337ab7;
}

.tabcontent {
  display: none;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
}
*/

/* List Membership */
#list_members {
  width: 100%;
  border-collapse: collapse;
}

#list_members th,
#list_members td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

#list_members th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}

#usageTable {
  margin-bottom: 10px;
}

#usageTable th,
#usageTable td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

#usageTable th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}

/*.newListBtn {
  text-align: center;
  margin-top: 20px;
  float: right;
  background-color:#006400;
  color:#fafafa;
  padding: 10px 24px;
}*/

/* Add/Update Member */
.add-button {
  text-align: center;
  margin-top: 20px;
}

.add-button button {
  margin-top: 10px;
}

/*.spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; 
}

.spinner img {
  width: 50px; 
  height: 50px;
}*/

#spinner {
    display: none;
    position: fixed; /* Fixed position, so it stays in the middle even when scrolling */
    top: 50%; /* Vertically center the spinner */
    left: 50%; /* Horizontally center the spinner */
    transform: translate(-50%, -50%); /* Move the spinner to the exact center */
    z-index: 9999; /* Ensure it stays above other elements */
    width: 150px; /* Set width of the spinner */
    height: 150px; /* Set height of the spinner */
    /*background-color: rgba(255, 255, 255, 0.8); /* Optional: semi-transparent background */
    border-radius: 50%; /* Optional: rounded spinner container */
    text-align: center; /* Center content within spinner */
    padding: 20px;
}

#spinner img {
    max-width: 100%; /* Scale the image to fit inside the spinner container */
    max-height: 100%;
}

#updates {height: 75px; overflow:auto;}

/* Form */
input[type="text"] {
  font-size: 16px;
  line-height
}

/* Error Popup */
#errorPopup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.error-popup .error-popup-content {
    background-color: #f3f3f3;
    border: 1px solid #df8d4d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    min-height: 200px;
    text-align: center;
}

.error-icon {
    color: #ff4d4d;
    font-size: 36px; /* Bigger icon */
    margin-right: 15px;
}

#errorMessage {
    font-size: 20px; /* Larger text */
    color: #333;
    display: inline-block;
    vertical-align: middle;
}

#errorClose {
    margin-top: 20px;
    padding: 10px 20px; /* Bigger button */
    background-color: #df8d4d;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
}

#errorClose:hover {
    background-color: #a66d6d;
}

#list_quarantined td, #list_quarantined th {
    padding: 10px; /* Adds spacing between text and cell borders, matches cellpadding="10" */
    border: 3px solid blue; /* Matches border="3" and bordercolor="blue" */
}
#list_quarantined td:first-child, #list_quarantined th:first-child {
    text-align: center; /* Center checkboxes */
}
