body {
    background-image: url('images/bgimg.png');
    background-color: #5b6f51;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background-color: #27391c;
    color: white;
    padding: 0 30px;
    height: 100px;
}

.header img {
    height: 80px;
    margin-bottom: 0;
    margin-top: 7px;
}

.date-time {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: stretch; 
}

.nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: background-color 0.3s;
}

.nav a.active {
    background-color: #1f7d53;
}

.nav a:hover {
    background-color: #ffe5e5;
    color: #27391c;
}


.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.input-row label {
    flex: 0 0 110px;
    margin-right: 25px;
    font-size: 15px;
    font-weight: bold;
    color: #345522;
    text-align: right;
}

.input-row input[type="text"],
.input-row input[type="password"],
.input-row input[type="email"]  {
    flex: 1;
    padding: 10px;
    border: 0.3px solid #c9b9ac;
    border-radius: 0px; 
    background-color: #ffe5e5;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin-bottom: 7px;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.container {
    background-color: #fcfaf8;
    padding: 70px;
    border-radius: 17px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 570px;
    text-align: left;
}

.form-container h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1f7d53;
    text-align: center;
}

.container label {
    font-size: 17px;
    font-weight: bold;
    color: #345522;
}

.button-container, .forgot-container {
    display: flex;
    justify-content: center;
}

button {
    background-color: #1f7d53;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 30px;
    width: 50%;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    margin-top: 25px;
}

button:hover {
    background-color: #27391c;
    color: #ffe5e5;
}
        input, select {
            flex: 1;
    padding: 10px;
    border: 0.3px solid #c9b9ac;
    border-radius: 0px; 
    background-color: #ffe5e5;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin-bottom: 7px;
        }
        button {
            width: 100%;
            padding: 12px;
            background: #41a76a;
            border: none;
            color: white;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
        }
        button:hover {
            background: #368c57;
        }
        .message {
            text-align: center;
            color: red;
        }



        .profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-btn img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.profile-dropdown button{
    width: 100%;
    padding: 12px;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    background: #27391c;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-left: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #27391c;
  border-radius: 6px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 1000;
}

.dropdown-menu a {
  padding: 10px;
  color: white;
  text-decoration: none;
  text-transform: none;
  font-weight: normal;
}

.dropdown-menu a:hover {
  background-color: #1f7d53;
}

.profile-dropdown.active .dropdown-menu {
  display: flex;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}


             ::-webkit-scrollbar {
            width: 8px; 
          }
          
          ::-webkit-scrollbar-track {
            background: #ffe5e5; 
          }
          
          ::-webkit-scrollbar-thumb {
            background: #1f7d53;
            border-radius: 10px; 
          }
          
          ::-webkit-scrollbar-thumb:hover {
            background: #345522;
          }

          