/* BetCrew brand: navy + cyan (custom.css / arena) */
:root {
  --bc-navy: #0A0B3A;
  --bc-primary: #1D1E56;
  --bc-steel: #3E7CB1;
  --bc-accent: #00ECD5;
  --bc-accent-ink: #0A0B3A;
  --bc-card: #12133a;
  --bc-input: rgba(10, 11, 58, 0.55);
  --bc-line: rgba(255, 255, 255, 0.14);
  --bc-text: #ffffff;
  --bc-muted: rgba(255, 255, 255, 0.72);
  --bc-danger: #ff7b84;
  --bc-ok: #00ECD5;
}

.betcrew-gate {
  margin: 1.5rem 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--bc-text);
}

.betcrew-gate__card {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #1D1E56 0%, #0A0B3A 72%);
  border: 1px solid rgba(0, 236, 213, 0.22);
  color: var(--bc-text);
  box-shadow: 0 18px 40px rgba(10, 11, 58, 0.45);
}

.betcrew-gate__title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff !important;
}

.betcrew-gate__msg {
  margin: 0 0 1rem;
  color: var(--bc-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.betcrew-gate__flash {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.45;
}

.betcrew-gate__flash--error {
  background: rgba(255, 123, 132, 0.16);
  border-color: rgba(255, 123, 132, 0.35);
  color: #ffb3b9;
}

.betcrew-gate__flash--error a {
  color: #fff;
  text-decoration: underline;
}

.betcrew-gate__flash--success {
  background: rgba(0, 236, 213, 0.14);
  border-color: rgba(0, 236, 213, 0.4);
  color: var(--bc-accent);
}

.betcrew-gate__tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.betcrew-gate__tab {
  flex: 1;
  border: 1px solid var(--bc-line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--bc-muted);
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.betcrew-gate__tab.is-active {
  background: var(--bc-accent);
  color: var(--bc-accent-ink);
  border-color: var(--bc-accent);
}

.betcrew-gate__form label {
  display: block;
  margin-bottom: 0.75rem;
}

.betcrew-gate__form label > span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  color: var(--bc-muted);
}

.betcrew-gate__form input[type="email"],
.betcrew-gate__form input[type="password"],
.betcrew-gate__form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(62, 124, 177, 0.5);
  background: var(--bc-input);
  color: var(--bc-text);
  padding: 0.7rem 0.8rem;
}

.betcrew-gate__form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.betcrew-gate__form input:focus {
  outline: none;
  border-color: var(--bc-accent);
  box-shadow: 0 0 0 2px rgba(0, 236, 213, 0.25);
}

.betcrew-gate__check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--bc-muted);
}

.betcrew-gate__check input {
  margin-top: 0.2rem;
  accent-color: var(--bc-accent);
}

.betcrew-gate__check a {
  color: var(--bc-accent);
}

.betcrew-gate__btn {
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--bc-accent);
  color: var(--bc-accent-ink);
}

.betcrew-gate__btn:hover {
  filter: brightness(1.06);
}

.betcrew-gate__btn--ghost {
  width: auto;
  background: transparent;
  color: var(--bc-accent);
  border: 1px solid var(--bc-accent);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.betcrew-gate__btn--ghost:hover {
  background: rgba(0, 236, 213, 0.12);
}

.betcrew-gate__hint {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--bc-muted);
  text-align: center;
}

.betcrew-gate__hint a {
  color: var(--bc-accent);
}

.betcrew-gate__logged {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(165deg, #1D1E56 0%, #0A0B3A 80%);
  color: #fff;
  border: 1px solid rgba(0, 236, 213, 0.25);
}

.betcrew-gate__logged strong {
  color: var(--bc-accent);
}

.betcrew-gate__logout-form {
  display: inline;
  margin: 0;
}

.betcrew-gate--status .betcrew-gate__flash {
  max-width: none;
}
