/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Banner */
  .banner {
    background-color: #404040;
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  
  /* Header */
  header {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
  }
  
  header h1 {
    margin: 0;
  }
  
  /* Navigation */
  nav {
    margin: 1rem;
    text-align: center;
  }
  
  nav .home-link {
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
  }
  
  nav .home-link:hover {
    background-color: #0056b3;
  }
  
  /* Main Content */
  main {
    flex-grow: 1;
    padding: 1rem;
    text-align: center;
  }
  
  /* Footer */
  footer {
    background-color: #f1f1f1;
    color: #333;
    text-align: center;
    padding: 0.5rem;
    margin-top: auto;
  }
  
    /* Add styles for tabs */
    .tabs {
      display: flex;
      border-bottom: 1px solid #ccc;
      margin-bottom: 1rem;
    }

    .tab {
      padding: 0.5rem 1rem;
      cursor: pointer;
      border: 1px solid #ccc;
      border-bottom: none;
      background-color: #f9f9f9;
    }

    .tab.active {
      background-color: white;
      border-top: 2px solid #007bff;
      font-weight: bold;
    }

    .tab-content {
      padding: 1rem;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .boxlocations-section label {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .boxlocations-section input[type="checkbox"] {
      margin-right: 10px;
    }

    .boxlocations-section {
      display: flex;
      flex-direction: column;
      align-items: flex-start; /* Align content to the left */
    }
    
    .checkbox-container {
      margin-top: 10px; /* Add space between the button and the checkbox */
    }
    
    /* Spinner styles */
#loadingIndicator {
  display: none; /* Initially hidden */
  text-align: center;
  margin: 10px;
}

/* Spinner styles */
.spinner {
  border: 4px solid #f3f3f3; /* Light gray */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}
.my-row {
  display: flex;
  flex-direction: row;   /* default, but explicit */
  align-items: center;   /* optional: vertically align items */
  gap: 75px;             /* optional: spacing between items */
  justify-content: center;
}

.my-column {
  display: flex;
  flex-direction: column;   /* stack children vertically */
  align-items: center;  /* left-align by default */
}
