.event-header {
  width: 100%;             /* fill 90% of the parent */
  max-width: 1000px !important;      /* or whatever cap you like */
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-body);
}
.fight-wrapper{
 max-width: 700px !important;
  width: 100%;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  background-color: var(--bg-body);
  margin: 10px auto;
  overflow: hidden;
}
.event-wrapper {
position:relative;
  box-sizing: border-box;
  background: var(--bg-body);
max-width:700px !important;
  margin: 5px auto;
  text-align: center;
  color: #fff;
  padding:0px;
}
h2.Upcoming-events {
  font-size: 2.4em;  /* 1.75 times the parent font size */
  margin-top: 60px;
}


@media (max-width: 768px) {
    body .content {
   
        padding: 0px 1px !important;
    }
}
/* CSS (if using custom CSS) */

.no-underline {
  text-decoration: none !important;
}



.content-container {
  flex: 1;
}
.content{
margin-top: 30px !important;
  padding: 0px 0px !important;
}
.content h2 {
  font-size: 2.0rem;
max-width:100%;
}
.fixed-btn {
  min-width: 140px;
}

.prediction-fab-inline {
  width: 36px;
  height: 36px;
  margin-left: 0px;
  border-radius: 50%;
  background-color: #76D205;
  color: #000000 !important;
  border: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.prediction-fab-inline:hover {
color: #000000;
  background-color:  var(--accent-color);
  transform: scale(1.1);
}




header, .top-bar, .index-nav {
  position: relative;
  z-index: 50;
}



*, *::before, *::after {
  box-sizing: border-box;
}

#content.content {
 
   padding: 10px 15px;
  margin-top: 35px;
}
.content h2 {

padding-left: 10px;
}
.parent-container {
  display: flex;
  justify-content: center;
}
.result-details {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
}

button.view-details.event-media-btn {
  background-color: var(--text2-color);
  color: var(--bg-body);
  padding:5px 9px;
  border: 2px solid #444;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;

}

button.view-details.event-media-btn:hover {
  background-color: var(--accent-color); 
  border-color: var(--text2-color);
 
  transform: scale(1.03);
 
}

/* YouTube Video Card Styles */
/* Hide initially */
/* Hide initially */


#youtubeCard.active {
  display: block;
}




.youtube-card.show {
  display: block;
}
.video-label {
  text-align: center;
  font-size: 2.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.video-block {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.youtube-wrapper iframe {
  width: 100%;
  max-width: 700px;
  height:400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.video-block {
  display: block;
}
  .youtube-card,
  .youtube-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }
.youtube-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
    flex-direction: column;
  align-items: center;
}
 .no-media-message {
  text-align: center;
  color: #bbb;
  font-size: 2.1rem;
  padding: 1rem;
   width:100%;
 
   align-items: center;
}

.hidden {
  display: none;
}

.youtube-card {
  width: 100%;
  min-width: 400px;
  box-sizing: border-box;
  display: block;
}




.fight-cards-container {
  opacity:1;
  transform: translateX(0);
  transition: transform 0.4s ease-out, opacity 0.8s ease-out;
}

.fight-cards-container.animate-left {
  animation: slideFromRight 0.4s ease-out forwards;
}

.fight-cards-container.animate-right {
  animation: slideFromLeft 0.4s ease-out forwards;
}




@keyframes slideFromLeft {
  from {
    transform: translateX(-10%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  from {
    transform: translateX(10%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.event-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0px;
  padding:10px;
   border: 1px solid var(--border-color);
  border-radius: 10px;
}

.event-title {
  font-weight: 700;
  font-size: 18px;
   color: var(--text-color);
}

.event-location {
  font-size:14px;
  color: #87ceeb;
}

.event-date {
  font-size: 16px;
  color: var(--text2-color);
}

.event-label {
  background: transparent;
  color: black;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 6px;
  font-weight: bold;
}

.nav-overlay-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
 
  background-color: transparent !important;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding:0px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 96%;
  transition: background-size 0.2s ease;
}
.nav-overlay-btn:focus {
  outline: none;
  box-shadow: none;
}


.nav-overlay-btn:active {
  transform: translateY(-50%);
  scale: 1; /* prevent press-in effect */
}

/* Positioning */
.nav-overlay-btn.left {
  left: 0px;
 background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="70,10 30,50 70,90" fill="none" stroke="%23999" stroke-width="2"/></svg>');
}

.nav-overlay-btn.right {
  right: 0px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="30,10 70,50 30,90" fill="none" stroke="%23999" stroke-width="2"/></svg>');
}

/* On hover — solid filled triangle */
.nav-overlay-btn.left:hover {
	
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="70,10 30,50 70,90" fill="rgba(153,153,153,0.5)" stroke="%23999" stroke-width="2"/></svg>');
  
}

.nav-overlay-btn.right:hover {

  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="30,10 70,50 30,90" fill="rgba(153,153,153,0.5)" stroke="%23999" stroke-width="2"/></svg>');
  
}




.btn4 {

 height: 30px;
  text-align: center;
  /
  line-height: 1.2;
  background-color:#facc15;
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;

  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
   padding: 5px 5px;
}
.btn4.yellow:hover {
  background-color: #eab308;
}


.special-button1 {
 height: 30px !important;
  background-color: var(--text2-color);
  color: var(--bg-body); /* Ensures readability */
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  width: 30%;
  text-align: center;
 margin: 0 auto 8px auto;  
}
.special-button1:hover {
  background-color: #bbb;
}






.subscribe-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.subscribe-button:hover {
  background: #ff1a1a;
}


.card {
  position: relative;
  width: 100%; /* Adjust as needed */
  height: 200px; /* Adjust as needed */
  background: #f3f3f3;

}
.button-container {
   display: flex;
  justify-content: center; /* Ensures buttons are centered */
  gap: 20px; /* Adds space between buttons */
 padding: 0;
  width: 100%;
}
.vs-button {
  background-color:#FCDF04;
  color: black;

  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
}










@keyframes fade-in {
  from { opacity: 1; }
  to { opacity: 0; transform: scale(0.98); }
}

.event-text.fade-out {
  animation: fade-out 0.4s ease forwards;
}

.special-button:hover {
  background-color: #333;         /* Slightly lighter on hover */
}

.special-button i {
  font-size:14px;
}

.special-button i,
.special-button svg,
.special-button img {
  vertical-align: middle;
}

table {
  border: none;
}


.fight-wrapper:hover {

  box-shadow: 0 1px 2px var(--accent-color);
  border-top: none;
  border-right: 1px solid var(--accent-color) !important;
  border-bottom: 2px solid var(--accent-color)!important;
  border-left: 1px solid var(--accent-color)!important;
  
  
}
.fight-wrapper.has-prediction {
  border-top: none;
  border-right: 1px solid #76D205;
  border-bottom: 2px solid #76D205;
  border-left: 1px solid #76D205;
   margin: 12px auto  0px auto;
}


/* Table */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none; /* no borders on table */
  background-color: transparent;
  max-width: 700px;
  margin: 0 auto;
}
table th, table td {
  border: none;
  text-align: center;
 
}
table th:not(:last-child),
table td:not(:last-child) {
  border-right: none;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

table tr:not(:last-child) td {
  border-bottom: none;
}

/* Header row styling */
thead tr {
  background-color: var(--bg-header);
  font-weight: bold;
  font-size:1.1rem;
}














.fight-card-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  border-top: 0.5px solid #333;
  border-bottom: 0.5px solid #333;
  gap: 8px;
  margin: 0;
  background-color: var(--bg-body);
}

 


.fighter-side {
  display: flex;
  flex-direction: column;
  align-items: center;   /* ✅ Center fighter content horizontally */
  text-align: center;    /* ✅ Center text like name and record */
  gap: 12px;
  width:40%
}


.fighter-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin:20%;
}

.fighter-left .fighter-column:first-child {
  align-items: center;
  text-align: center;
}

.fighter-right .fighter-column:last-child {
  align-items:center;
  text-align: center;
}

.fighter-name {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 6px;
  min-width:90px; /* adjust width as needed */
  display: inline-block;
  text-align: center;
  

}

.fighter-flag img {
  width: 24px;
  height: auto;
}

.fighter-img {
  width:20px;
  height:20px;
  object-fit: cover;
  border-radius: 0px;
   border: 2px solid transparent;
  margin-top: 0px;
   display: block;
}
.fighter-img.winner {
  border-color: #27ae60; /* Green */
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.7);
}
.fighter-record {
  font-size: 0.9rem;
  color: var(--text-color);
  display: inline-block;
}
.fighter-img:hover {

 
   border: 2px solid var(--accent-color);;
     box-shadow: 0 0 20px rgba(161, 160, 160, 0.6);
}



.vs-center {
  text-align: center;
  width: 20%;
}

.weight-class {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 2px;
}

.vs-label {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2px;
}
  .fighter-img-container {
  position: relative;
   display: block;
  width: 100%;
  height:100%;
  overflow: hidden; /* or however wide your image is */
    display: block;
  padding-left: 20%; 
   padding-right: 20%;/* 🔥 Remove extra space */
  margin: 0 auto;      /* Keep it horizontally centered */
  text-align: center;
  vertical-align: top; /* Align to top */
   border-radius: 12px;
  overflow: hidden;
}

.fighter-img-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  
}

.fighter-img-container .win {
  position: absolute;
  top: 10px;
  right: 70px;
  background-color: #27ae60;
  color: black;
  font-weight: bold;
  border-radius: 50%;
  width:20px;
  height:20px;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
  z-index: 2;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}
.fighter-img-container .flag-icon {
  position: absolute;
  top: 14px;
  left: 70px;
  background-color: #27ae60;
  color: black;
  font-weight: bold;
  width: 24px;
  height: 17x;
  z-index: 2;
   border-radius: 0px !important;
}

/* ensure our “hidden” class really hides either container */
#fightCards.hidden,
.fight-cards-container.hidden,
#youtubeCard.hidden,
.youtube-card.hidden {
  display: none !important;
}

#fightCards.hidden {
  display: none !important;
}




/* Mobile */
@media (max-width: 768px) {
  .event-header {
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 15px;
  }
.nav-btn {
    padding: 6px 10px;
   
  }


  .win {
    font-size: 8px;
    
  }

.special-button:hover {
  background-color: #ffaa00;
}



  .special-button span {
    display: none;
  }

  .special-button i {
    display: inline;
  }
  a.fighter-link {
  color: inherit;           /* Inherits text color from parent */
  text-decoration: none;    /* Removes underline */
  font-weight: inherit;     /* Optional: match surrounding font */
}


  .fighter-side {
    width: 40%;
    gap: 6px;
  }

  .fighter-column {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }



  .fighter-name {
    font-size: 1.7rem;
    min-width: unset;
      text-align: center;
    
  }

  .fighter-record {
    font-size: 0.9rem;
  }

 

  .vs-center {
    width: 15%;
  }

  .weight-class {
    font-size: 0.9rem;
  }

  .vs-label {
    font-size: 1.5rem;
  
  }

  .vs-button {
    font-size: 0.55rem;
    padding: 5px 10px;
    width: 50px;
    margin: 4px auto;
  }
  
 .fighter-img-container {
  position: relative;
   display: block;
  width: 100%;
  height:100%;
  overflow: hidden; /* or however wide your image is */
    display: block;
  padding-left:0; 
   padding-right: 0;/* 🔥 Remove extra space */
  margin: 0 auto;      /* Keep it horizontally centered */
  text-align: center;
  vertical-align: top; /* Align to top */
   border-radius: 12px;
  overflow: hidden;
}
  
  .fighter-img-container img {
  width: 100%;
  height:100%;
 padding-top: 0px

}
  
.fighter-img-container .win {
  position: absolute;
  top: 10px;
  right: 8px;
 
  width: 15px;
  height: 15px;
  font-size: 8px;
 line-height: 15px;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}
.fighter-img-container .flag-icon {
  position: absolute;
  top:13px;
  left:8px;

  width: 16px;
  height: 11px;
  z-index: 2;

}

.btn4 {

 height: 25px;
 
}
.event-title {
  font-weight: 700;
  font-size: 14px;
}

.event-location {
  font-size: 12px;
  color: #87ceeb;
}

.event-date {
  font-size: 12px;
  color: #ccc;
}
.special-button1 {
font-size:0.8rem;
  background-color: var(--text2-color);
  color: var(--bg-body); /* Ensures readability */
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  
  text-align: center;
 gap:3%;
 margin: 10px auto 8px auto;  
}
.special-button:hover {
  background-color: #ffaa00;
}

.youtube-wrapper iframe {
  width: 92%;

  height:300px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  
}

 
 
.prediction-fab-inline {
  width: 30px;
  height: 30px;
  
  font-size: 12px;
 
}

.fight-wrapper.has-prediction {
   margin-left: 10px;
   margin-right: 10px;
   margin-top:10px;
}
.video-label {
 
  font-size: 1.9rem;

}
h2.Upcoming-events {
  font-size: 1.4em;  /* 1.75 times the parent font size */
  margin-left: 2px;
}
.fight-wrapper{

 width:93%;

}
.event-wrapper {

   width:93%;
}

}
