﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* ── NHL-style Scores Ticker ─────────────────────── */
#scores-ticker {
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.ticker-bar {
  background: #2a2a2a;
}

.ticker-bar .swiper-button {
  background: rgba(42, 42, 42, 0.9) !important;
  color: #ccc !important;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: none;
}

.ticker-bar .swiper-button:hover {
  color: #fff !important;
  background: #444 !important;
}

.ticker-bar .swiper-button.swiper-button-disabled {
  background: transparent !important;
  color: #555 !important;
}

.ticker-bar .swiper-button::after {
  font-size: 0.7rem !important;
}

.ticker-game {
  display: flex;
  flex-direction: column;
  padding: 6px 16px;
  cursor: pointer;
  border-right: 1px solid #3a3a3a;
  min-width: 0;
  transition: background 0.15s;
}

.ticker-game:hover {
  background: #353535;
}

.ticker-status {
  margin-bottom: 4px;
  line-height: 1;
}

.ticker-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ticker-badge-final {
  color: #999;
}

.ticker-badge-live {
  color: #e74c3c;
}

.ticker-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.ticker-team-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-score {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  min-width: 16px;
  text-align: right;
}

.ticker-game-final .ticker-team {
  font-weight: 400;
  color: #999;
}

.ticker-game-final .ticker-team .ticker-team-name {
  color: #999;
}

.ticker-game-final .ticker-team .ticker-score {
  color: #999;
  font-weight: 400;
}

.ticker-game-final .ticker-winner .ticker-team-name,
.ticker-game-final .ticker-winner .ticker-score {
  font-weight: 800;
  color: #fff;
}

.ticker-venue {
  font-size: 0.75rem;
  color: #777;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
