/* Additions on top of styles.css for the real lookup flow (CPF/phone fallback,
   number reveal, contact correction) — same visual language, new states
   the static mockup didn't need to cover. */

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.lf-number {
  display: inline-flex;
  gap: 3px;
  margin: 0 10px 10px 0;
}
.lf-digit {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 40px;
  overflow: hidden;
  background: #080808;
  border: 1px solid #303030;
}
.lf-digit-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 560px) {
  .lf-digit {
    width: 32px;
    height: 46px;
  }
  .lf-digit-face {
    font-size: 21px;
  }
}

.lf-numbers-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.lf-number-item {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 10px 12px 12px;
  background: #0c0c0c;
  border: 1px solid #262626;
  border-left: 2px solid var(--yellow);
}

.lf-number-item .lf-number {
  max-width: 100%;
  flex-wrap: wrap;
}

.lf-number-index {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.lf-devnote {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed #303030;
  color: #6b6b6b;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.lf-result-tag {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.lf-result-name {
  margin: 0 0 6px;
  font-family: Impact, 'Arial Narrow', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

.lf-numbers-label {
  margin: 0 0 12px;
  color: #7c7c7c;
  font-family: monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.lf-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0;
  color: #8f8f8f;
  background: none;
  border: 0;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.lf-back-link:hover {
  color: var(--yellow);
}

.lf-contact-box {
  margin-top: 18px;
  padding: 16px 18px;
  background: #0c0c0c;
  border: 1px solid #262626;
  border-left: 2px solid #262626;
  transition: border-color 0.2s, background 0.2s;
}
.lf-contact-box--warn {
  background: #201505;
  border-color: rgba(240, 150, 20, 0.35);
  border-left: 2px solid #f0a020;
}
.lf-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lf-contact-info {
  min-width: 0;
}
.lf-contact-row p {
  margin: 0;
  color: #9c9c9c;
  font-size: 12px;
  line-height: 1.6;
}
.lf-contact-missing {
  color: #f0a020 !important;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lf-contact-warn-note {
  margin-top: 4px !important;
  color: #c98a3a !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}
.lf-contact-edit-btn {
  padding: 0;
  color: var(--yellow);
  background: none;
  border: 0;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: pointer;
}
.lf-contact-edit-btn:hover {
  text-decoration: underline;
}
.lf-contact-hint {
  margin: 0 0 12px;
  color: #6b6b6b;
  font-size: 10px;
}

.lf-field {
  width: 100%;
  height: 46px;
  margin-bottom: 10px;
  padding: 0 14px;
  border: 1px solid #303030;
  outline: 0;
  color: #fff;
  background: #080808;
  font-family: monospace;
  font-size: 13px;
}
.lf-field:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(240, 220, 0, 0.08);
}
.lf-field::placeholder {
  color: #565656;
}

.lf-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #381414;
  color: #ffb5b5;
  font-size: 11px;
  line-height: 1.5;
}

.lf-save-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.lf-save-btn {
  height: 40px;
  padding: 0 18px;
  border: 0;
  color: #050505;
  background: var(--yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.lf-save-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.lf-cancel-btn {
  height: 40px;
  padding: 0 14px;
  color: #7c7c7c;
  background: none;
  border: 0;
  font-size: 9px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lf-saved-tag {
  color: #b9f0c7;
}

@media (prefers-reduced-motion: reduce) {
  .lf-digit-face {
    transition: none !important;
    animation: none !important;
  }
}

/* Participants section */
.lf-participants {
  padding-block: 105px 120px;
  background: #0b0b0b;
  border-top: 1px solid #202020;
  border-bottom: 1px solid #202020;
}

.lf-participants-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.lf-tab {
  padding: 10px 16px;
  border: 1px solid #2c2c2c;
  background: #131313;
  color: #8a8a8a;
  font-family: monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.15s;
}
.lf-tab.active {
  color: #050505;
  background: var(--yellow);
  border-color: var(--yellow);
}

.lf-participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  min-height: 120px;
}

.lf-participant-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: #131313;
  border: 1px solid #262626;
}

.lf-participant-name {
  color: #f4f4ef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lf-participant-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.lf-participant-numbers b {
  padding: 3px 7px;
  color: var(--yellow);
  background: rgba(240, 220, 0, 0.08);
  border: 1px solid rgba(240, 220, 0, 0.25);
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lf-participant-numbers i {
  padding: 3px 7px;
  color: #6b6b6b;
  font-family: monospace;
  font-size: 10px;
  font-style: normal;
}

.lf-participants-empty {
  grid-column: 1 / -1;
  padding: 30px 0;
  color: #6b6b6b;
  font-family: monospace;
  font-size: 11px;
  text-align: center;
}

.lf-participants-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  color: #8a8a8a;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.lf-participants-pager button {
  padding: 8px 14px;
  border: 1px solid #2c2c2c;
  background: #131313;
  color: #d8d8d8;
  font-family: monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.lf-participants-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}
.lf-participants-pager button:not(:disabled):hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

@media (max-width: 560px) {
  .lf-participants {
    padding-block: 75px 80px;
  }
}

/* Landing teaser linking to the dedicated participants page */
.lf-participants-teaser {
  padding-block: 100px;
  background: #0b0b0b;
  border-top: 1px solid #202020;
  border-bottom: 1px solid #202020;
}
.lf-participants-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.lf-participants-teaser-inner > div {
  max-width: 620px;
}
.lf-participants-teaser-inner p:last-child {
  margin: 18px 0 0;
  color: #929292;
  font-size: 14px;
  line-height: 1.75;
}
@media (max-width: 820px) {
  .lf-participants-teaser {
    padding-block: 70px;
  }
  .lf-participants-teaser-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dedicated participants page */
.lf-page {
  min-height: 100vh;
  background: #050505;
}
.lf-page-topbar {
  position: relative;
}
.lf-page-main {
  padding-block: 150px 90px;
}
.lf-page-title {
  margin: 18px 0 0;
  font-family: Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f4f4ef;
}
.lf-page-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: #929292;
  font-size: 14px;
  line-height: 1.75;
}

.lf-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.lf-pagination button {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #2c2c2c;
  background: #131313;
  color: #b8b8b8;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.lf-pagination button.active {
  color: #050505;
  background: var(--yellow);
  border-color: var(--yellow);
}
.lf-pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}
.lf-pagination button:not(:disabled):not(.active):hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.lf-pagination-ellipsis {
  color: #555;
  font-family: monospace;
  font-size: 11px;
  padding: 0 4px;
}

@media (max-width: 560px) {
  .lf-page-main {
    padding-block: 110px 60px;
  }
}

/* Simplified footer: just wordmark + one trailing item */
.footer--simple {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer--simple > span,
.footer--simple > a {
  color: #757575;
  font-family: monospace;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.footer--simple > a:hover {
  color: var(--yellow);
}
