

/* Make main content take full available height */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Expanded layout for the profile section */
.profile-section {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  margin: 20px;
}

.profile-left, .profile-right {
  display: flex;
  flex-direction: column;
}

.profile-left {
  width: 40%;
  padding-right: 20px;
  border-right: 2px solid #f4f4f4;
}

.profile-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.profile-info p {
  margin: 15px 0;
  font-size: 18px;
}

.profile-info h3 {
  margin-top: 30px;
  font-size: 22px;
}

/* Stats and graph sections */
.container {
  width: 55%;
  padding-left: 20px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 30%;
}

.stat-item h3 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.stat-item p {
  font-size: 18px;
  color: #7f8c8d;
}

/* Graph section styling */
.graph-section {
  margin-top: 40px;
}

.graph-section label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

#year {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

.graph-placeholder {
  height: 250px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #7f8c8d;
  font-size: 18px;
  margin-bottom: 20px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #ccc;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
}

button:hover {
  background-color: grey;
}

.logout-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ccc;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;

}

.logout-btn:hover {
  background-color: black;
}

.form-group {
  margin-bottom: 15px;
  padding: 10px; /* Optional: Add some padding inside the border */
  border: 1px solid #ccc; /* This adds a light gray border */
  border-radius: 5px; /* Optional: Round the corners of the border */
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}
.change-password-btn:hover{
  background-color: darkgrey;
}
.password_section {
  border: 2px solid #ccc; /* Adds a solid border */
  border-radius: 5px; /* Rounds the corners */
  padding: 20px; /* Adds padding inside the bordered section */
  margin-top: 20px; /* Optional: Adds some spacing from the elements above */
  background-color: #f9f9f9; /* Optional: Adds a light background */
}