/* Auth Page Styling - WhatsApp Themed */
.auth-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d1d7db;
  overflow-y: auto;
}

.auth-header-band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 222px;
  background-color: var(--wa-green-accent);
  z-index: 1;
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 17px 50px 0 rgba(11, 20, 26, 0.19), 0 12px 15px 0 rgba(11, 20, 26, 0.24);
  padding: 36px 32px 32px 32px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-brand svg {
  width: 38px;
  height: 38px;
  fill: var(--wa-green-accent);
}

.auth-brand h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--wa-text-primary);
  letter-spacing: -0.3px;
}

.auth-brand span {
  font-size: 13px;
  color: var(--wa-text-secondary);
  display: block;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--wa-border);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--wa-text-secondary);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.auth-tab.active {
  color: var(--wa-green-accent);
  border-bottom-color: var(--wa-green-accent);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--wa-text-secondary);
  margin-bottom: 6px;
}

.input-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--wa-border);
  border-radius: 6px;
  padding: 10px 14px;
  transition: border-color 0.2s ease;
}

.input-box:focus-within {
  border-color: var(--wa-green-accent);
}

.input-box input {
  flex: 1;
  font-size: 14.5px;
  color: var(--wa-text-primary);
  background: transparent;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--wa-green-accent);
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #008f6f;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}

.auth-alert.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth-alert.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--wa-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-footer svg {
  width: 14px;
  height: 14px;
  fill: var(--wa-text-muted);
}
