h1 {
  font-size: 30px;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration-color: black;
}

body {
  background-image: url('../images/background.png');
  
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: hwb(199 49% 21% / 0.527);
  margin: 0;
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center;
  background-position: center; 
  background-attachment: fixed; 
  min-height: 100vh; 
  padding: 0;
}



.sidebar {
  margin: 0;
  padding: 0;
  width: 140px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
}

.sidebar a {
  display: block;
  color: blue;
  padding: 16px;
  text-decoration: none;
}
 
.sidebar a.active {
  background-color: #04AA6D;
  color: white;
}

.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

div.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 1000px;
}

@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

.profile-container {
  position: absolute;
  top: 10px;
  right: 10px;
  text-align: center;
  background-color: #333;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #f2f2f2;
}

.profile-container img.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.profile-container p {
  margin: 10px 0 5px;
}

.profile-container .logout-btn {
  display: inline-block;
  padding: 8px 12px;
  margin-top: 10px;
  background-color: #f44336;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.profile-container .logout-btn:hover {
  background-color: #d32f2f;
}

form {
  height: 520px;
  width: 400px;
  background-color: rgba(255,255,255,0.13);
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 40px rgba(8,7,16,0.6);
  padding: 50px 35px;
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.error {
  color: red; 
  text-align: center;
  margin-bottom: 20px;
}

button {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

.topnav .search-container {
  float: right;
}

.topnav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
}

.topnav .search-container button {
  float: right;
  padding: 6px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

body {
  font-family: Arial, sans-serif;
}

.top-right {
  position: absolute;
  top: 10px;
  right: 10px;
}

.admin-login-btn {
  background-color: #f1f1f1;
  color: black;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.admin-login-btn:hover {
  background-color: #ddd;
}



/*search bar and modal from css*/
.container {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.search-bar {
  margin-bottom: 20px;
}

.search-bar input {
  width: 60%;
  padding: 10px;
  margin-right: 10px;
}

.search-bar button {
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background-color: #f3f29b;
}

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

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

.status-complete {
  color: green;
}

.status-pending {
  color: #e71515;
}

.status-in-progress {
  color: blue;
}

.payment-status-deposit-paid {
  color: blue;
}

.payment-status-fully-paid {
  color: green;
}

.payment-status-pending {
  color: red;
}

/*modal form*/ 
#assignModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.header {
  text-align: center; /* Center content horizontally */
  margin-bottom: 20px; /* Space between logo and navbar */
}

.logo-container {
  display: block; /* Ensure container is a block element to center content */
  margin: 0 auto; /* Center the logo container */
}

.logo {
  max-width: 100%; /* Ensure the logo scales with container */
  height: auto; /* Maintain aspect ratio */
  max-height: 70px; /* Adjust as needed */
}

.navbar {
  text-align: center; /* Center align the navbar items */
  /* Existing styles for your navbar */
}
