@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

*,
*:after,
*:before {
    box-sizing: border-box;
}

:root {
    --color-text-primary: #1c2a38;
    --color-text-secondary: #8A8F98;
    --color-text-alert: #d72641;
    --color-text-icon: #dbdade;
    --color-bg-primary: #fff;
    --color-bg-secondary: #f3f5f9;
    --color-bg-alert: #fdeaec;
    --color-theme-primary: #623ce6;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
}

strong {
    font-weight: 600;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    color: var(--color-text-primary);
    background-color: var(--color-bg-secondary);
}


.match {
    background-color: var(--color-bg-primary);
    display: flex;
    flex-direction: column;
    padding: 0px; /* Remove default padding */
    margin: 0 auto; /* Center the container horizontally */
    font-size: calc(1vw + 1vh);
    max-width: none; /* Allow container to grow beyond standard grid columns */
    /*width: calc(100.33% - 20px); /* Adjust this value as needed */
    margin-bottom: 30px; /* Margin between containers */
    margin-right: 20px;
    border-radius: 38px;
    border-width: 10px;
   /* padding: 20px; /* Increased padding for vertical size */
    box-shadow: 0 0 2px 0 rgba(48, 48, 48, 0.1), 0 4px 4px 0 rgba(48, 48, 48, 0.2);
}

.match-header {
    /*padding: 16px;*/
    border-bottom: 1px solid rgba(38, 38, 38, 0.1);
}

.match-status {
    background-color: var(--color-bg-alert);
    color: var(--color-text-alert);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: calc(1vw + 1vh);
    display: flex;
    align-items: center;
    line-height: 1;
    margin-right: auto;
}

.match-status:before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: 8px;
}

.match-tournament img {
    width: 20px;
    margin-right: 12px;
}

.match-actions {
    display: flex;
    margin-left: auto;
}

.btn-icon {
    border: none;
    background-color: transparent;
    color: var(--color-text-icon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-content {
    display: flex;
    position: relative;
}

.column {
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100%/3);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-logo {
    font-size: calc(1vw + 1vh);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-primary);
    box-shadow: 0 4px 4px 0 rgba(48, 48, 48, 0.15), 0 0 0 15px var(--color-bg-secondary);
}

.team-logo img {
    width: 50px;
}

.team-name {
    text-align: center;
    margin-top: 24px;
    font-size: calc(1vw + 1vh);
    font-weight: 600;
}

.match-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-date,
.match-referee {
    white-space: nowrap; /* no return text to new line*/
    color: var(--color-text-secondary);
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%; /* Ensure the text doesn't overflow its container */
}

.match-date strong {
    color: var(--color-text-primary);
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%;
}

.match-score {
    margin-top: 12px;
    display: flex;
    align-items: center;
}

.match-score-number {
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}

.match-score-number--leading {
    color: var(--color-theme-primary);
}

.match-score-divider {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-icon);
    margin-left: 10px;
    margin-right: 10px;
}

.match-time-lapsed {
    color: #DF9443;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.match-referee {
    margin-top: 12px;
}

.match-bet-options {
    display: flex;
    margin-top: 8px;
    padding-bottom: 12px;
}

.match-bet-option {
    margin-left: 4px;
    margin-right: 4px;
    border: 1px solid var(--color-text-icon);
    background-color: #F9F9F9;
    border-radius: 2px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
}

.match-bet-place {
    position: relative;
    bottom: -170px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    background-color: inherit;
    border-radius: 9px;
    padding: 4px 7px;
    font-size: 14px;
    box-shadow: 0 4px 8px 0 rgba(48, 48, 48, 0.25);
}

.container-fluid {
  padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
}

@media (max-width: 992px) {
    .match {
        padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
    }
}

@media (max-width: 576px) {
    .match {
         padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
    }
}

/* new custom css */
/* This CSS rule targets the .match class, which represents each individual container within the .container-fluid class.*/
.container-fluid > .match:hover {
    transition: transform 0.8s ease-in-out;
    transform: scale(1.06);
}

.container-fluid > .match:not(:hover) {
    transition-duration: 0.8s; /* Adjust the duration for the reverse transition */
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; /* Adjust the margin between rows */
}

.match-watch-live-match {
    
  background-color: #2ECC71; /* Green color */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  position: relative; /* Needed for effects */
  animation: pulse 0.3s ease-in-out infinite alternate;
    
}

.match-watch-live-match::before {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Bottom shadow for elevation */
.match-watch-live-match::after {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* match available and unavailable */
.match-watch-live-match .available {
    /* Styles for enabled button */
    background-color: green;
    color: white;
}

/* Basic shadow for 3D appearance */
.match-watch-live-match::before,
.match-watch-live-match::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

/* Animation for pulsing effect */
@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15);
  }
}

.unavailable {
    /* Styles for disabled button */
    background-color: gray;
    color: white;
    animation: none !important;
}

/* this an override of bootstrap css btn */
.btn.btn-info.btn-sm {
    /* Add your custom styles here */
    /* Example: */
    white-space: nowrap; /* no return text to new line*/
    position:absolute;
    font-size: 16px; /* Adjust font size to resize the button */
    line-height: 1.5; /* Adjust line height to resize the button */
    width:122px; /* specify the desired width */;
    height:45px; /* specify the desired height */;
    transform: translate(-48px, -34px);
    cursor: pointer;
}

/* Default styles for the button */
.btn.btn-info {
     /* Example: */
    white-space: nowrap; /* no return text to new line*/
    position:absolute;
    font-size: 16px; /* Adjust font size to resize the button */
    line-height: 1.5; /* Adjust line height to resize the button */
    width:122px; /* specify the desired width */;
    height:45px; /* specify the desired height */;
    transform: translate(-18px, 14px);
}

/* this an override of bootstrap css btn */
.btn.btn-warning.btn {
    white-space: nowrap; /* no return text to new line*/
    width:122px; /* specify the desired width */;
    height:45px; /* specify the desired height */;
    transform: translate(-2px, 141px);
}

/* Target the status class within .match-header */
.match-header .status {
  font-size: 24px;
  padding: 41px;
  display: inline-block;
  border-radius: 5px;
}

.btn.btn-info.btn-sm {
    
    position:absolute;
    transform: translate(223px, -35px);
}

/* Style for live status */
.Live {
  color: #00bc00;
  animation: live-blink 1s infinite alternate;
  transform: translate(-37px, -47px);
}

/* Style for upcoming status */
.Upcoming {
  color: #18c950;
  transform: translate(-37px, -47px);
}

/* Apply animation to the content after upcoming status */
.Upcoming::after {
  content: "...";
  position: absolute;
  animation: dots 1s infinite;
}

@media only screen and (max-width: 767px) {
  /* Styles for screens smaller than 768px */
  .container-fluid {
  padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* Styles for screens between 768px and 991px */
  .container-fluid {
  padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* Styles for screens between 992px and 1199px */
  .container-fluid {
  padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
  }
}

@media only screen and (min-width: 1200px) {
  /* Styles for screens wider than 1200px */
  .container-fluid {
    /* Adjust specific properties here if needed */
  padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
  }
}

/* Keyframes for live status blinking animation */
@keyframes live-blink {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Keyframes for dots animation after upcoming status */
@keyframes dots {
  0% { content: "..."; }
  33% { content: ".."; }
  66% { content: "."; }
  100% { content: ""; }
}

@media (max-width: 992px) {
    .match {
         padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
    }
}

@media (max-width: 576px) {
    .match {
        padding: 0px; /* Remove default padding */
  margin: 0 auto; /* Center the container horizontally */
  width: 100%; /* Ensure it fills the available width */
  max-width: none; /* Allow container to grow beyond standard grid columns */
    }
}

/* Custom CSS to adjust the layout */
.match-header {
    padding: 10px; /* Add padding for spacing */
}

.match-tournament img {
    width: 20px; /* Adjust the image size if needed */
    margin-right: 12px;
}

.status {
    font-weight: bold; /* Adjust font weight if needed */
}

.notification-text {
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%; /* Ensure the text doesn't overflow its container */
}

.additional-btn {
    margin-top: 10px; /* Add margin to the top for spacing */
}

@media (max-width: 768px) {
    .match-header .col-md-2,
    .match-header .col-md-6,
    .match-header .col-md-2 {
        width: 100%; /* Set columns to full width on smaller screens */
        margin-bottom: 10px; /* Add margin between columns */
        text-align: center; /* Center align content on smaller screens */
    }

    .match-tournament img {
        margin-right: 0; /* Remove margin for smaller screens */
    }
}

/* Custom CSS to center align content within the match tournament column */
.match-header .match-tournament {
    display: flex;
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    margin-bottom: 10px; /* Adjust margin as needed */
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%; /* Ensure the text doesn't overflow its container */
}

.live_is_ended {
  color: #999; /* Gray color for ended status */
  font-style: italic; /* Italicize the text */
 /* text-decoration: line-through; /* Add a line-through decoration */
}


/* Center the countdown timer */
#countdown {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-top: 50px;
    animation: blink 1s linear infinite;
}



@keyframes blink {
  from, to {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Center the countdown timer for each countdown element  CSS to elements with IDs starting with "countdown_" followed by any number, you can use attribute selectors in CSS. Here's how you can do it:*/
[id^="countdown_"] 
 
/* Add more countdown IDs as needed */
{
    text-align: center;
    color: #333;
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    font-weight: bold;
    margin-top: 50px;
    animation: blink 1s linear infinite;
}

/* Define animation for blinking effect */
@keyframes blink {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

 /* Style the button */
   .scroll-link {
      background-color: #007bff; /* Blue background color */
    color: #fff; /* Text color (white) */
    padding: 10px 20px; /* Padding for content */
    border-radius: 5px; /* Rounded corners */
    border: 1px solid #0056b3; /* Border color (slightly darker blue) */
    }   
    
/* Hide website fields from the comment form */
#url.form-control {
    display: none;
}

label[for="url"] {
    display: none;
}

/* hidden element 3alanchseo  */

#my-teams-left-menu,
#category-left-menu,
.left_menu_categories_seo,
#left_menu_content {
    display: none;
}

#h2video {
    display: none;
    visibility: hidden;
}

#h3video {
    display: none;
    visibility: hidden;
}

/* video player */

  .video-container {
    position: relative;
    width: 100%;
    /* Set a fixed aspect ratio, e.g., 16:9 */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100%) */
  }
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
/* override bootstrap btn css with custom css class*/    
.my-custom-btn.btn-primary {
    
    border-radius: 1.5rem;
    font-size: 1.55rem;
}

/* custom class that overwrite the bootstrap btn css this class name must follow the bootstrap class in html element */
.match-info-btn.btn-info {
    
    border-radius: 0.5rem;
    font-size: 0.75rem;
    
}


/** injuries template */

@media (max-width: 767px) {
    /* Example style adjustments for mobile devices */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }
    table {
        font-size: 14px;
        /* Adjust other styles as needed */
    }
}

  /* Custom CSS for table layout */
        .vertical-divider {
            border-right: 1px solid #dee2e6;
        }

        /* Custom CSS for background colors */
        .team-a {
            background-color: #d4edda; /* Green light background */
        }

        .team-b {
            background-color: #f8d7da; /* Red light background */
        }

/* Customize modal styles */
/* Custom modal content class */
.custom-modal-content {
    max-width: 90%; /* Set maximum width for the modal content */
    height: 80vh; /* Set height of modal content to 80% of viewport height */
    overflow-y: auto; /* Enable vertical scrolling if content exceeds height */
    padding: 20px; /* Add padding inside the modal content */
}

.event-date,
.match-referee {
    white-space: nowrap; /* no return text to new line*/
    color: black;
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%; /* Ensure the text doesn't overflow its container */
    font-weight: bold; /* Make the text bold */
}

.event-date strong {
    color: var(--color-text-primary);
    font-size: calc(1vw + 1vh); /* Adjust the font size based on viewport width and height */
    max-width: 100%;
    font-weight: bold; /* Make the text bold */
}

/* Responsive adjustments (optional) */
@media (max-width: 768px) {
  .event-date {
    font-size: 0.9rem; /* Slightly smaller font on smaller screens */
    padding: 0.4em 0.8em; /* Adjust padding for better spacing */
    width: auto; /* Ensures the element doesn't overflow in smaller viewports */
    display: inline-flex; /* Keeps the text on one line while adjusting size */
    justify-content: center; /* Centers the text inside the element */
    text-align: center; /* Ensures the text is centered */
  }
}

/* iframe chat */

/* Default styles for iframe with id iframechat */
#iframechat {
    width: 100%; /* Set iframe width to 100% of its container */
    height: 712px; /* Default height for iframe */
    border: 1px solid #ccc; /* Add border to iframe */
}

/* Media query for small devices (e.g., smartphones) */
@media only screen and (max-width: 768px) {
    #iframechat {
        height: 350px; /* Adjust height for small devices */
    }
}

/* Media query for medium devices (e.g., tablets) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #iframechat {
        height: 500px; /* Adjust height for medium devices */
    }
}

/* Media query for large devices (e.g., desktops) */
@media only screen and (min-width: 1025px) {
    #iframechat {
        height: 600px; /* Adjust height for large devices */
    }
}
