* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #EEEEEE;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
}
.login-header {
  max-width: 400px;
  width: 100%;
}
.login-header #login-header{
  display: flex;
  justify-content: center;
  margin: 20px auto;
  

}


.user-container {
  background: linear-gradient(to bottom, #d4bee4, #b099bb);
  border-radius: 8px;
  box-shadow: 0px 2px 10px #aaa;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;

}

.tabs {
  margin-bottom: 20px;
}

.tab {
  background-color: #9B7EBD;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.1s ease, transform 0.3s ease;
}

.tab.active {
  background-color: #683f8c; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tab:hover {
  background-color: #5a347b;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

label {
  font-size: 14px;
  text-align: left;
}

input {
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  border: 2px solid #ccc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

input[type="password"]:hover, input[type="text"]:hover, input[type="number"]:hover, input[type="password"]:focus, input[type="text"]:focus, input[type="number"]:focus {
  border-color: #8b54a2;
  box-shadow: 0 0 10px rgba(121, 62, 135, 0.5);
}

.boxes {
  display: flex;
  justify-content: space-between;
}

#userBox {
  display: flex;
  justify-content: right;
}

.password-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 400px;
}

button {
  padding: 10px;
  background-color: #552b7a;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 2px 4px #aaa;
}

button:hover {
  background-color: #3B1E54;
  box-shadow: 0 0 10px rgba(121, 62, 135, 0.5);
}

.notification {
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  display: none;
  font-size: 16px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.notification.show {
  display: block;
  opacity: 1;
}

#incorrectNotification, #userExistsNotification {
  background-color: rgb(172, 39, 39);
}


.header {
  background: linear-gradient(360deg, #8e12b4, #621c95);
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 2px 2px #aaa;
}
.title {
  padding: 10px;
  background: linear-gradient(to bottom, #d4bee4, #c2adcc);
  margin: 20px auto 0px;
  border-radius: 5px;
  box-shadow: 0px 2px 2px #aaa;
  text-align: center;
  font-size: 20px;
  padding-bottom: 0;

}

.nav-links {
  list-style: none;
  display: flex;
}
h2, h3, h4 {
  padding-bottom: 10px;
}
.content-container {
  display: flex;
  gap: 20px;
  max-width: 100%;
}


.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.section {
  padding: 20px;
  background: linear-gradient(to bottom, #d4bee4, #c2adcc);
  margin: 20px auto;
  border-radius: 5px;
  box-shadow: 0px 2px 4px #aaa;
  max-width: 600px;
  flex: 3;
}

@media (max-width: 768px) {
  * {
    overflow-x: hidden;
  }
  .content-container{
    flex-direction: column;
    gap: 0px;
  }
  .header {
    width: 100%; /* Ensure it stretches the full width on small screens */
    padding: 10px;
    box-sizing: border-box;
    text-align: center; /* Center the content of the header */
  }
  .section,
  #revision-log { 
    width:100%;
    margin: 10px auto;
  }
  #revision-log {
    background-color: #4CAF50;
  }

   h3, h4 {
    font-size: 15px;
  }

}

.log-column {
  flex: 1;
  background: linear-gradient(to bottom, #d4bee4, #c2adcc);
  border-radius: 5px;
  margin: 20px auto;
  padding: 15px;
  box-shadow: 0px 2px 4px #aaa;
  min-width: 260px;
  max-width: 260px;
}
#tracker {
  flex: 1;
}
#time {
  flex: 2;
}
#revision-log {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  
  text-align: center;
}

#revision-log div {
  padding: 5px;
}

.dateGroup {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  
}

.dateHeader {
  background-color: #f0f0f0;
  color: black;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 0px rgba(121, 62, 135, 0.5);
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ddd;

}

.dateGroup button:hover {
  background-color: #ddd;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.entries {
  padding: 10px;
  display: block;
  font-size: 15px;
}

.log-entry {
  margin: 5px;
  padding: 5px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 3px;
}



.progress {
  width: 100%;
  margin-bottom: 15px;
  height: 15px;
  background-color: #EEEEEE;
  border-radius: 10px; 
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #4CAF50; 
  border-radius: 10px 0 0 10px;
  transition: width 0.3s ease-in-out;
}

.reset-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
  
}

.reset-buttons button {
  background-color: #e74c3c;
  
}

.reset-buttons button:hover {
  background-color: #c0392b;
}

