/* PremiumTool.css */

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-image: url(https://img1.wsimg.com/isteam/stock/111882);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-y: auto;
  color: #f2f2f2;
}

/* NAVIGATION BAR */
.TopNavBackground {
  background-color: #1e1e1e;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.TopNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px;
}

.TopNav a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 20px;
  padding: 6px 12px;
}

.TopNav a:hover {
  background-color: #ddd;
  color: #000;
}

.TopNav a.active {
  background-color: #990000;
  color: #fff;
}

.left-nav a {
  margin-right: 20px;
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* MAIN PAGE LAYOUT */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  min-height: 100vh;
}

.main-wrapper {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FORM SECTION */
form#premiumQueryForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 8px;
}

form#premiumQueryForm .form-group {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

form#premiumQueryForm label {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 15px;
}

form#premiumQueryForm input,
form#premiumQueryForm select {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#searchButton {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 16px;
  background-color: #990000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#searchButton:hover {
  background-color: #cc0000;
}

/* AUTOCOMPLETE */
.autocomplete-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border: 1px solid #ddd;
  max-width: 300px;
  position: absolute;
  z-index: 10;
  color: black;
}

.autocomplete-list li {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-list li:hover {
  background-color: #f2f2f2;
}

/* RESULTS GRID */
.results-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.hidden {
  display: none !important;
}

/* RESULT CARD STYLE */
.result-box {
  background-color: #ffffff;
  color: #000;
  width: 240px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-top: 5px solid transparent;
}

.result-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.result-box.red-border { border-top-color: #990000; }

.stats-content p {
  font-size: 14px;
  margin: 4px 0;
}

/* INFO ICON */
.info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #ccc;
  color: #000;
  font-size: 12px;
  border-radius: 50%;
  line-height: 16px;
  text-align: center;
  margin-left: 5px;
  position: relative;
}

.info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
}

/* PROFILE BOX */
.profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headshot {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.player-headshot {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 10px;
  margin-bottom: 8px;
  max-width: 100%;
  max-height: 100%;
}

.profile-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
}

.player-team {
  font-size: 0.9rem;
  color: #555;
}

/* ODDS BUTTONS */
.odds-content {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
}

.odds-button {
  background-color: #444;
  color: #fff;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.odds-button:hover {
  background-color: #333;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal {
  background-color: #fff;
  color: #000;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
}

.modal input, .modal button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 14px;
}

.modal .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .TopNav {
    flex-direction: column;
    align-items: flex-start;
  }

  .TopNav a {
    font-size: 18px;
  }

  .results-container {
    flex-direction: column;
    align-items: center;
  }

  .result-box {
    width: 90%;
  }
}

.query-summary {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-top: 20px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-form-1, .fade-in-form-2, .fade-in-form-3, .fade-in-form-4, .fade-in-form-5, .fade-in-form-6 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.fade-in-form-1 { animation-delay: 0.1s; }
.fade-in-form-2 { animation-delay: 0.2s; }
.fade-in-form-3 { animation-delay: 0.3s; }
.fade-in-form-4 { animation-delay: 0.4s; }
.fade-in-form-5 { animation-delay: 0.5s; }
.fade-in-form-6 { animation-delay: 0.6s; }

.gambling-banner {
  background-color: #ffcc00;
  color: #000;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  border-radius: 8px;
  max-width: 1400px;
  margin: 30px auto 10px auto;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out forwards;
}

.stat-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.result-box h3 {
  border-bottom: 1px solid #aaa;
  padding-bottom: 4px;
  margin-bottom: 8px;
  font-size: 18px;
  color: #990000;
}

.odds-wrapper {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #1a1a1a;
}

.odds-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #fff;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 6px;
}

.odds-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #1a1a1a;
}

.odds-box {
  width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  color: #000;
}

.odds-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.odds-box p {
  font-size: 16px;
  margin: 8px 0;
}

.odds-box button {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.fanduel-box button {
  background-color: #0057ff;
}

.draftkings-box button {
  background-color: #2e8b57;
}

.best-box button {
  background-color: #f9a825;
}
