/* 
  color palette:

  #49c5b6 - light blue
  #2778a7 - dark blue
  #133a50 - dark blue
  #fff - white
  #000 - black

  #466F89 - bluish
  #706F6F - dim gray


  --paynes-gray: #466F89; #bluish
  --black: #000000;
  --dim-gray: #706F6F;


*/


/* 
  font-family: 'Roboto', sans-serif;
  font-family: 'Roboto Mono', monospace

*/


/* 

  minimum font size: 12px
*/



@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 12vh; */
  padding: 2px 0px;

  /* background: #706F6F; */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 99;

  background-color: #133a50;

  align-items: center;

}

.logo {
  font-size: 30px;
  color: #706F6F;
  user-select: none;
  margin-left: 5px;
} 


/* image logo */
.autodl-logo {
  width: auto;
  height: 75px;
  margin-left: 25px;
}

.autodl-logo:hover {
  cursor: pointer;

  /* pop up the logo when hovered */
  transform: scale(1.1);
  transition: transform 0.5s;

  /* change the color of the logo when hovered */
  /* filter: invert(1); */
}


.navigation a:not(.logout-btn){
  position: relative;
  font-size: 1.2em;
  color: #ffffff;
  text-decoration: none;
  font-weight: 100;
  margin-left: 50px;
  margin-right: 50px;

  /* background-color: #b94848; */
}

.navigation {
  z-index: 2;
  /* background-color: #db7171; */
  /* height: 15vh; */
  align-items: center;
  display: flex;
  justify-content: space-between;

  padding: 0px 25px;

}

.navigation a:hover {
  /* color: rgb(231, 219, 219);
   */
  
  color: #fff;

  /* zoom in the text when hovered */
  transform: scale(1.1);
  transition: transform 0.5s;
  /* background-color: #b94848; */

}


body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #466F8948;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 240, 240, 0.856); 
  z-index: -1;
}

.wrapper {
  position: fixed;           /* fix position relative to viewport */
  top: 50%;                 /* move to vertical center */
  left: 50%;                /* move to horizontal center */
  transform: translate(-50%, -50%); /* offset by half width & height to truly center */
  
  margin-right: 0;          /* remove margin-right to avoid offset */
  width: 400px;
  height: 440px;
  background: transparent;
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: height 0.2s ease;
  color: #133a50;
}


.wrapper.active-popup {
  transform: scale(1);
  backdrop-filter: blur(100px);
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.wrapper .form-box {
  width: 100%;
  padding: 40px;
  /* color: #706F6F; */
  color: #133a50;
}

.form-box h2 {
  font-size: 2em;
  /* color: #706F6F; */
  color: #133a50;
  text-align: center;
}

.wrapper.active {
  height: 520px;
}

.wrapper .icon-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background: #706F6F;
  font-size: 2em;
  color: #706F6F;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 20px;
  cursor: pointer;
  z-index: 1;
}

.wrapper .form-box.login {
  transition: transform 0.18s ease;
  transform: translateX(0);
  display: block;
  /* color: #706F6F;
  background-color: #fff; */
}

.wrapper.active .form-box.login {
  transition: none;
  transform: translateX(-400px);
  /* color: #706F6F;
  background-color: #fff; */
}

.wrapper .form-box.register {
  position: absolute;
  transition: none;
  transform: translateX(400px);
}

.wrapper.active .form-box.register {
  transition: none;
  transform: translateX(0px);
  position: relative;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid #133a50;
  margin: 30px 0;
  /* color: #133a50; */
  background: transparent;
  
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  /* color: #706F6F; */
  font-weight: 500;
  pointer-events: none;
  transition: 0.5s;
  /* background: transparent; */
  color: #133a50;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  /* color: #706F6F; */
  font-weight: 600;
  padding: 0 35px 0 5px;
  color: #133a50;
}

.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: #133a50;
  /* color: #706F6F; */
  line-height: normal;
  line-height: 57px;
}

.username-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #133a50;
  font-weight: 600;
  padding: 0 35px 0 5px;
}

.email-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #133a50;
  font-weight: 600;
  padding: 0 35px 0 5px;
}

.password-box input {
  background: transparent;
}

.remember-forgot {
  font-size: 0.9em;
  color: #706F6F;
  font-weight: 500;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}

.remember-forgot label input {
  accent-color: #706F6F;
  margin-right: 3px;
}

.remember-forgot a {
  font-size: 0.9em;
  color: #133a50;
  /* margin-left: 25px; */
  text-decoration: none;
  margin-top: 5px;
  justify-content: space-between;
}

.remember-forgot a:hover {
  text-decoration: underline;
  /* color: rgba(255, 255, 255, 0.623); */
}

.privacyPolicyLink{
  color: #133a50;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: white;
  padding: 20px 40px;
  border-radius: 5px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  height: 250px;
}

.popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Success Popup */
.success-popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-popup .popup-content {
  background-color: white;
  padding: 20px 40px;
  border-radius: 5px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  height: 150px;
}

.success-popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* custom alert from alert.js */
.alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* text-align: center; */
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  width: 80%;
  max-width: 600px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

.alert .closebtn {
  margin-left: 35px;
  cursor: pointer;
  font-size: 20px;
  margin-bottom: 30px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left: 5px solid #28a745;
}

.alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 25px;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
  
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-left: 5px solid #ffc107;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-left: 5px solid #17a2b8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    top: 0;
  }
  to {
    opacity: 1;
    top: 13%;
  }
}

/* Styling for alert overlay */
.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.418);
  z-index: 9998;
}

#forgotPasswordForm h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #333;
}

#forgotPasswordForm label {
  display: block;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

#forgotPasswordForm input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#forgotPasswordForm button {
  width: 100%;
  padding: 10px;
  background-color: #133a50;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

#forgotPasswordForm button:hover {
  background-color: #2980b9;
}

.btn {
  width: 100%;
  height: 45px;
  background-color: #133a50;
  border: #000;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
  font-weight: 500;
}


/* .btn:hover {
  background-color: #466F89;
} */

.login-register {
  font-size: 0.9em;
  color: #133a50;
  text-align: center;
  font-weight: 500;
  margin: 25px 0 10px;
}

.login-register p a {
  /* color: #706F6F; */
  color: #133a50;
  text-decoration: none;
  font-weight: 600;
}

.login-register p a:hover {
  text-decoration: underline;
}

.home-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;       /* Stack on small screens */
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding: 1rem;
}

@media (min-width: 769px) {
  .home-page {
    margin-right: 180px;
  }
}

.home-page h2 {
  margin-bottom: 20px;
  font-size: 2.5em;
  /* color: #706F6F; */
  /* color: white; */
  color: #133a50;
}

.home-page p {
  font-size: 1.3em;
  /* color: #706F6F; */
  color: #133a50;
  width: 100%;
  
}

.text-container {
  width: 60%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center inside the flex column */
  align-items: center;          /* Center content */
  text-align: center;
  box-sizing: border-box;
}

.home-page ul {
  font-size: 1.3em;
  color: #133a50;
  width: 100%;                  /* Full width of text-container */
  max-width: 600px;
  text-align: left;
  margin: 0 auto;
  padding: 0;
  list-style-position: inside; /* Keeps bullets neatly aligned */
}

.home-page li {
  margin-bottom: 10px;
  font-size: 1em;
}

.video-container {
  /* position: relative; */
  /* padding-top: 26%; */
  /* padding-top: 56.25%; */
  margin-top: 4%; 
  width: 50%;
  border-radius: 30px;
  overflow: hidden;
}

.responsive-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9; 
  border: 0;
}

.login-page {
  display: block;
}

.active-page {
  display: block;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: none;
  backdrop-filter: blur(5px);
}

.wrapper .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: none;
}

.wrapper.active-popup + .overlay {
  display: block;
}


.home-page-paragraph {
  font-size: 1.3em;
  color: #706F6F;

  max-width: 90vw;

}


/* changing the body only for autodl.html */
.intro-section {
  text-align: center;
  max-width: 600px;
  padding: 20px;
  color: #466F89;
  /* Optional styling */
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.intro-section h1 {
  font-size: 30px;
  margin-bottom: 20px;

}

.intro-section p {
  margin-bottom: 20px;
}

/* .create-new-project-btn {
  padding: 10px 20px;
  background-color: #466F89;
  color: #fff;
  border: #000;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.create-new-project-btn:hover {
  background-color: #fff;
  color: #466F89;  

} */

/* .navigation .user-button {
  background: transparent;
  border: #000;
  cursor: pointer;
  padding: 0;
  margin-left: 40px;
  vertical-align: middle;
  font-size: 20px;
} */


.user-button {
  background: transparent;
  border: #000;
  cursor: pointer;
  /* padding: 30; */
  margin-left: 30px;
  vertical-align: middle;
  font-size: 30px;
  color: #fff;
  /* margin-top: -10px; */

  margin-right: 20px;
}





.projects-table-section {

  position: absolute;
  left: 220px;
  padding: 20px;
  /* z-index: 1; */
  color: #466F89;  

  top: 35vh;
  
  /* scroll in y-axis if needed */
  /* overflow: hidden;  
  overflow-y: scroll;   */
  width: fit-content;
}

.projects-table-section h2 {
  padding: 20px 0px;
}

.projects-table-section h2 span {
  
  margin: 0;

}

#autodl-dropdown {
  margin-right: 55px;
  margin-left: 25px;
}

#autodl-dropdown .dropdown {
  position: relative;
  
}

#autodl-dropdown .dropdown-content {
  position: absolute;
  z-index: 1;

  width: 120%;

}

#autodl-dropdown .dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
  background-color: transparent;
  font-size: 0.9em;
  /* font-weight: bold; */


}

#content {
  /* padding: 20px; */
  background-color: white;
  color: white;
}


.project-creation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #000;
}

.project-creation-form {
  position: relative;
  background: #133a50d3;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* width: 480px; */
  width: 20vw;
  height: 40vh; 
  min-width: 480px;
}

.project-creation-form p {
  padding: 3.5px 0px;
  color: #fff;

  /* font-size: 20px; */

}

.project-creation-form h2 {
  margin-bottom: 40px;
  text-align: center;
  /* padding-top: px; */
  margin-top: 0;
  color: #fff;
}

.project-creation-form label {
  display: block;
  margin-bottom: 15px;
  color: #fff;
}

.project-creation-form input[type="text"],
.project-creation-form select {
  width: 100%;
  padding: 4px;
  margin-bottom: 25px;
  border-radius: 5px;
  border: #000;
  color: #466F89;
}


.project-creation-form div {
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  color: #466F89;
  
}




.task-container {
  display: flex;
  justify-content: space-between;
  padding: 0px;
  align-items: center;
  color: #466F89;
  flex-wrap: wrap;

}

.dropbtn {
  padding: 5px 0px;
  border: #000;
  background-color: #fff;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
  color: #466F89;

}
 
.dropdown {
  display: flex;
  justify-content: space-between;
  position: relative;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
  flex: 0.3;
  color: #706F6F;
}

/* 
.dropdown-content {
  display: none;
  width: 100%;
  background-color: #fff;
  color: #706F6F;

  padding: 5px 0px;

  border-radius: 5px;
} */



.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #fff;
  color: #706F6F;
  border-radius: 5px;
  padding: 5px 0px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
} 





.dropdown-content a {
  background: #fff;
  color: #466F89;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  font-size: 12px;
  box-sizing: border-box;
  z-index: 1;
}

.dropdown .dropbtn.active + .dropdown-content {
  display: block;
  color: #466F89;
}

.selected-task {
  /* display: none; */
  margin-top: 10%;
  padding: 10px;
  background-color: #fff;
  font-weight: bold;
  border-radius: 5px;
  color: #706F6F;
  border: #000;

}

.selected-task.visible {
  display: block;
  color: #706F6F;

}

.dropdown-content a:hover {
  background-color: #466F89;
  color: #fff;

}

.dropdown:hover .dropdown-content {
  display: block;
  /* color: #706F6F; */
}


/* dropdown-content for id = logoutBtn */
/* .dropdown-content-logout {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #fff;
  color: #706F6F;
} */


/* logout-btn */
.logout-btn  {
  padding: 5px 10px;
  border: #ffffff;
  background-color: transparent;
  cursor: pointer;
  /* border-radius: 5px; */
  /* color: #706F6F; */
  color: #000;
  font-size: 0.9em;
  /* font-weight: bold; */

}

.profile-btn {
  margin-left: -50px;
}




.logout-btn:hover {
  background-color: #fff;
  color: black;
  /* font-weight: bold; */
  font-size: 1em;
}


.form-buttons {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0px;
  left: 0;
  right: 0;
  padding: 10px;
  align-items: center;
  gap: 150px;
}

.form-buttons .submit-btn {
  /* border: #000; */
  border: #fff solid 1px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  color: #466F89;
  background-color: #fff;
  bottom: 4%;
  width: 130px;
  /* font-size: large; */
}


.form-buttons .submit-btn:hover {
  background-color: #466F89;
  color: #fff;
}


.form-buttons .cancel-btn {
  border: #fff solid 1px;
  border-radius: 5px;
  /* border: #000; */
  padding: 10px 20px;
  cursor: pointer;
  color: #466F89;
  background-color: #fff;
  bottom: 4%;
  width: 130px;
}

.form-buttons .cancel-btn:hover {
  background-color: #466F89;
  color: #fff;
}

.stop-btn {
  border: #fff solid 1px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  color: #ff0000;
  background-color: #fff;
  bottom: 4%;
  left: 0;
  right: 0;
  align-items: center;
  text-align: center;
}




/* .form-buttons .results-btn {
  border: #000;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  color: #466F89;
  background-color: #fff;
  bottom: 4%;
} */


.sidebar {
  width: 8%;
  position: fixed;
  top: 25%;
  left: 0;
  height: calc(100% - 60px);
  box-sizing: border-box;
  padding-top: 5%;
}

/* .side-btn {
  display: block;
  padding: 15px 0px;
  text-align: center;
  border: #000;
  background: #fff;
  width: 120%;
  box-sizing: border-box;
  border-left: 4px solid transparent;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
  background-color: #133a50d3;
  font-size: 15px;
  font-weight: 600;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  
}

.side-btn.active {
  background-color: #075c5ca8;
  border: 2px solid rgb(0, 0, 0);
  color: #fff;
  background-position: left bottom;
  
}

.side-btn:hover {
  background-color: #075c5ca8;
  color: #fff;
} */

.side-btn {
  display: block;
  padding: 15px 0px;
  text-align: center;
  border: #000;
  background: #133a50d3;
  width: 120%;
  box-sizing: border-box;
  border-left: 4px solid transparent;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
  font-size: 15px;
  font-weight: 600;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.side-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #466f89e5;
  z-index: -2;
}

.side-btn:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #133a50d3;
  transition: all 0.5s;
  z-index: -1;
}

.side-btn.active {
  color: #fff;
}

.side-btn.active:before {
  width: 100%;
}

.side-btn:hover {
  color: #fff;
}

.side-btn:hover:before {
  width: 100%;
}


.main-content {
  margin-top: 8%;
  float: left;
  height: 100%;
  background-color: #706F6F;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 5px;
  color: #fff;
}

/* .tabs {
  margin: 10px px;
} */

.tab-btn {
  display: inline;
  background-color: #fff;
  border: #000;
  padding: 4px;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  padding: 6px;
}


/* .drag-drop {
  border: #000;
  border-radius: 5px;
  color: #999;
  text-align: center;
  padding: 50px;
  cursor: pointer;
} */

.drag-drop:hover,
.drag-drop.dragover {
  border-color: #706F6F;
  color: #202020;
}

.content-section {
  border: #ffffff;
  padding: 10px 1px;

  /* align-items: center; */
}


/* .upload-area,
.split-data-section,
.map-column-section {
  margin-bottom: 20px;
} */

.drag-drop {
  background-color:  #fff;
  color: #706F6F;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  width: 100%;
  margin: 0 auto;
}

.option-btn {
  padding: 5px 10px;
  margin-right: 10px;
  cursor: pointer;
  background-color:  #fff;
  border: #000;
  border-radius: 5px;
  transition: background-color 0.3s, border-color 0.3s;
}

.main-content p {
  padding: 10px 5px;
  font-size: large;
  /* font: bold; */
  /* text-align: center; */
}

.main-content h4 {
  /* padding: 10px 5px; */
  font-size: large;
  /* font: bolder; */
  text-align: center;
}

.selected {
  border: #000;
    background-color:  #fff;
    color: #706F6F;
}

.training-btn-container{
  margin-top: 10%;
  display: flex;
  justify-content: center;
  /* put this button 2% above the bottom */
  position: absolute;
  bottom: 2%;
  left: 0;
  right: 0;
}


.training-btn{
background-color:  #fff;
padding: 10px 20px;
color: #706F6F;
text-align: center;
outline: none;
border: #000;
border-radius: 5px;
cursor: pointer;
}

/* .training-btn:hover {
  background-color: #466F89;
  color: #fff;
} */

/* #file-list {
  margin-top: 10px;
} */

.file-progress-item {
  background-color:  #fff; 
  border: #000; 
  margin-bottom: 10px; 
  padding: 10px; 
  border-radius: 5px; 
  color: #706F6F; 
  display: flex;
  align-items: center; 
  justify-content: space-between; 
}

.file-name {
  flex-grow: 1; 
  margin-right: 20px; 
}



.progress-bar {
  height: 20px; 
  background-color: #fff; 
  border-radius: 5px; 
  width: 0%; 
  text-align: center;
}

.progress-bar-container {
  position: relative;
  width: 50%;
  height: 10px;
  background-color: #fff; 
  border-radius: 5px;
}

.progress-bar {
  background-color: #fff; 
  height: 100%;
  border-radius: 5px;
  
}

.progress-bar-percentage {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #706F6F;
}

.checkmark {
  font-size: 2em;
  color: #706F6F; 
  margin-left: 10px;
  display: none; 
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 10px; */
  background-color: #fff; 
  color: #706F6F;
  padding: 5px;
  border-radius: 5px;
}
/* 
.progress-bar-complete {
  background-color: #fff; 
  width: 100%; 
  height: 10px;
  border-radius: 5px;
  display: block;
} */


/* this is for divs inside the default_paramsDiv */
#default_paramsDiv div {
  display: flex;
  align-items: center;
  margin: -10px;
}


/* this is for the labels and inputs */
#default_paramsDiv label {
  flex-basis: 100%; 
  /* text-align: center;  */
  /* margin-right: 0px;  */
}

#default_paramsDiv input, #default_paramsDiv select {
  flex-grow: 1; 
  /* padding: 2px; */
  border: #000;
  text-align: center; 
  /* margin-top: -10px; */

  font-size: 14px;

  /* no wrap */
  /* white-space: nowrap; */
}


/* #default_paramsDiv modify to fit the screen */

#default_paramsDiv {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  width: 90%;
  margin: 20px;
  height: 22vh;
  margin-top: 0px;


}



/* username-display class for displaying the username in the header */
.username-display {
  color: #706F6F;
  font-size: 1em;
  /* background-color: #fff; */

}


/* username-display class for displaying the username in the header */
.username-display-button {
  color: #466F89;
  font-size: 0.8em;
  font-weight: bold;
  padding: 5px 5px;
  

  /* fit text */
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;

}



/* user-icon class for displaying the user icon in the header */
.user-icon {
  scale: 2.5;
}





.created_project_status {

  color: #ffffff;
  font-size: 12px;
  justify-content: center;
  text-align: center;
  position: absolute;
  bottom: 1%;
  left: 0;
  right: 0;

}

.stop_project_status {

  color: #ff0000;
  font-size: 12px;
  justify-content: center;
  text-align: center;
  position: absolute;
  bottom: 1%;
  left: 0;
  right: 0;

}


.create-btn {
  padding: 10px 20px;
  background-color: #fff;
  color: #466F89;
  border: #fff solid 1px;
  /* border: #000; */
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
}

.create-btn:hover {
  background-color: #466F89;
  color: #fff;
}

.create-project-btn {
  padding: 12px 24px;
  background-color: #fff;
  color: #466F89;
  border: #fff solid;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;


  font-size: 1.001em;

}

.create-project-btn:hover {
  background-color: #466F89;
  color: #fff;
}




.stop-btn:hover {
  background-color: #ff0000;
  color: #fff;
}

.input-group {

  color: #466F89;
  /* background-color: #466F89; */
}

#defaultParameters ul {
  list-style-type: none; 
  padding: 0; 
}

#defaultParameters li {
  display: inline; 
  margin-right: 15px; 
  text-align: left; 
  margin: auto;
}

#defaultParameters {
  /* background-color: #fff; */
  /* color: #466F89; */
  text-align: left; 
  width: 100%; 
  margin: auto;
}

#defaultParameters .parameter {
  color: #fff;
  /* background-color: #fff; */
  /* border-radius: 5px; */
  padding: 3px;
}

/* results page images */
#imageContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-around;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  /* gap: 2px; */
  /* padding: 0 5px; */
  background-color: #ffffff;
  /* border: 2px solid #000; */

  max-height: 30vh;
}

.image-preview {
  max-width: 20%;
  /* min-width: 10%; */
  max-height: 20%;
  margin: 3px;
  cursor: pointer;
  transition: transform 0.3s ease;
  object-fit: cover;
  /* border: 2px solid #000; */
}

.image-preview:hover {
  transform: scale(1.05); 

  border: 2px solid #ff0202;
  border-radius: 5px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  margin: 8% auto;
  display: block;
  max-width: 55%;
  max-height: 65vh;
  object-fit: contain;
  border: 2px solid #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}


.results-container {
  /* min-height: calc(100vh - 150px); */
  display: flex;
  justify-content: right;
  align-items: flex-start;
  max-height: 70%;
  margin-left: 20%;
  /* flex-direction: column; */
  
}

.results-form {
  position: relative;
  background: #133a50d3;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 35vw;
  min-width: 30vw;
  min-height: 60vh;
}


.results-form h2 {
  margin-bottom: 40px;
  text-align: center;
  margin-top: 0;
  color: #fff;
}

.results-btn-container{
  display: flex;
  justify-content: space-between;
}


/* #resultsContainer {
  display: flex;
}

#resultsForm {
  flex: 1;
} */

.explanation-box-container {
  margin-top: 120px;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  width: 20vw;
}


/* .explanation-box {
  background-color: #466F89;
  color: white;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 5px;
  width: 100%;
  height: 100%;
} */

.explanation-box {
  background-color: #b39000;
  color: white;
  padding: 25px;
  margin-bottom: 120px;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.explanation-box::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 100%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent rgba(158, 125, 17, 0.836) transparent transparent;
}


/* .accordion {
  margin: 1% 0;
  display: grid;
  display: none;
  padding: 10px 20px;
  background-color: #fff;
  color: #466F89;
  border: #000;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
}

.accordion:hover {
  background-color: #466F89;
  color: #fff;
} */


.preview-btn {
  margin: 1% 0;
  display: grid;
  display: none;
  padding: 5px 10px;
  background-color: #fff;
  color: #466F89;
  /* border: #000; */
  border: #fff solid 1px;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
}

.preview-btn:hover {
  background-color: #466F89;
  color: #fff;
}



/* .active {

} */

.panel {
  /* padding: 0 5px; */
  display: none;
  background-color: #fff;
  overflow: hidden;
  border-radius: 5px;
  color: #000000;
  border: 1px solid #ffffffb0;
  max-height: 25vh;
  /* max-width: 50%; */
  overflow-y: scroll; 
  /* white-space: pre-line; */

  font-size: 0.8em;
  font-family: 'Roboto', sans-serif;

}

.panel-images {
  padding: 0 5px;
  display: none;
  background-color: #fff;
  overflow: hidden;
  border-radius: 5px;
  color: #000000;
  border: 1px solid #ffffffb0;
  /* max-height: 25vh; */
  /* max-width: 50%; */
  overflow-y: scroll; 
  white-space: pre-line;

}



/* add scrollbar styling for panel */
.panel::-webkit-scrollbar {
  width: 10px;
  background-color: #fff;

}

.panel::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: #fff;
  background-position: -5px;
  background-repeat: repeat-y;
  background-size: 50px;
  /* border: 3px solid #fff; */
}



.panel::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #466F89;
  background-position:center center;
  background-repeat: no-repeat;
  background-size: 35px;
  border: 2px solid #fff;

}




#videoContainer {
  display: flex;
  flex-wrap: wrap;
  /* padding: 5px 5px; */
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  max-height: 40vh;
  justify-content: center;
  /* align-items: center; */
}



.video-preview {
  /* width: 40%; */
  max-width: 90%;
  /* max-height: 40%; */
  margin: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* padding:10 10px; */
}

.video-preview:hover {
  transform: scale(1.05); 
  border: 3px solid #ff0202;
  border-radius: 5px;
}

.videos {
  max-width: 60%;
}


.footer-container {
  display: flex;        
  justify-content: center; 
  align-items: center;     
  position: fixed;         
  left: 0;                
  bottom: 0;              
  width: 100%;             
  height: 35px;           
  /* background: #333;        */
  color: #fff;       
  text-align: center;      
  padding: 10px 0;         

  background-color: #133a50;

}



.download-btn {
  border: #fff solid 1px;
  padding: 10px 20px;
  background-color: #fff;
  color: #466F89;
  /* border: #000; */
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
}

.download-btn:hover {
  background-color: #466F89;
  color: #fff;
}

.downloadForm{
  margin-top: 20%;
  margin-bottom: 10%;
  position: relative;
  background: #706F6F;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* max-width: 50vw; */
  /* min-width: 480px; */
  width: 45vw;
  min-width: 30vw;
  /* height: 50%; */
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.csvs {
  padding: 0 5px;
  display: none;
  background-color: #fff;
  overflow: hidden;
  border-radius: 5px;
  color: #000000;
  border: 1px solid #ffffffb0;
  max-height: 25vh;
  font-size: 1em;
  overflow-y: scroll;
  font-family: 'Roboto', sans-serif;

}

/* make csvs table look better */
.csvs table {
  width: 100%;
  border-collapse: collapse;

  border: 1px solid #000;
  text-align: center;

  font-size: 0.8em;

}



/* add scrollbar styling for panel */
.csvs::-webkit-scrollbar {
  width: 10px;
  background-color: #fff;

}

.csvs::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: #fff;
  background-position: -5px;
  background-repeat: repeat-y;
  background-size: 50px;
  /* border: 3px solid #fff; */
}



.csvs::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #466F89;
  background-position:center center;
  background-repeat: no-repeat;
  background-size: 35px;
  border: 2px solid #fff;

}

.tooltip {
  cursor: help;
  position: relative;
  display: inline-block;
  color: white;
  margin-top: -20px;
}

.tooltip:hover::after {
  content: attr(title);
  visibility: visible;
  width: auto;
  background-color: #133a50;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  white-space: nowrap;
  font-size: 0.8em;
}

.tooltip .tooltiptext {
  
  visibility: hidden;
  width:auto;
  background-color: #133a50;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 6px 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  white-space: nowrap;
  font-size: 0.8em;
  font: 0.83em sans-serif;
  transition: opacity 0.3s;
  width: 350px;
  /* white-space:inherit ; */
  /* max-height: 100px; */
  word-wrap: break-word; 
  overflow-wrap: break-word; 
  white-space: normal;
}

.tooltip:hover .tooltiptext {
  
  visibility: visible;
  /* opacity: 1; */
}






.table_name {
  color: #466F89;
  font-size: 1.2em;
  text-align: center;
  margin-top: 1%;
  margin-bottom: 2%;

}



.warning_message {
  color: #466F89;
  font-size: 0.8em;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
}

/* panel and warning message */
.panel_warning_message {
  color: #466F89;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
  width: 100%;

}


/* .progress_bar_training {
  color: #c04a1b;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
  width: 100%;
} */

/* 
.progress_bar_training {
  color: #fff;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;

} */


/* .progress {
  --progress: 0%;

  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;

  width: 90%;
  height: 20px;
  margin: 0.5em auto;
  border: 0.5px solid #ffffff;
  border-radius: 5px;
  padding: 1%;
  box-shadow: 0 0 3px #ff0000;

  font-size: 1em;
  color: #fff;

} */

/* .progress .bar {
  width: var(--progress);
  height: 100%;

  background: #fff;
  animation: 
    shine 4s ease-in infinite,
    end 1s ease-out 1;
  transition: width 3s ease;
  border-radius: 5px;
} */

/* change color of the progress bar when above 50% */
/* .progress .bar.shine {
  background: linear-gradient(#466F89, #133a50);

} */

/* progress bar animation when  progress is 100% */
/* .progress_full {
  --progress: 100%;
  
  box-shadow: 0 0 5px #00ff15;
  transition: box-shadow 1s;
} */


@keyframes shine {
  0% { background-position: 0 0; }
  100% { background-position: 0 50px; }
}

@keyframes end {
  0%, 100% { box-shadow: 0 0 10px 0px #ff0000; }
  50% { box-shadow: 0 0 15px 5px #ff0000; }
}




/* make this text look better */
.training_status {
  /* font-size: 0.9em; */
  /* text-align: center; */
  margin-top: 4%;
  /* margin-bottom: 2%; */
  width: 100%;
  /* font-weight: bold; */

}

 
table.projects-table {

  overflow-x: hidden;
  overflow-y: auto;
  height: 20vh;
  display: block;

  min-width: 40vw;
  min-height: 40vh;
  /* max-width: 60vw; */


} 




table.projects-table.scrolldown tbody {
 
  overflow-y: auto;
  overflow-x: hidden;
  
}


/* add scrollbar styling */
table.projects-table::-webkit-scrollbar {
  /* background-color: #fff;
  border-radius: 20px;
  width: 10px; */
  /* background-color: #466F89;
  border-radius: 20px;
  border: 3px solid #fff;
  background-clip: content-box; */
  
  width: 14px;
  background-color: #fff;

}

table.projects-table::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: #fff;
  background-position: -5px;
  background-repeat: repeat-y;
  background-size: 50px;
  /* border: 3px solid #fff; */
}



table.projects-table::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #466F89;
  background-position:center center;
  background-repeat: no-repeat;
  background-size: 35px;
  border: 2px solid #fff;

}


/* add scrollbar styling hover */
table.projects-table::-webkit-scrollbar-thumb:hover {
  background-color: #466F89;
  /* color: #466F89; */
  border: 1px solid #fff;
  /* width: 16.5px; */

  

}


.projects-table {

  /* max-width: 60vw; */
  text-align: center;
  /* white-space: nowrap;  */
  /* border-collapse: collapse; */
  border-spacing: 0;
  background-color: rgba(255, 255, 255, 0.548);
  /* border: 1px solid #ffffff; */


  /* border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff; */

}


.projects-table th {
  color: #fff;
  padding: 20px;
  text-align: center;
  top: 0;


  /* min-width: 10vw;
  max-width: 20vw; */
  /* width: 100%; */
  background-color: #466F89;


}
.projects-table thead th {
  position: sticky;
  top: 0;
  /* background: #466F89; */
  z-index: 10;
  /* border : #466F89; */
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff; 
  border-left: 2px solid #ffffff; 
  border-right: 2px solid #ffffff;
  
  width: fit-content;
  min-width: 12vw; 
  /* max-width: 20vw; */


}

.projects-table td {
  /* margin-top: 100px; */
  max-width: 12vw;
  /* width: 20%; */
  top: 200px;
  padding: 10px;
  text-align: center;
  /* border: 0.5px solid #fff; */
  border-bottom: 2px solid #ffffff;
  /* border-left: 1px solid #ffffff; */

  /* if content is too long, wrap it */
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;

} 


.table-header {
  padding: 10px;
  white-space: nowrap;
  font-size: 1.1em;
  /* width: auto; */

  text-overflow: ellipsis;

  
}


.action-delete-btn {
  border: #fff solid 1px;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 5px;
  color: #ff0000;
  background-color: #fff;
  bottom: 4%;
  left: 0;
  right: 0;
  align-items: center;
  text-align: center;
  font-size: 0.9em;

}


.action-delete-btn:hover {
  background-color: #ff0000;
  color: #fff;
}


.action-preview-btn {
  border: #fff solid 1px;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 5px;
  color: #466F89;
  background-color: #fff;
  bottom: 4%;
  left: 0;
  right: 0;
  align-items: center;
  text-align: center;
  font-size: 0.9em;

}

.action-preview-btn:hover {
  background-color: #466F89;
  color: #fff;
}

/* pricing.html */

.pricing-section {
  
  margin: 0 auto;
  max-width: 1000px;
  min-height: 540px;
  /* text-align: center; */
  color: #133a50d3;
  font-family: 'Roboto', sans-serif;
}
.pricing-section h1 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 35px;
  
}

.pricing-container{
  display: flex;
  justify-content: center;
  gap: 60px;
}

.pricing-card{
  background-color: white;
  border-radius: 10px;
  width: 480px;
  padding: 25px;
  height: 415px;

}

.pricing-card h2{
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
  /* margin-right: 20px; */
}

.pricing-card h3{
  margin-bottom: 10px;
}

.pricing-card p{
  font-size: 1.2em;
  margin-bottom: 15px;
  text-align: left;
  
}

.pricing-card ul{
  margin-left: 15px;
  font-size: 1.04em;
  margin-bottom: 15px;
  text-align: left;
  list-style: none;
  padding: 0;
}
.pricing-card ul li {
  font-size: 1em;
  padding: 10px 0;
  border-bottom: 1px solid #dddddd4d;
}

.pricing-question {
    background-color: #133a50d3;
    padding: 15px;
    border-radius: 10px;
    margin: auto;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.question-container h2{
  color: white;
  margin: 10px 0px;
}

.question-container p {
    color: white;
    margin : 10px 0px;
    font-size: 1.05em;
}

.chat-button-container {
    margin-left: 20px;
}

.chat-now-button {
    background-color: white;
    color: #466F89;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    /* font-size: 1em; */
    font-size: large;
}

.chat-now-button:hover {
    background-color: #28373f;
    color: white;
}
.pricing-card button{
  background-color: #466F89;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
  margin-top: 20px;
  width: 50%;
  align-self: center;
  
}

.pricing-btn{
  display: flex;
  justify-content: center;
}

.pricing-card button:hover{
  background-color: #365b70;
}

/* contact.html */
.contact-wrapper {
  color: #133a50d3;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  margin-top: 8%;
}

.contact-wrapper p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.contact-container {
  width: 700px;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  color: #133a50d3;
}

.contact-container h2 {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form button {
  background-color: #466F89;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
  font-size: large;
}

.contact-form button:hover {
  background-color: #365b70;
}

/* profile.html */
.main-content-profile-settings{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* background: linear-gradient(120deg, #f6d365 0%, #fda085 100%); */
}

/* .profile-container, .settings-container {
  width: 70%;
  margin: 2rem auto;
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 300px;
} */

.profile-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 2rem auto;
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 300px;
}

.profile-details {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 22%;
  margin-left: 50px;
}

.profile-container h2  {
  margin-top: 10px;
  margin-bottom: 45px;
  text-align: center ;
  color: #133a50;
}

.settings-container {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.settings-container h2 {
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center ;
  color: #133a50;
}

.profile-picture {
  border-radius: 100%;
  width: 180px; 
  height: 180px; 
  object-fit: cover;
  /* background-color: #b1b1b1;  */
  cursor: pointer;
  object-fit: cover;
}

.profile-picture-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-container p {
  font-size: 1.2em;
  margin-bottom: 20px;
  /* text-align: center; */
  color: #133a50;
}

.profile-input{
  width: 150px;
  padding: 0;
  /* display: inline-block; */
}

#editProfileBtn, #saveProfileBtn {
  /* width: 15%; */
  margin: 10px 0;
  background-color: #133a50d3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 8px;
  text-align: center;
  justify-content: center;
  font-size: large;
}

button.delete-account-btn {
  /* display: block; */
  width: 15%;
  margin: 10px 0;
  background-color: #c22222;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 8px;
  text-align: center;
  justify-content: center;
  font-size: large;
}

button.delete-account-btn:hover {
  background-color: #064c4f;
}

.confirmation-dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 23%;
  height: 18%;
  transform: translate(-50%, -50%);
  background-color:white;
  z-index: 1000;
  border-radius: 5px;
  /* background-color: #000; */
}

.confirmation-dialog p {
  margin-top: 20px;
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: center;
  color: #133a50d3;
}

.confirmation-dialog button{
  background-color: #466F89;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
  margin-top: 30px;
  width: 20%;
  text-align: center;

}

.confirmation-dialog .button-container{
  display: flex;
  justify-content: center;
  gap: 60px;
}

.button-container #cancelDeleteBtn{
  background-color: red;
}

.delete-account-section{
  color: #133a50;
  padding: 10px;
}

.delete-account-section p{
  font-size: large;
  margin-top: 10px;
}


/* .parameter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 10px;
} */

/* .label-wrapper {
  display: flex;
  align-items: center;
  
  margin-top: 100px;
  margin-right: 10px;
} */

/* .input-wrapper {
  flex: 1;
} */

.parameter-wrapper label {
  width: 200px; 
  
}

.parameter-wrapper input[type="text"],
.parameter-wrapper input[type="number"],
.parameter-wrapper select {
  width: 90%;
  flex-grow: 1;
  margin-left: 10px;
  /* padding: 3px;
  align-items: center;
  justify-content: center; */
} 

.parameter-wrapper select {
  padding: 3px;
  padding-left: 16px;
}

.choose-parameters {
  margin-top: -10px;
}


/* Sidebar */
.sidebar {
    position: fixed;
    top: 80px;       /* move sidebar closer to top */
    bottom: 0;
    left: 0;
    width: 220px;
    height: calc(100vh - 10px); /* reduce height accordingly */
    background-color: transparent;
    padding-top: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
    box-shadow: none;
    border-top: none;
    border-bottom: none;
}


.sidebar h2 {
    color: #133a50d3;
    margin: 0 0 20px 20px;
    font-size: 1.2em;
    font-weight: bold;
    /* optionally hide the heading if you want only buttons */
    /* display: none; */
}

.sidebar a {
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1em;
    color: #133a50d3;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    background-color: transparent; /* ensure no bg on links */
}

.sidebar a:hover {
    background-color: #133a50d3;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;  /* white text on hover */
}

/* Keep the content shifted to right */
body {
    margin-left: 220px;
    box-sizing: border-box;
}

.cards-container {
    display: flex;
    color: #ffffff;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem; /* slightly smaller gap for tighter layout */
    margin: 4rem auto;
    max-width: 600px; /* 3 cards * 180px + 2 gaps * 24px */
}

.cv-card {
    color: #ffffffd3;
    text-decoration: none;
    background-color: #133a50d3;
    border-radius: 15px;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.cv-card h3 {
    margin-top: 0.5rem;
    color: #ffffffd3;
    font-size: 0.8rem;
    text-align: center;
}

.cv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}



/* === Image Object Detection Page === */
body#image-detection {
    background-color: #f4f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.cv-form {
    max-width: 00px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(70, 111, 137, 0.1);
}

.cv-form h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #466F89;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input[type="file"],
.form-group select {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background-color: #f9fafb;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

.form-group input[type="file"]:hover,
.form-group select:hover {
    border-color: #466F89;
}

.run-button {
    background-color: #466F89;
    color: white;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.run-button:hover {
    background-color: #36596d;
}

.stop-button {
    background-color: #466F89;
    color: white;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.stop-button:hover {
    background-color: #6d3636;
}

.result-section {
  max-width: 500px;
  width: 500px;        /* fix the width */
  margin: 10px auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(70, 111, 137, 0.1);
  padding: 20px;
  overflow: hidden;   /* prevent container from resizing */
}

.result-section h2 {
    color: #466F89;
    text-align: center;
    margin-bottom: 20px;
}

.image-preview {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background-color: #f9fafb;
  padding: 10px;
  max-height: 80vh;
  width: 100%;          /* full width of container */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;       /* enable scroll if image bigger */
  box-sizing: border-box;
}

.image-preview img {
  max-width: none;      /* remove max width limit */
  height: auto;
  max-height: 80vh;     /* constrain image height */
  border-radius: 10px;
}

/* Center the form on the page */
.cv-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Style the model-selection group */
.model-selection {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Hide custom model input by default */
.custom-model-upload {
    display: none;
    margin-top: 15px;
    flex-direction: column;
}

/* Show when "Upload your own model" is selected */
.model-selection.show-custom .custom-model-upload {
    display: flex;
}


body#video-detection {
    background-color: #f4f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 5px;
}


/* You can reuse existing .cv-form, .form-group, .run-button styles */
/* Already included earlier */
.cv-results {
    margin: 40px auto;
    max-width: 700px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.cv-results h2 {
    color: #466F89;
    margin-bottom: 20px;
}

.video-preview {
    margin-top: 20px;
}

.video-preview video {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 640px;
}

.result-label {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

body#video-detection .cv-form {
    margin-left: 300px; /* or padding-left: 30px; */
}

.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #466F89;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

/* Modal Overlay */
#confirm-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Modal Content Box */
#confirm-modal .modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 350px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Modal Message */
#confirm-message {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

/* Buttons */
#confirm-yes,
#confirm-no {
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

#confirm-yes {
  background-color: #d9534f;
  margin-right: 10px;
}

#confirm-no {
  background-color: #6c757d;
}

#text-to-text .vision-options,
#computer-vision .vision-options,
#GeanAI .vision-options,
#image-ocr .vision-options,
#jetson-compression .vision-options,
#raspberry-hailo .vision-options,
#federated-learning .vision-options,
#prediction-forecasting .vision-options,
#tabular-classification .vision-options, 
#tabular-regression .vision-options, 
#speech-to-text .vision-options
#vision-training .vision-options {
    margin-left: -13%;
}

#multidimension-forecasting .vision-options {
    margin-left: -13%;
}

  .projects-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 40px 40px auto; /* right */
    justify-content: end; /* pushes them to the right */
  }

  .project-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
  }


@media (min-width: 1024px) {

  body#text-to-qwen3b .image-to-text-section h1 {
    text-align: right; 
    margin-left: 290px; 
  }

  body#text-to-qwen3b .cv-form {
    margin-left: 300px; 
    margin-right: 20px;
    max-width: 500px; 
  }
}

@media (min-width: 1024px) {

  body#text-to-qwen7b .image-to-text-section h1 {
    text-align: right; 
    margin-left: 290px; 
  }

  body#text-to-qwen7b .cv-form {
    margin-left: 300px; 
    margin-right: 20px;
    max-width: 500px; 
  }
}

@media (min-width: 1024px) {
  body#text-to-medgemma h1 {
    text-align: right;
    margin-right: 100px;
    color: #466F89;
  }

  body#text-to-medgemma .image-to-text-section h1 {
    text-align: right; 
    margin-left: 290px;
  }


  body#text-to-medgemma .cv-form {
    margin-left: 300px; 
    margin-right: 20px; 
    max-width: 500px; 
  }
}

@media (min-width: 1024px) {
  body#image-ocr h1 {
    text-align: right;
    margin-left: 40%;
    color: #466F89;
  }


  body#image-ocr .cv-form {
    margin-left: 300px; 
    margin-right: 20px; 
    max-width: 500px; 
  }

}

@media (min-width: 1024px) {
  body#GeanAI .cards-container {
    max-height: 65vh; /* Limits height */
    overflow-y: 100%; /* Adds vertical scroll */
    margin: 65px;
    
  }

  body#GeanAI  .vision-options{
    margin-bottom: 24%;
    margin-top:5%;
  }
}
@media (min-width: 1024px) {
body#text_to_text_translation {
    margin-left: 1%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* adjusts the height */
    align-items: center;
    z-index: 1000;
  }
}

@media (min-width: 1024px) {
  body#computer-vision .cards-container {
    max-height: 65vh; /* Limits height */
    overflow-y: 100%; /* Adds vertical scroll */
    margin: 65px;
    
  }

  body#computer-vision  .vision-options{
    margin-bottom: 24%;
    margin-top:5%;
  }
}