.AccountContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 2rem 10%;
  box-sizing: border-box;
}

/* Welcome row: no box, just text and action buttons on the page */
.AccountContainer .accountBasics {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 1rem 0;
  box-sizing: border-box;
}

.AccountContainer .accountBasics h1,
.AccountContainer .accountBasics h2,
.AccountContainer .accountBasics p {
  flex: 1 1 100%;
  margin: 0;
  padding: 0;
}

.AccountContainer .accountBasics .logoutButton,
.AccountContainer .accountBasics .linkThirdPartyButton,
.AccountContainer .accountBasics .unlinkThirdPartyButton {
  flex: 0 0 auto;
}

/* Card-like sections */
.AccountContainer .clinicInfoDiv,
.AccountContainer .authForm {
  width: 100%;
  max-width: 900px;
  background: white;
  border: 0.15em solid black;
  border-radius: 0.5em;
  padding: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

/* Clinic info row */
.AccountContainer .clinicInfoDiv {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Text area: no manual resize; grows with content only if JS adjusts height */
.AccountContainer .clinicInfoTextArea {
  flex: 1 1 auto;
  min-height: 3.2rem;
  border: 1px solid transparent;
  border-radius: 0.3em;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem;
  box-sizing: border-box;
  resize: none;
  overflow: hidden;

  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.22),
      rgba(0, 0, 0, 0)
    ) border-box;
}

/* Inputs inside auth form */
.AccountContainer input,
.AccountContainer textarea {
  width: 100%;
  border: 0.15em solid black;
  border-radius: 0.3em;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem;
  box-sizing: border-box;
}

.AccountContainer form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Shared button styling */
.AccountContainer button {
  border: 0.15em solid black;
  border-radius: 0.35em;
  cursor: pointer;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out;
  font-family: inherit;
}

/* TODO: should probably make this button universal */
/* Main action buttons: match the review-style pink buttons */
.loginSignupSwitch,
.saveClinicInfoButton,
.linkThirdPartyButton,
.unlinkThirdPartyButton,
.AccountContainer .authForm button[type="submit"] {
  background-color: #ffc0cb;
  color: black;
  padding: 0.5rem 1rem;
}

/* login/signup switch button: have a little gap at the bottom to separate */
.loginSignupSwitch {
  margin-bottom: 0.5rem;
}

/* Logout button: keep strong contrast */
.logoutButton {
  background-color: brown;
  color: white;
  padding: 0.5rem 1rem;
}

/* Save button stays fixed size and centered beside the textarea */
.saveClinicInfoButton {
  flex: 0 0 auto;
  align-self: center;
  min-width: 8rem;
  white-space: nowrap;
}

/* Auth form button sizing */
.loginSignupSwitch {
  width: fit-content;
}

.AccountContainer .authForm button[type="submit"] {
  width: fit-content;
}

/* Hover effects */
.AccountContainer button:hover {
  transform: scale(1.04);
}

/* Keep buttons from stretching when the textarea grows */
.AccountContainer .clinicInfoDiv .saveClinicInfoButton {
  margin-left: auto;
}

/* Password field with toggle button */
.AccountContainer .passwordField {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 0.15em solid black;     /* single border around the whole field so that the button is "within" the input */
  border-radius: 0.3em;
  background: white;
  box-sizing: border-box;
}

.AccountContainer .passwordField input {
  flex: 1 1 auto;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.5rem;
}

.AccountContainer .passwordToggleButton {
flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  align-self: stretch;            /* button fills the field height */
  border: none;                   /* no separate button border */
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  color: black;
}

.AccountContainer .passwordToggleButton:hover {
  transform: none;                /* prevents the button from scaling weirdly inside the field */
}

/*# sourceMappingURL=dc063d160c97e496.css.map*/