* {
  font-family: "Inter", "Arial", sans-serif;
}

.top {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #212121;
  padding: 10px 32px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start; /* 👈 left aligned column */
  }

  .logo {
    margin-bottom: 13px;
    margin-top: 10px;
  }

  .login {
    width: 100%;
  }

  .login-box {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    position: relative;
  }

  .input-box input {
    width: 100%;
  }

  button {
    background-color: rgb(66, 66, 66);
    margin-top: -2px;
    margin-bottom: 3px;
  }
}

.login {
  box-sizing: border-box;
  flex-direction: column;
  column-gap: 8px;
  row-gap: 8px;
  align-items: flex-end;
  margin: 0px;
  padding: 0px;
  line-height: 20px;
  color: rgb(255, 255, 255);
  font-family: "Inter", "Arial", sans-serif;
  font-size: 14px;
}

.login-2 {
  gap: 0px;
  margin-top: 0px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}

.login-box {
  display: flex;
  gap: 9px;
}

.input-box {
  position: relative;
  width: 100%;
  width: fit-content;
}

.input-box input {
  width: 245px;
  height: 39px;
  padding-left: 35px;
  padding-right: 45px;
  background: #111;
  color: #fff;
  border: 1px solid rgb(66, 66, 66);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 545;
  outline: none;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
  font-family: "Inter", "Arial", sans-serif;
}

.input-box input::placeholder {
  color: #aaa;
}

.input-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.input-box .eye {
  font-size: 17px;
  left: auto;
  right: 15px;
  color: rgba(255, 255, 255, 0.505);
}

button {
  background: rgb(66, 66, 66);
  color: rgb(255, 255, 255, 0.25);
  height: 40px;
  width: 73px;
  border: none;
  /* padding: 14px 25px; */
  border-radius: 8px;
  font-size: 15px;
  cursor: not-allowed;
  font-family: "Inter", "Arial", sans-serif;
}

/* ================================================================== */

.mobile-nav {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  background: #2f2f2f;
  padding: 6px;
  width: 100%;
  box-sizing: border-box;
}

.nav-item {
  flex: 1;
  background: #525252;
  border-radius: 2px;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  min-width: 0;
}

.nav-item small {
  font-family: "Inter", "Arial", sans-serif;
}

.nav-item .icon {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.nav-item.active {
  background: #20a151; /* In-Play green */
  color: #fff;
}

/* ===================================================================== */

.popular-links {
  background: #3a3a3a;
  font-size: 14px;
}

.popular-links a {
  font-family: "Inter", "Arial", sans-serif;
}

.popular-title {
  padding: 8px 10px;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #555;
}

.popular-item {
  display: block;
  padding: 8px 10px;
  background: #fff;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.popular-item.active {
  background: #2aa9b2; /* teal highlight */
  color: #000;
}

/* ===================================================================== */

.nba-market {
  background: #fff;
  font-size: 14px;
}

/* Tabs */
.sport-tabs {
  display: flex;
  background: #4a4a4a;
}

.tab {
  flex: 1;
  padding: 7px 0;
  text-align: center;
  background: #5a5a5a;
  color: #fff;
  font-size: 13px;
  border-right: 1px solid #3a3a3a;
}

.tab:last-child {
  border-right: none;
}

.tab.active {
  background: #2f2f2f;
}

/* Header */
.market-header {
  display: flex;
  justify-content: space-between;
  background: #e5e5e5;
  padding: 6px 10px;
  font-size: 12px;
}

/* Rows */
.market-row {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}

/* Time + score */
.score-wrap {
  display: flex;
  margin-right: 8px;
}

.match-time {
  width: 42px;
  background: #3fa86a;
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 8px 0;
}

.match-score {
  width: 28px;
  background: #2e8f58;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.match-time.gray,
.match-score.gray {
  background: #777;
}

/* Teams + money */
.teams {
  flex: 1;
  line-height: 1.3;
}

.matched {
  font-size: 12px;
  color: #666;
}

/* States */
.suspended {
  border: 1px solid #c33;
}

.status {
  color: #c33;
  font-weight: 600;
  font-size: 12px;
}

.upcoming .time-text {
  width: 70px;
  font-size: 11px;
  color: #555;
  margin-right: 8px;
}

/* ===================================================================== */

.footer-real {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 16px 10px 28px;
}

.footer-copy {
  display: flex;
  justify-content: center; /* pura group center */
  align-items: center;
  gap: 10px; /* X aur text ke beech space */
  font-size: 11px;
  color: #e0e0e0;
  margin-bottom: 2px;
}

.footer-x {
  font-size: 26px;
  cursor: pointer;
}

.footer-links div {
  padding: 6px 0;
  font-size: 15px;
}

.footer-row-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 10px;
  color: #fff;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/*  ===================================================================== */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box {
  width: 90%;
  max-width: 400px;
  background: #fff;
}

.popup-header {
  background: #222;
  color: #fff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.popup-body {
  padding: 14px;
  color: #333;
}
