/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #ece9e6, #ffffff);
  margin: 0;
  padding: 0;
  color: #333;
  overflow-x: hidden;
}

.header {
  z-index: 10; /* Ensures the header stays on top of other elements */
  text-align: center;
  background: #4b8b8b;
  color: #000000;
  padding: 40px 60px;
  font-size: 38px;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4); 
  margin-left: 0;
  position: relative;
  left: 0;
  top: -25px;
  width: calc(100% + 40px);
  border-radius: 12px 12px 0 0;
}

#logout {
  position: fixed;
  bottom: 1px;  /* Adjusts distance from the bottom */
  left: 1px;    /* Adjusts distance from the left */
  width: 79px;   /* Set the width to create a square button */
  height: 50px;  /* Set the height equal to the width */
  background-color: #4b8b8b; /* Optional: background color */
  border-radius: 1px;  /* Optional: adds rounded corners */
  border: none;  /* Removes any default borders */
  cursor: pointer; /* Changes cursor to pointer on hover */
}

#logout:hover {
  background-color: #4b8b8b;
  transform: scale(1.05);
  width: 95px;
}

#logout:active {
  background-color: #e64545;
  transform: scale(0.95);
}

#test-actions {
  display: flex;
  justify-content: space-between; /* Separate columns */
  padding: 20px;
}

.left-column, .right-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.left-column > div, .right-column > div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

input[type="checkbox"] {
  display: inline-block;
  margin-right: 10px; /* Adds space between checkbox and label */
}

label {
  margin-right: 20px; /* Adds space between label and button */
  font-size: 18px;
  cursor: pointer;
}

#button1 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 100px; /* Align buttons to the right */
}

#button2 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 85px; /* Align buttons to the right */
}

#button3 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 115px; /* Align buttons to the right */
}

#button4 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 87px; /* Align buttons to the right */
}

#button5 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 110px; /* Align buttons to the right */
}

#button6 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 137px; /* Align buttons to the right */
}

#button7 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 15px; /* Align buttons to the right */
}




#button8 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 120px; /* Align buttons to the right */
}

#button9 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 100px; /* Align buttons to the right */
}

#button10 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 75px; /* Align buttons to the right */
}

#button11 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 37px; /* Align buttons to the right */
}

#button12 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 10px; /* Align buttons to the right */
}

#button13 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 95px; /* Align buttons to the right */
}

#button14 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 65px; /* Align buttons to the right */
}

#button15 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 5px; /* Align buttons to the right */
}

#button16 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 50px; /* Align buttons to the right */
}

#button17 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 35px; /* Align buttons to the right */
}

#button18 {
  background: linear-gradient(to right, #5fb1b1, #52a2a2);
  color: black;
  border: none;
  border-radius: 50px;
  padding: 10px 20px; /* Adjust padding for better size */
  font-size: 16px; /* Reduced font size for better alignment */
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 80px; /* Align buttons to the right */
}

button {
  background-color: #4b8b8b;;
  color: rgb(0, 0, 0);
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #4b8b8b;
  transform: translateY(-2px);
}



input[type="checkbox"] {
  display: inline-block; /* Show checkboxes */
  margin-right: 10px; /* Adds space between checkbox and label */
}

label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  padding-left: 35px;
  margin-right: 20px; /* Space between label and button */
}

label::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #4b8b8b;
  border-radius: 5px;
  transition: background 0.3s ease;
}

input[type="checkbox"]:checked + label::before {
  background-color: #4b8b8b;
  border-color: #4b8b8b;
}

.spinner-border {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #4b8b8b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}


input[type="checkbox"] {
  display: none;
}

label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  padding-left: 35px;
  margin-right: 20px;
}


label::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #4b8b8b;
  border-radius: 5px;
  transition: background 0.3s ease;
}

input[type="checkbox"]:checked + label::before {
  background-color: #4b8b8b;
  border-color: #4b8b8b;
}

.spinner-border {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #4b8b8b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}


@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

table, th, td {
  border: 1px solid #ddd;
}

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

th {
  background-color: #1f69b2;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

td {
  font-size: 14px;
  color: #333;
}
#loader {
  margin-top: 50px;
}



/* Page content styling */
.content {
  margin-left: 220px; /* Make room for the sidebar */
  padding: 20px;
}

.card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ccc;
}

.left-column,
.right-column {
  display: inline-block;
  vertical-align: top;
  width: 45%;
}

.dataDiv {
  margin-top: 10px;
}




.sidebar {
  height: 100%;
  width: 80px;
  position: fixed;
  top: 0; /* Set to 0 to make it go to the top of the page */
  left: 0;
  background: #4b8b8b;
  padding-top: 110px; /* Adjust this value to push content down based on header height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  transition: width 0.3s ease;
}

.sidebar:hover {
  width: 100px;
}

.sidebar button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 0;
}

.sidebar img {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sidebar img:hover {
  transform: rotate(10deg);
}

/* Page content styling */
.content {
    margin-left: 80px; /* Make room for the thinner sidebar */
    padding: 20px;
}

.card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
}

.left-column,
.right-column {
    display: inline-block;
    vertical-align: top;
    width: 45%;
}

.dataDiv {
    margin-top: 10px;
}

/* Basic styles for the notification banner */
.notification-banner {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  display: none; /* Initially hidden */
  font-size: 16px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#close-btn {
  background: none;
  color: white;
  border: none;
  font-size: 18px;
  margin-left: 20px;
  cursor: pointer;
}

#close-btn:hover {
  color: #ffdddd;
}

/* Optional: Smooth transition for the notification */
.notification-banner {
  transition: top 0.5s;
}

