*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body > nav,
body > footer,
#wpadminbar {
  display: none !important;
}

html,
body {
  height: 100%;
  background: #0b0b0b !important;
  color: #e8e8e3;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
}

.tai-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.tai-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: #f5f5f0;
  text-decoration: none;
  margin-bottom: 28px;
}

.tai-logo span {
  color: #ffd600;
}

.tai-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.tai-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.tai-tab {
  background: none;
  border: none;
  color: #555;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.tai-tab.active {
  background: #2a2a2a;
  color: #e8e8e3;
}

.tai-group {
  margin-bottom: 14px;
}

.tai-label {
  display: block;
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}

.tai-input {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #f0f0eb;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s;
}

.tai-input::placeholder {
  color: #3a3a3a;
}

.tai-input:focus {
  border-color: #b89a00;
}

.tai-submit {
  width: 100%;
  background: #ffd600;
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}

.tai-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 214, 0, 0.25);
}

.tai-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.tai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tai-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
}

.tai-remember input {
  accent-color: #ffd600;
}

.tai-forgot {
  font-size: 12px;
  color: #555;
  text-decoration: none;
}

.tai-forgot:hover {
  color: #888;
}

.tai-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #555;
}

.tai-footer a {
  color: #ffd600;
  font-weight: 500;
  cursor: pointer;
}

.tai-alert {
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  text-align: center;
  line-height: 1.5;
}

.tai-error {
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff6b6b;
}

.tai-back {
  margin-top: 18px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
}

.tai-back:hover {
  color: #666;
}

.debug-box {
  background: #001100;
  border: 1px solid #004400;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-family: monospace;
  font-size: 12px;
  color: #00cc44;
  line-height: 1.6;
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
}

.debug-box-title {
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
