body.tft-auth-page { background: #14150F !important; }
body.tft-auth-page #primary,
body.tft-auth-page .site-main,
body.tft-auth-page article,
body.tft-auth-page #content,
body.tft-auth-page .woostify-container {
  padding: 0 !important; margin: 0 !important; background: transparent !important; max-width: none !important;
}
body.tft-auth-page .content-top, body.tft-auth-page .entry-header { display: none !important; }

.tft-auth {
  --g: #6B7A4B; --near: #14150F; --olive: #1B1D14; --surface: #1E2118;
  --ink: #FFFFFF; --muted: #C7C8BE; --line: #2E3123;
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: 82vh; padding: 70px 20px 90px;
  background: var(--near);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  display: flex; justify-content: center;
}
.tft-auth::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://tf-tactical.com/wp-content/uploads/2026/09/tf-contour-original.png') center / cover;
  filter: invert(1) brightness(0.7) contrast(0.85); opacity: 0.09; pointer-events: none;
}
.tft-auth::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(107,122,75,0.16), transparent 70%);
}
.tft-auth__accent {
  position: absolute; top: -20%; right: -8%; width: 30%; height: 150%;
  background: rgba(107,122,75,0.10); transform: rotate(16deg); pointer-events: none;
}
.tft-auth__inner { position: relative; z-index: 2; width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; }

.tft-auth__logo {
  display: block; width: 92px; height: 92px; margin-bottom: 28px; text-decoration: none;
  border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(107,122,75,0.10), 0 10px 40px rgba(0,0,0,0.5);
  background: #000; transition: box-shadow 200ms ease;
}
.tft-auth__logo:hover { box-shadow: 0 0 0 6px rgba(107,122,75,0.22), 0 10px 40px rgba(0,0,0,0.5); }
.tft-auth__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tft-auth__logo span { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-weight: 800; font-size: 34px; }

.tft-auth__card {
  width: 100%; position: relative;
  background: rgba(30,33,24,0.88); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-top: 3px solid var(--g);
  padding: 38px 36px 34px; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}
.tft-auth__card :where(h1,p,ul,li,label) { margin: 0; padding: 0; color: inherit; }

.tft-auth__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--g); margin-bottom: 10px !important; text-align: center; }
.tft-auth__title {
  font-family: 'Bahnschrift','Arial Narrow','Segoe UI Condensed',sans-serif;
  font-weight: 700; font-size: 32px; text-transform: uppercase; letter-spacing: 0.5px;
  text-align: center; color: var(--ink) !important; margin-bottom: 10px !important; line-height: 1.15;
}
.tft-auth__sub { font-size: 14px; line-height: 1.55; color: var(--muted) !important; text-align: center; margin-bottom: 26px !important; }

.tft-auth__notices:empty { display: none; }
.tft-auth__notices { margin-bottom: 18px; }
.tft-auth__notices ul, .tft-auth__notices .woocommerce-error, .tft-auth__notices .woocommerce-message, .tft-auth__notices .woocommerce-info {
  list-style: none; margin: 0 0 8px; padding: 12px 14px; font-size: 13px; line-height: 1.5;
  background: rgba(178,58,46,0.12); border: 1px solid rgba(178,58,46,0.5); border-left: 3px solid #B23A2E; color: #F1D6D2 !important;
}
.tft-auth__notices .woocommerce-message { background: rgba(107,122,75,0.15); border-color: rgba(107,122,75,0.6); border-left-color: var(--g); color: #E3EAD3 !important; }
.tft-auth__notices li, .tft-auth__notices a { color: inherit !important; }
.tft-auth__notices .button { display: none !important; }

.tft-auth__form { display: flex; flex-direction: column; gap: 18px; }
.tft-auth__field { display: flex; flex-direction: column; gap: 8px; }
.tft-auth__field label { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #E8E8E5 !important; }
.tft-auth__field input {
  width: 100%; height: 50px; box-sizing: border-box; padding: 0 16px;
  background: var(--olive) !important; color: var(--ink) !important;
  border: 1px solid #3A3F2C !important; border-radius: 0 !important;
  font-size: 15px; font-family: inherit; box-shadow: none !important;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.tft-auth__field input:focus { outline: none; border-color: var(--g) !important; box-shadow: 0 0 0 3px rgba(107,122,75,0.25) !important; }
.tft-auth__pw { position: relative; }
.tft-auth__pw input { padding-right: 70px; }
.tft-auth__toggle {
  position: absolute; right: 0; top: 0; height: 50px; padding: 0 16px; background: transparent !important; border: none !important;
  color: var(--g) !important; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; cursor: pointer;
}
.tft-auth__toggle:hover { color: #fff !important; }

.tft-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tft-auth__check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted) !important; cursor: pointer; }
.tft-auth__check input { width: 16px; height: 16px; accent-color: var(--g); margin: 0; }
.tft-auth__link { font-size: 13px; color: var(--g) !important; text-decoration: none; }
.tft-auth__link:hover { color: #fff !important; text-decoration: underline; }

.tft-auth__form .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.6; color: var(--muted) !important; }
.tft-auth__form .woocommerce-privacy-policy-text a { color: var(--g) !important; }
.tft-auth__form .woocommerce-form-row, .tft-auth__form .form-row { margin: 0; }

.tft-auth__submit {
  height: 52px; margin-top: 4px; width: 100%; cursor: pointer;
  background: var(--g) !important; color: var(--near) !important; border: none !important; border-radius: 0 !important;
  font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.tft-auth__submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(107,122,75,0.35); opacity: 0.95; }

.tft-auth__switch {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.tft-auth__switch a { color: #fff !important; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--g); }
.tft-auth__switch a:hover { color: var(--g) !important; }

.tft-auth__perks {
  list-style: none; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; padding: 0;
  font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted);
}
.tft-auth__perks li { position: relative; padding-left: 14px; }
.tft-auth__perks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; background: var(--g); }

@media (max-width: 520px) {
  .tft-auth { padding: 50px 14px 70px; }
  .tft-auth__card { padding: 30px 22px 26px; }
  .tft-auth__title { font-size: 26px; }
}