.tfll-card {
  max-width: 420px;
  margin: 24px auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #0b1220 0%, #070b12 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}

.tfll-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 240px at 20% -10%, rgba(132, 204, 22, 0.10), transparent 60%),
    radial-gradient(700px 260px at 110% 10%, rgba(34, 211, 238, 0.06), transparent 55%),
    radial-gradient(900px 400px at 50% 120%, rgba(245, 158, 11, 0.05), transparent 60%);
  pointer-events: none;
}

.tfll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 26px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 26px
    ),
    radial-gradient(1200px 500px at 50% 10%, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.35));
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.tfll-card > * {
  position: relative;
  z-index: 1;
}

.tfll-header {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tfll-headerText {
  min-width: 0;
}

.tfll-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(132, 204, 22, 0.78);
}

.tfll-emblem {
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.85);
  object-fit: contain;
  display: block;
}

.tfll-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2px 0 0;
}

.tfll-form {
  display: grid;
  gap: 12px;
}

.tfll-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.tfll-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.tfll-badge--muted {
  opacity: 0.78;
}

.tfll-field {
  display: grid;
  gap: 6px;
}

.tfll-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.tfll-input {
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
}

.tfll-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.tfll-input:focus {
  border-color: rgba(132, 204, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.16);
}

.tfll-btn {
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(132, 204, 22, 0.35);
  background: linear-gradient(180deg, rgba(132, 204, 22, 0.28), rgba(132, 204, 22, 0.18));
  color: rgba(255, 255, 255, 0.96);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tfll-btn:hover {
  filter: brightness(1.07);
}

.tfll-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  padding: 0 14px;
}

.tfll-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}

.tfll-btn--logout{
  margin-left: auto;
}

.tfll-message {
  min-height: 18px;
  font-size: 13px;
  opacity: 0.92;
}

.tfll-hint {
  margin: -2px 0 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.tfll-message.is-error {
  color: #fb7185;
}

.tfll-message.is-success {
  color: #86efac;
}

/* Hide theme page header/breadcrumbs only on TFLL shortcode pages */
body.tfll-page .page-header,
body.tfll-page .entry-header,
body.tfll-page header.entry-header,
body.tfll-page .entry-title,
body.tfll-page h1.entry-title,
body.tfll-page .page-title,
body.tfll-page .page-title-bar,
body.tfll-page .page-title-wrap,
body.tfll-page .breadcrumbs,
body.tfll-page .breadcrumb,
body.tfll-page nav.breadcrumb,
body.tfll-page .woocommerce-breadcrumb,
body.tfll-page .rank-math-breadcrumb,
body.tfll-page #breadcrumbs,
body.tfll-page .kama_breadcrumbs {
  display: none !important;
}

