html, body {
  margin:0px;
  height:100%;
}


#button1 {
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  align: center;
}


#main-container{
  left: 0px;
  height: 100vh;
  position: relative;
  display: flex;
  flex-flow: column;
}

#home-container{
  position: absolute;
  top: 17%;
  left: 0;
  width: 100%;
  padding: 0%;
  margin: 0%;
  background: #ffffff;
  overflow: hidden;
}

#search-bar-overlay{
  z-index: 1000;
  position: absolute;
  top: 115px;
  left: 5px;
  background-color: #303030;
  height: 130px;
  width: 250px;
  opacity: 1;
  font-size: medium;
  border-radius: 5px;
  color: white;
  display: flex;
  padding: 5px;
}

#google-form-overlay{
  z-index: 900;
  position: absolute;
  top: 2%;
  left: 1%;
  background-color: #303030;
  height: 5%;
  width: 250px;
  opacity: 1;
  font-size: medium;
  border-radius: 5px;
  color: white;
  display: none;
  padding: 5px;
}



#main-header{
  background-color: none;
  font-weight: bold;
  font-size: xx-large;
  color: black;
  display: block;
  padding-top: 10px;
  margin-bottom: auto;
  margin-left: 20px;
  font-family: 'Tajawal', sans-serif;
  width: 80%;
}


#dropdown-area-search-bar{
  flex: 5;
  z-index: 900;
  position: absolute;
  top: 6.5%;
  left: 1%;
  background-color: #303030;
  height: 135px;
  width: 250px;
  opacity: 1;
  font-size: medium;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
}

#division-dropdown{
  margin-bottom: 5px;
  font-size: small;
  color: black;
}

#site-type-selector{
  font-size: small;
  color: black;
  margin-bottom: 5px;
}

#village-selector{
  font-size: small;
  color: black;
  margin-bottom: 5px;
}

#site-dropdown{
  font-size: small;
  color: black;
}



#main-content{
  background-color: white;
  height: 86%;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

#loading-image{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 100px;
}

#cgforest-logo-mainnav{
  height: 50px;
  position: relative;

}

#cgforest-logo-col-container{
  width: 5%;
  position: relative;
}

#cgforest-logo{
  height: 9%;
  position: fixed;
  top: 3px;
  right: 10px;
  z-index: 1050;
}




/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #e3eaf3;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Login Page */
.login-page {
    width: 30%;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Blue Gradient */
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.login-page h2 {
    text-align: center;
}

.login-page input {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.login-page button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: white;
    color: #007bff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.login-page button:hover {
    background-color: #e3eaf3;
}

/* Home Page */
.home-page {
    width: 80%;
    margin: auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#title-bar{
  position: fixed;
  top: 0;
  left:0;
  width:100%;
  height:10%;
  background-color: white;
  display: flex;
  z-index: 1000;
  align-items: center;
  padding-left: -10px;
  
}

#title-bar .navbar-brand{
  font-weight: bold;
  font-size: 30px;
  color: black;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

#navbar{
  position: absolute;
  top: 7%;
  left:0;
  width:100%;
  height:7%;
  margin:0;
  padding:0;
  background-color: #007bff !important;
  z-index: 950;
}

/* Navbar Styling */
.navbar {
    color: white;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #0056b3;
    transition: all 0.3s ease-in-out;
}

.navbar:hover {
    
}



/* Form Page */
.form-page {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    background: #fdf8e3; /* Light yellow background */
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Logs Page */
.logs-page {
    width: 90%;
    margin: auto;
    background: #f4f4f4; /* Light grey */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


/* Upload Section */
#upload-file {
    border: 2px dashed #007bff;
    padding: 20px;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    border-radius: 8px;
    display: inline-block;
}

#upload-file:hover {
    background-color: #e9f5ff;
    border-color: #0056b3;
    transform: scale(1.02);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#upload-file:active {
    transform: scale(0.98);
}

/* File List */
#file-list {
    list-style-type: none;
    padding: 0;
}

#file-list li {
    background: white;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

#file-list li:hover {
    background-color: #f0f8ff;
    transform: translateX(5px);
}

#file-list li .file-name {
    font-weight: bold;
    color: #333;
}

#file-list li .delete-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

#file-list li .delete-btn:hover {
    background: #cc0000;
}

/* Activity Logs */
.list-group-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 12px 15px;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: scale(1.02);
}

/* Log Timestamp */
.log-time {
    font-size: 12px;
    color: #777;
}

/* Log Message */
.log-message {
    font-weight: bold;
    color: #333;
}

/* Styling for the Entry Field container */
.entry-field-container {
    width: 49%;
    float: left;
    padding: 10px;
    background-color: #f9f9f9; /* Light background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: left; /* Center align content */
    margin-top: 3.5%;
}

/* Styling for the H3 heading */
.entry-field-container h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

/* Styling for the buttons */
.entry-field-container a {
    display: block; /* Make buttons full width */
    margin: 10px auto; /* Add spacing */
    width: 80%; /* Control width */
}

/* Add hover effect for buttons */
.entry-field-container .btn-primary:hover {
    background-color: #0056b3; /* Darker shade of blue */
}

.entry-field-container .btn-warning:hover {
    background-color: #d39e00; /* Darker shade of yellow */
}
