* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  color: #33262c;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 87, 148, 0.28), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(168, 201, 87, 0.35), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 214, 229, 0.75), transparent 35%),
    linear-gradient(135deg, #fff7fb, #fff0f6 48%, #f7ffe8);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.auth-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 190, 215, 0.95);
  border-radius: 34px;
  padding: 30px;
  box-shadow:
    0 35px 90px rgba(199, 53, 104, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(255,77,141,0.22), transparent 65%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #c73568;
  text-decoration: none;
  font-weight: 800;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.brand-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff77a6, #ffd7e4);
  font-size: 30px;
  box-shadow: 0 18px 35px rgba(199, 53, 104, 0.22);
}

.brand h1 {
  color: #c73568;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.brand p {
  margin-top: 6px;
  color: #6e5a61;
  font-size: 14px;
  font-weight: 600;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 232, 240, 0.85);
  border: 1px solid #ffd2e2;
  margin-bottom: 18px;
}

.auth-tabs button {
  border: none;
  background: transparent;
  padding: 13px;
  border-radius: 999px;
  font-weight: 900;
  color: #8a5a6d;
  cursor: pointer;
  transition: 0.25s;
}

.auth-tabs button.active {
  background: linear-gradient(135deg, #ff5d96, #ff9bbe);
  color: white;
  box-shadow: 0 12px 26px rgba(255, 77, 141, 0.26);
}

.google-btn {
  width: 100%;
  border: 1px solid #ffd2e2;
  background: white;
  color: #3f3036;
  padding: 14px;
  border-radius: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transition: 0.25s;
}

.google-btn span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f1f1;
  color: #4285f4;
  font-weight: 900;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(199, 53, 104, 0.12);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9b7a86;
  font-size: 13px;
  font-weight: 800;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ffd2e2;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.hidden {
  display: none;
}

label {
  color: #604750;
  font-weight: 900;
  font-size: 14px;
}

input {
  width: 100%;
  border: 1px solid #edc1cf;
  border-radius: 18px;
  padding: 15px 16px;
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,0.85);
  transition: 0.25s;
}

input:focus {
  border-color: #ff5d96;
  box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.12);
}

.main-btn {
  margin-top: 6px;
  border: none;
  border-radius: 999px;
  padding: 16px;
  background: linear-gradient(135deg, #a8c957, #6f922f);
  color: white;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(111, 146, 47, 0.30);
  transition: 0.25s;
}

.main-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.main-btn:disabled,
.google-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#status {
  min-height: 22px;
  color: #c73568;
  font-weight: 900;
  text-align: center;
  font-size: 14px;
}

.hint {
  text-align: center;
  margin-top: 18px;
  color: #6e5a61;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 500px) {
  .auth-card {
    padding: 23px;
    border-radius: 28px;
  }

  .brand h1 {
    font-size: 29px;
  }

  .brand-icon {
    width: 54px;
    height: 54px;
  }
}