.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background-color: rgba(9, 9, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 10;
}

.brand-header { text-align: center; margin-bottom: 22px; }
.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-title { font-size: 19px; font-weight: 700; color: #ffffff; }
.brand-desc { font-size: 12px; color: #a1a1aa; margin-top: 4px; }

.tab-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.tab-btn {
  background: transparent;
  border: none;
  color: #71717a;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background-color: #18181b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.btn-telegram {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #000000;
  border: 1px solid rgba(41, 169, 234, 0.35);
  color: #38bdf8;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 18px;
}
.btn-telegram:hover { background-color: rgba(41, 169, 234, 0.08); }
.tg-icon { width: 20px; height: 20px; object-fit: contain; }

.divider {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  text-align: center;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.divider span { padding: 0 10px; font-size: 11px; color: #52525b; }

.form-group { margin-bottom: 15px; display: flex; flex-direction: column; gap: 6px; }
.form-label-row { display: flex; justify-content: space-between; align-items: center; }
.form-label { font-size: 12px; font-weight: 500; color: #d4d4d8; }
.forgot-link { font-size: 11px; color: #10b981; text-decoration: none; }

.input-field {
  width: 100%;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.input-field:focus { border-color: #10b981; box-shadow: 0 0 0 1px #10b981; }
.input-field::placeholder { color: #52525b; }

.telegram-notice-card { text-align: center; padding: 10px 4px; }
.notice-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(41, 169, 234, 0.1);
  border: 1px solid rgba(41, 169, 234, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.notice-tg-icon { width: 24px; height: 24px; object-fit: contain; }
.notice-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.notice-text { font-size: 12px; color: #a1a1aa; line-height: 1.7; margin-bottom: 18px; }
.btn-telegram-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #229ED9;
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.3);
}

.error-msg {
  color: #ef4444;
  font-size: 12px;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.footer-container { margin-top: 22px; text-align: center; }
.copyright-en { font-size: 11px; color: #52525b; }