/* ── AUTH WRAPPER ── */
.auth-wrapper {
  min-height: 100vh;
  background-color: #f5f5ee;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 52px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.auth-card h1 {
  font-size: 32px;
  font-weight: 400;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
}

/* ── ERROR ── */
.auth-error {
  background: #fff0f0;
  color: #c0392b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ── FORM ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #555;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e0d8;
  border-radius: 8px;
  font-size: 14px;
  background: #fafaf7;
  color: #333;
  outline: none;

  transition: border 0.2s;
}

.form-group input:focus {
  border-color: #4a5240;
}

.input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1.5px solid #e0e0d8;
  border-radius: 8px;
  background: #fafaf7;
  padding: 0 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.input-wrapper:focus-within {
  border-color: #4a5240;
}

.input-wrapper input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 14px;
  color: #333;
  outline: none;
}

.input-wrapper.has-error {
  border-color: #d9534f;
}

.field-error {
  color: #d9534f;
  font-size: 12px;
  margin-top: 6px;
  display: block;
  line-height: 1.4;
}

.toggle-eye {
  cursor: pointer;
  font-size: 16px;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  line-height: 1;
}

/* ── CHECKBOX ── */
.form-checkbox-group {
  margin-bottom: 24px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: #4a5240;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

.form-checkbox label a {
  color: #4a5240;
  text-decoration: none;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

/* ── BUTTONS ── */
.btn-auth {
  width: 100%;
  padding: 16px;
  background-color: #4a5240;
  color: #ffffff;
  border: none;
  border-radius: 8px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.btn-auth:hover {
  background-color: #3a4230;
}

/* ── DIVIDER ── */
.auth-divider {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0d8;
}

.auth-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 12px;

  font-size: 10px;
  letter-spacing: 1.5px;
  color: #aaa;
}

/* ── GOOGLE BUTTON ── */
.btn-google {
  width: 100%;
  padding: 14px;
  border: 1.5px solid #e0e0d8;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: border 0.2s;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.btn-google:hover {
  border-color: #4a5240;
}

.btn-google img {
  width: 18px;
  height: 18px;
}

/* ── SWITCH ── */
.auth-switch {
  text-align: center;

  font-size: 13px;
  color: #888;
}

.auth-switch a {
  color: #4a5240;
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ── LOGIN WRAPPER ── */
.login-wrapper {
  min-height: 80vh;
  background-color: #f5f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 52px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ── LOGIN BRAND ── */
.login-brand {
  text-align: center;
  margin-bottom: 32px;
}

.login-brand h2 {
  font-size: 22px;
  font-weight: 400;
  color: #2c2c2c;
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.login-brand h3 {
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: #2c2c2c;
}

/* ── PASSWORD LABEL ROW ── */
.password-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.password-label-row label {
  color: #555;
  margin-bottom: 0;
}

.forgot-link {
  font-size: 12px;
  color: #4a5240;
  text-decoration: none;
  transition: opacity 0.2s;
}

.forgot-link:hover {
  opacity: 0.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .auth-wrapper,
  .login-wrapper {
    padding: 30px 15px;
  }

  .auth-card,
  .login-card {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
