.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
}

.page-header h1 {
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
  color: #2461a6;
}

.form-container {
  background: #f7f7fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px #eaeaea;
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
}

.form-container table {
  width: 100%;
}

th {
  text-align: right;
  padding-right: 0.7em;
  vertical-align: top;
  font-size: 1.07em;
  color: #2461a6;
  font-weight: 600;
  width: 36%;
}

td {
  text-align: left;
}

input[type="text"], input[type="password"], input[type="email"] {
  width: 100%;
  padding: 0.47rem;
  border: 1.5px solid #b3c6e0;
  border-radius: 6px;
  font-size: 1em;
  background: #fff;
  margin-bottom: 0.2em;
  transition: border 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
  border: 1.5px solid #2461a6;
  outline: none;
}

.form-help {
  font-size: 0.96em;
  color: #666;
  margin: 0.1em 0 0.7em 0;
  line-height: 1.48;
}

.form-help ul {
  margin: 0 0 0 22px;
  padding: 0;
  color: #888;
  font-size: 0.96em;
}

.form-errors {
  color: #d9534f;
  font-size: 1em;
  margin: 6px 0 7px 0;
  list-style: disc inside;
  padding-left: 0;
}

.form-errors li {
  margin-bottom: 0;
}

.form-container .btn.submit, .form-container button[type="submit"] {
  width: 100%;
  margin-top: 1.2em;
  background: #2ea44f;
  color: #fff;
  border: 2px solid #2ea44f;
  border-radius: 6px;
  padding: 0.65em 0;
  font-size: 1.12em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(46,164,79,0.07);
  transition: background 0.18s, color 0.18s;
}

.form-container .btn.submit:hover, .form-container button[type="submit"]:hover {
  background: #24913c;
  color: #fff;
}

.red-text {
  color: #d9534f;
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-container {
    padding: 1rem;
    max-width: 98vw;
  }
  th {
    font-size: 1em;
    width: 32%;
  }
  .profile {
    padding: 1rem;
    max-width: 98vw;
  }
}

input[type="date"] {
  padding: 0.45em 0.75em;
  border-radius: 6px;
  border: 1.5px solid #b3c6e0;
  font-size: 1em;
  background: #fafcff;
  color: #222;
  margin-bottom: 0.7em;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.2s;
}
input[type="date"]:focus {
  border: 1.5px solid #2461a6;
  outline: none;
}
.profile1 {
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
  color: #2461a6;
}
.profile {
  background: #f7f7fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px #eaeaea;
  max-width: 430px;
  margin: 0 auto 2rem auto;
  width: 100%;
}
.profile h2{
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
  color: #2461a6;
}
.profile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em;
}
.profile ul li {
  margin-bottom: 0.8em;
}
.profile ul li strong {
  color: #2461a6;
  width: 120px;
  display: inline-block;
}
.profile-form {
  background: #f7f7fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px #eaeaea;
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
}
.profile-form h2{
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
  color: #2461a6;
}
.profile-form form {
  width: 100%;
}
.profile-form button[type="submit"] {
  width: 100%;
  margin-top: 1.2em;
  background: #2ea44f;
  color: #fff;
  border: 2px solid #2ea44f;
  border-radius: 6px;
  padding: 0.65em 0;
  font-size: 1.12em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(46,164,79,0.07);
  transition: background 0.18s, color 0.18s;
}
.profile-form button[type="submit"]:hover {
  background: #24913c;
  color: #fff;
}
