body {
  font-family: Arial, sans-serif;
  margin: 0px; /* Remove default margin - because of navbar */
  font-size: 16px;
  background: url("../../static/images/bg-pattern.png") repeat 0 0; /* Add background pattern */
}
@media (max-resolution: 99dpi) {
  .app-container {
    zoom: 0.75;
    width: auto;
  }
  .navbar {
    zoom: 0.75;
  }
}

table {
    table-layout: auto; /* Ensures consistent column widths */
    width: 100%; /* Makes the table span the full width of its container */
    
    
  }
  th, td {
    word-wrap: wrap; /* Prevents long content from overflowing */
    text-align: left; /* Centers text in each cell */ 
    padding: 1px !important;
  }
  tr {
    height: 15px; /* Adjust row height as needed */
    padding: 1px;
  }

nav a {
    margin-right: 10px;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.1);
}

.container {
    margin-top: 20px;
}

.flashes {
    list-style-type: none;
    padding: 0;
}

.flashes li {
    margin: 5px 0;
}

.success {
    color: green;
}

.danger {
    color: red;
}

.info {
    color: rgb(25, 145, 180);
}

.custom-container {
    max-width: 100%; /* Adjust percentage as needed */
    margin: 0px; /* Center the container */
  }

  @media (min-width: 1800px) {
    .custom-container {
      max-width: 75%; /* For larger screens */
      margin: 0 auto; /* Center the container */
    }
  }
  
  @media (max-width: 1799px) {
    .custom-container {
      max-width: 100%; /* Full width for smaller screens */
      margin: 0 auto; /* Center the container */
    }
  }

.main-content {
    transition: width 0.3s ease; /* Smooth transition for width change */
    margin: 0 auto; /* Center the table */
}

.main-content.full-width {
    width: 100%;
    margin: 0 auto; /* Center the table */
}

@media (min-width: 1800px) {
    .main-content.full-width {
        width: 100%;
        margin: 0 auto; /* Center the table */
    }
}

@media (max-width: 1799px) {
    .main-content.full-width {
        width: 100%;
        margin: 0 auto; /* Center the table */
    }
}

@media (max-width: 1550px) {
  .centered-search {
    display: none !important; /* Hide the search bar on smaller screens */
  }
}

.navbar {
  position: relative; /* So we can absolutely position children inside it */
}
.centered-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Make the search bar take the full width */
  max-width: 500px; /* Optional: set a max width if desired */
}
.centered-search form {
  display: flex;
  flex-wrap: nowrap;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


