/* Drovo theme: auth styles, compiled from the original SCSS modules. */

/* app/(auth)/auth.module.scss */
.auth-authShell {
  width: 100%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 1399px) {
  .auth-authShell {
    max-width: 86%;
  }
}
@media (max-width: 1199px) {
  .auth-authShell {
    max-width: 92%;
  }
}
@media (max-width: 991px) {
  .auth-authShell {
    max-width: 96%;
  }
}
@media (max-width: 575px) {
  .auth-authShell {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
.auth-authShell {
  display: grid;
  place-items: center;
  min-height: clamp(620px, 72vh, 780px);
  padding-block: 3rem;
}

.auth-authPanel {
  width: min(100%, 1110px);
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid rgba(15, 123, 108, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.08);
}

.auth-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.auth-heading h1 {
  margin: 0;
  color: #1A3030;
  font-size: clamp(1.55rem, 2vw, 2rem);
}
.auth-heading p {
  margin: 0.25rem 0 0;
  color: #607B7B;
  font-size: 0.95rem;
}

.auth-headingIcon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--color-teal-600, var(--clr-primary, #0F7B6C));
  color: #fff;
}
.auth-headingIcon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-formCard {
  width: min(100%, 470px);
  margin-inline: auto;
  padding: clamp(1.35rem, 2.6vw, 1.75rem);
  border-radius: 12px;
  background: var(--clr-surface, #F7F8F8);
}
.auth-formCard h2 {
  margin: 0 0 1rem;
  color: #1A3030;
  font-size: 1rem;
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.auth-nameGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-field {
  display: grid;
  gap: 0.45rem;
}
.auth-field > span:first-child {
  color: #1A3030;
  font-size: 0.86rem;
  font-weight: 700;
}

.auth-inputWrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 49px;
  padding-inline: 0.9rem;
  border: 1px solid #DCF0EA;
  border-radius: 7px;
  background: #fff;
  color: var(--color-teal-600, var(--clr-primary, #0F7B6C));
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-inputWrap svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.auth-inputWrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1A3030;
}
.auth-inputWrap input::placeholder {
  color: #7A9099;
}
.auth-inputWrap:focus-within {
  border-color: rgba(15, 123, 108, 0.75);
  box-shadow: 0 0 0 3px rgba(15, 123, 108, 0.18);
}

.auth-formMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #607B7B;
  font-size: 0.88rem;
}
.auth-formMeta a {
  color: var(--clr-primary-mid, #0F6E56);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.auth-remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-teal-600, var(--clr-primary, #0F7B6C));
}

.auth-submitButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  background: var(--color-teal-600, var(--clr-primary, #0F7B6C));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.auth-submitButton:hover:not(:disabled) {
  background: var(--clr-primary-mid, #0F6E56);
  transform: translateY(-1px);
}
.auth-submitButton:focus-visible {
  outline: 2px solid #E8B84B;
  outline-offset: 3px;
}
.auth-submitButton:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.auth-alert {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(192, 57, 43, 0.22);
  border-radius: 7px;
  background: rgba(192, 57, 43, 0.06);
  color: var(--clr-danger, #C0392B);
  font-size: 0.9rem;
}

.auth-successAlert {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 7px;
  background: rgba(22, 163, 74, 0.06);
  color: var(--clr-primary, #0F7B6C);
  font-size: 0.9rem;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 520px);
  margin: 2.2rem auto 1rem;
  color: #607B7B;
  font-size: 0.9rem;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  height: 1px;
  background: #DCF0EA;
}

.auth-socialRow {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}
.auth-socialRow a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #DCF0EA;
  border-radius: 999px;
  background: #fff;
  color: #1A3030;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.auth-socialRow a:hover {
  border-color: rgba(15, 123, 108, 0.7);
  transform: translateY(-1px);
}
.auth-socialRow a:focus-visible {
  outline: 2px solid #E8B84B;
  outline-offset: 3px;
}
.auth-socialRow svg {
  width: 23px;
  height: 23px;
}

.auth-googleIcon path:nth-child(1) {
  fill: #4285f4;
}
.auth-googleIcon path:nth-child(2) {
  fill: #34a853;
}
.auth-googleIcon path:nth-child(3) {
  fill: #E8B84B;
}
.auth-googleIcon path:nth-child(4) {
  fill: var(--clr-danger, #C0392B);
}

.auth-facebookIcon {
  fill: #1877f2;
}

.auth-switchText {
  margin: 1rem 0 0;
  color: #1A3030;
  font-size: 0.9rem;
  text-align: center;
}
.auth-switchText a {
  color: var(--clr-primary-mid, #0F6E56);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .auth-authShell {
    min-height: auto;
    padding-block: 1.5rem;
  }
  .auth-authPanel {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .auth-heading {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
  .auth-headingIcon {
    width: 54px;
    height: 54px;
  }
  .auth-formCard {
    padding: 1rem;
  }
  .auth-nameGrid {
    grid-template-columns: 1fr;
  }
  .auth-formMeta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}
