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

main {
  width: 100%;
  padding: 2rem;
  display: flex;
}
.Profile-Side {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 450px !important;
  text-align: center;
  margin-right: 2px; /* Space from the left edge */
  left: 0; /* Align to the left */
  height: 500px;
}

.Profile-Side-header {
  background: #4caf50;
  padding: 20px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
}

.Profile-Side-body {
  padding: 20px;
}

.Profile-Side-body h2 {
  margin: 10px 0;
  color: #333;
}

.Profile-Side-body p {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.Profile-Side-footer {
  background: #f9f9f9;
  padding: 10px;
  display: flex;
  justify-content: space-around;
}

.button {
  text-decoration: none;
  color: #fff;
  background: #4caf50;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s;
}

.button:hover {
  background: #45a049;
}

.form {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  max-height: 500;
}

.labels {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Styling for form sections */
.formname {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.fname,
.lname {
  flex: 1;
}

.body-form {
  display: flex;
  flex-direction: column;
}

/* Styling for inputs in .body-form */
.la-control {
  margin-bottom: 15px;
}

/* Add responsiveness */
@media (max-width: 768px) {
  .formname {
    flex-direction: column;
  }
}
