@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  background: #0b0b0b;
  color: #f5f5f5;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}
a, a:visited { color: #e50914; }
.btn { color: #fff !important; }
.btn-primary, .btn-danger { background: #e50914; border-color: #e50914; }
.btn-outline-light { border-color: #e5e5e5; color: #e5e5e5 !important; }
footer { background: #0b0b0b; color: #777; border-top: 1px solid rgba(255,255,255,0.06); }

.navbar.netflix-nav {
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar.netflix-nav .nav-link {
  color: #e5e5e5;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.navbar.netflix-nav .nav-link:hover { color: #fff; }
.netflix-logo {
  height: 48px;
  object-fit: contain;
}
.main-bg { min-height: 100vh; }

/* Home rails + hero */
.netflix-hero {
  position: relative;
  min-height: 50vh;
  /* background: url("https://images.unsplash.com/photo-1605296867304-46d5465a13f1?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat; */
  background: url("https://images.unsplash.com/photo-1574680096145-d05b474e2155?q=80&w=2669&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 8px;
  scroll-snap-type: x mandatory;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
.rail-card {
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rail-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.rail-img { width: 100%; height: 140px; object-fit: cover; }
.member-tile { border: 1px solid rgba(255,255,255,0.1); }
.nav-link { cursor: pointer; }

.testcolor { background: navy !important; color: white !important; }
.teamwindow { border-style: solid !important; border-width: 1px !important; padding: 16px !important; margin: 12px !important; }
.table-condensed{ font-size: 10px; }
.asteriskField { display: none; }
.main-bg {
  background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(../../../static/dreamteam/bill_gym_bw.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Force floating labels to stay visible on weigh-in inputs */
.with-label ~ label,
.with-label + label {
  opacity: 1;
  transform: translateY(-0.35rem) scale(0.85);
}
