[dir="ltr"] * {
  font-family: 'Nunito', 'Roboto', sans-serif;
}

[dir="rtl"] * {
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #02080C; 
}

#maincontent {
    display: none;
}

.background-image {
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/main_bg-2.webp'); /* Path to your background image */
    background-size: cover; /* Cover the whole screen */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    z-index: 1;
}

.background-image::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.0); 
}

.content {
    position: relative; /* Relative positioning */
    z-index: 1; /* Above the background image */
    padding: 10px; /* Add some padding around your content */
    height: 100%; /* Full height */
 }

.header-text {
    color: #3e5055; 
    text-align: center;
    z-index: 1;
    position: relative;
    padding-top: 50px; 
}

.sub-header-text {
    color: #3e5055; 
    text-align: center;
    z-index: 2;
    position: relative; 
}

#myAccountLink {
display: none;
}

#gameLink {
display: none;
}

#generateLink {
display: none;
}

.centered-image {
    max-width: 100%;
    height: auto;
    z-index: 2;
  display: flex;
  justify-content: center;
text-align: center;
}


.centered-image img {
    opacity: 0;
    visibility: hidden;
    max-width: 100%;
    height: auto;
}

@keyframes zoomBounce {
    0% {
        animation-timing-function: ease-out;
        transform: scale(0);
    }
    25%, 55%, 85%, 100% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }
    40% {
        animation-timing-function: ease-in;
        transform: scale(1.4);
    }
    70% {
        animation-timing-function: ease-in;
        transform: scale(1.2);
    }
    90% { transform: scale(1.1) }
}

@keyframes slideInFromRightImage {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomInImage {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.carousel {
 z-index: 2;
    position: relative;
}

.carousel-text {
    font-size: 20px; 
    text-align: center;
    padding: 10px;
    color: #fc0;
    font-weight: bold;
}

.carousel-indicators li {
    background-color: white; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    text-indent: -999px; 
}

.carousel-indicators-howto li {
    background-color: white; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    text-indent: -999px; 
}

.carousel-indicators .active {
    background-color: red; 
}

.carousel-indicators-howto .active {
    background-color: red; 
}

.carousel-indicators [data-bs-target] {
    height: 10px;
    width: 10px; 
}

.carousel-indicators-howto [data-bs-target] {
    height: 10px;
    width: 10px; 
}

.carousel-indicators {
    list-style: none; 
    padding: 0; 
    bottom: -15px;
}

.carousel-indicators-howto {
    list-style: none; 
    padding: 0; 
    bottom: -45px;
}

.carousel-image {
marging: auto;
position: relative;
width: 100%;
max-width: 500px;
}

.form-container {
    text-align: center;

    z-index: 2;
    position: relative;
}

.form-container input[type="tel"], .form-container input[type="text"], .form-container button {
width: 100%;    
max-width: 600px; 
    padding: 10px;
    margin: 10px auto; 
    display: block; 
    border-radius: 30px;
}

.form-container input[type="tel"], .form-container input[type="text"] {
    border: 1px solid #ddd;
    text-align: center; 
}

.form-container button {
    background-color:  #fc0; 
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px; 
}

.form-container button:hover {
    background-color: 	#FFD700; 
}

.gen-container button {
    background-color:  #D2042D; 
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    width: 100%;    
    max-width: 600px; 
    padding: 10px;
    margin: 10px auto; 
    display: block; 
    border-radius: 30px;
}

.gen-container button:hover {
    background-color: 	red; 
}


.terms-and-conditions {
    text-align: center;
    z-index: 2;
    position: relative;
}

.terms-and-conditions a {
    color: white; 
    text-decoration: none;
}

.terms-and-conditions a:hover {
    text-decoration: underline; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carousel-appear {
    opacity: 1; 
    visibility: hidden; 
}

.carousel-appear.active {
    animation: bounce-in-up 1s ease forwards;
    visibility: visible; 
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.gen-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
}

.gen-appear.active {
    animation: slideInFromRight 1s ease-out forwards;
    visibility: visible;
}


.form-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
}

.form-appear.active {
    animation: slideInFromLeft 1s ease-out forwards;
    visibility: visible;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-appear .button-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

.form-appear.active .button-appear {
    animation: slideInFromRight 1s ease-out forwards;
    visibility: visible;
}

@keyframes slideUpFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.text-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
}

.text-appear.active {
    animation: slideUpFromBottom 1s ease-out forwards;
    visibility: visible;
}

@keyframes fadeInHeader {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-text-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.header-text-appear.active {
    animation: fadeInHeader 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-header-text-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.sub-header-text-appear.active {
    animation: slideInFromRight 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.navbar {
    width: 100%;
    z-index: 3; 
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 20px; 
}

body.nav-open {
  overflow: hidden;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

    .nav-item {
opacity: 1;
margin-right: 12px;
margin-top: 20px;
margin-left: 12px;
    }

.nav-item a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-item i {
    margin-right: 10px; 
}

.nav-item a:hover {
    color: #228B22;
}

.burger {
    display: none;
    cursor: pointer;
    margin-top: 15px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.burger .line1,
.burger .line2,
.burger .line3 {
    background-color: white;
}

@media screen and (max-width: 1500px) {
  .burger {
    display: block;
  }
}

@media screen and (max-width: 1500px) {
  .nav-list {
    position: fixed;
    height: 100vh;
    top: 0;
    background: rgba(28, 115, 28, 0.95);
    flex-direction: column;
    align-items: start;
    width: 60%;
    max-width: 300px;
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
  }

  .nav-list li:first-child {
    margin-top: 60px;
  }

  /* LTR: hidden off-screen to the left by default */
  html[dir="ltr"] .nav-list {
    left: 0;
    right: auto;
    transform: translateX(-100%);
border-radius: 0rem 1.5rem 1.5rem 0rem;
  }

  /* RTL: hidden off-screen to the right by default */
  html[dir="rtl"] .nav-list {
    right: 0;
    left: auto;
    transform: translateX(100%);
border-radius: 1.5rem 0rem 0rem 1.5rem;
  }

  /* When active: slide in */
  html[dir="ltr"] .nav-list.nav-active {
    transform: translateX(0);
  }

  html[dir="rtl"] .nav-list.nav-active {
    transform: translateX(0);
  }
}

.nav-active {
    transform: translateX(0);
    z-index: 6;
}

.burger-toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-toggle .line2 {
    opacity: 0;
}

.burger-toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes rollDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hidden {
    display: none;
}

@media screen and (min-width: 1301px) {
  .navbar {
    display: flex;
    align-items: flex-start;    /* stick children (logo, burger, nav-list) to the top */
    justify-content: space-between; /* spread logo on one side, menu on the other */
  }

  /* if you want a little breathing room above the logo: */
  #logo {
    margin-top: 1rem;
  }
}

.hiddenbtn {
    display: none !important;
}

.btn-goback {
    z-index: 2;
    position: relative;
    margin: auto;
    max-width: 460px;
    width: 95%;
    border-radius: 15px;
    top: 25px;
}

.btn-goback-gen {
    width: 70%;
    z-index: 2;
    position: relative;
    margin: auto;
    max-width: 400px;
    border-radius: 20px;
    top: 25px;
}


.go-back-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    margin-bottom: 20px;
}

.go-back-appear.active {
    animation: slideInFromLeft 1s ease-out forwards;
    visibility: visible;
}

.white-box {
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.43;
    letter-spacing: normal;
    color: #000;
    padding: 5px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 0 15px;
}

@keyframes bounce-in-up {
  0% {
    opacity: 0;
    transform: translateY(2000px);
  }
  60% {
    opacity: 1;
    transform: translateY(-30px);
  }
  80% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

.prizes {
z-index: 2;
position: relative;
max-width: 800px;
width: 95%;
}

.prizes-appear {
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
}

.prizes-appear.active {
    animation: bounce-in-up 1s ease forwards;
    visibility: visible;
}

.table-winners {
font-size: 0.8rem;
    border-radius: 10px;
    overflow: hidden; 
max-width: 600px;
margin: auto;
}


@media (min-width: 768px) {
  .table-winners {
font-size: 1rem; 
 }
  }

.no-top {
top: 0;
}

.winners-appear {
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
}

.winners-appear.active {
    animation: bounce-in-up 1s ease forwards;
    visibility: visible;
}

.terms {
z-index: 2;
position: relative;
max-width: 800px;
margin: auto;
width: 95%;
background: rgba(0, 0, 0, 0.3);
color: white;
}

.accordion {
z-index: 2;
position: relative;
max-width: 800px;
margin-top: 20px;
width: 100%;
}

.accordion-item {
    margin-bottom: 20px;
}


.accordion-item {
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
}

.accordion-header {
    margin-bottom: 10px;
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
}

.accordion-button {
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
}


.accordion-button:focus {
    z-index: 2;
    border-color: white;
    outline: 0;
    box-shadow: unset;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: white;
    box-shadow: unset;
}

@keyframes rollDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.accordion-appear {
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
}

.accordion-appear.active {
    animation: bounce-in-up 1s ease forwards;
    visibility: visible;
}




.profile-container {
margin-top: 20px;
    width: 100%; 
    justify-content: center; 
    display: block;
}

.profile-container-appear {
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
}

.profile-container-appear.active {

    animation: bounce-in-up 1s ease forwards;
    visibility: visible;
}

       .upper{

        height: 100px;

       }

       .upper img{

        width: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;

       }

       .user{
        position: relative;
       }

       .profile img{

        
        height: 80px;
        width: 80px;
        margin-top:2px;

       
       }

.profile-pic {
position: relative;
top: -20px;
}

       .profile{

        position: absolute;
        top:-50px;
        left: 38%;
        height: 90px;
        width: 90px;
        border:3px solid #fff;

        border-radius: 50%;

       }

       .follow{

        border-radius: 15px;
        padding-left: 20px;
        padding-right: 20px;
        height: 35px;
  width: 80%;
  margin-bottom: 10px; // Add some space between the buttons
  display: block;
  margin-left: auto;
  margin-right: auto;

       }

       .stats span{

        font-size: 29px;
       }


        .custom-box {
            background-color: black;
	    color: white;
            border-radius: 10px;
            padding: 5px;
            margin-top: 60px;
            max-width: 250px;
            margin-left: auto;
            margin-right: auto;
        }

        .index-header {
             margin-top: 60px;
        }


        .custom-title {
            font-weight: bold;
	    color: white;
            margin-right: 10px; 
        }

   .box-item {
            margin: auto;
  text-align: center;
}



.home-header-text {
    color: white; 
    text-align: center;
    z-index: 2;
    position: relative;
    padding-top: 10px; 
}

.home-header-text-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.home-header-text-appear.active {
    animation: slideInFromRight 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.custom-box-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.custom-box-appear.active {
    animation: fadeInHeader 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#countdown {
    width: 80px; /* Updated width */
    height: 80px; /* Updated height */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#countdownCircle {
    /* Update the circumference calculation based on the new radius */
    stroke-dasharray: 220; /* Approximately 2 * Math.PI * 35 */
    stroke-dashoffset: 0; /* Start with a full offset (no circle visible) */
    transition: stroke-dashoffset 1s linear; /* Transition over 5 seconds for the countdown */
}

#countdownText {
font-size: 20px;
color: white;
 fill: white;
}

.pregame-header-text {
    color: white; 
    text-align: center;
    z-index: 2;
    position: relative;
    padding-top: 50px; 
}

.pregame-header-text-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.pregame-header-text-appear.active {
    animation: fadeInHeader 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(0px); }
    to { opacity: 1; transform: translateY(0); }
}

.countdown-appear {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
}

.countdown-appear.active {
    animation: fadeIn 1s ease-out;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}


.pregame-row-appear {
    opacity: 0;
    visibility: hidden;
    max-width: 400px;
    margin: auto;
}

.pregame-row-appear.active {
    animation: fadeInUp 500ms;
    opacity: 1;
    visibility: visible;
    max-width: 400px;
    transform: translateY(0);
    margin: auto;
}

.pregame-star {
margin: auto;
position: relative;
}


#timer-container {
max-width: 400px;
margin: auto;
}

.progress-bar {
    background-color: black;
  width: 50%;
}

.score-icon-size i {
    font-size: 100px; /* This controls the size of the icon */
    height: 100px; /* This ensures the icon container is 50px */
    display: inline-flex; /* This helps in vertically centering the icon if needed */
    align-items: center; /* This vertically centers the icon */
        margin-top: 20px;     /* Add top margin */
    margin-bottom: 20px;  /* Add bottom margin */
}

.question-container {
    width: 100%;
    height: 120px;
  margin: auto;
  vertical-align: middle;
max-width: 500px;
}

.game-container {
    display: none;
}

.game-container {
    width: 100%;
    height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
	 /* Horizontal offset, vertical offset, blur radius, spread radius, color */
max-width: 600px;
z-index: 4;
}

.action-btn {
  width: 70%;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  max-width: 400px;
}

.gen-btn {
    z-index: 2;
    position: relative;
    margin: auto;
    max-width: 460px;
    width: 95%;
    border-radius: 15px;
    top: 25px;
}


.bg-custom {
    background-color: #FFFFF5 !important;
}

.answer-btn {
  width: 80%;
  margin-bottom: 10px; // Add some space between the buttons
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: #DB810B;
border-color: #DB810B;
  color: #FFFFF5;
  border-radius: 20px;
max-width: 400px;
}

   .btn.btn-primary.answer-btn:focus,
   .btn.btn-primary.answer-btn:hover,
   .btn.btn-primary.answer-btn:active,
   .btn.btn-primary.answer-btn:disabled    {
        background-color: #FFFFF5;
        color: #DB810B;
        border-color: #DB810B;
    }

  .btn.btn-primary.normal-button {
        background-color: #DB810B;
        color: #FFFFF5;
        transition: all .7s;
        border-color: #DB810B;
    }
   .btn.btn-primary.normal-button:hover,
   .btn.btn-primary.normal-button:focus,
   .btn.btn-primary.normal-button:active,
   .btn.btn-primary.normal-button:disabled    {
        background-color: #FFFFF5;
        color: #DB810B;
        border-color: #DB810B;
    }


   .btn.btn-primary.action-btn {
        background-color: black;
        color: white;
        border-color: black;
    }
   .btn.btn-primary.action-btn:hover,
   .btn.btn-primary.action-btn:focus,
   .btn.btn-primary.action-btn:active,
   .btn.btn-primary.action-btn:disabled    {
        background-color: white;
        color: black;
        border-color: black;
    }

.yellow-box {
    background-color: #E0AE0D; 
    padding: 5px; 
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: white;
font-weight: bold;
}

.number-container {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.number-container li {
    margin: 0 4px;
    padding: 4px 9px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.number-container li.current {
    background-color: black;
    color: white;
    border-color: black;
}


@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.heartbeat {
    animation: heartbeat 1s ease-in-out;
}



.bg-result {
  background: #007ebb;
}

.animated-score {
  font-size: 2rem;
  transition: transform 0.5s ease-in-out;
}

.animated-score.scale-up {
  transform: scale(1.5);
}

.submit-btn-container {
padding-bottom: 10px;
}


::-webkit-scrollbar {
    width: 0px; /* Adjust the width of the scrollbar */
    height: 0px;
}

::-webkit-scrollbar-track {
    background: #2e2e2e; /* Dark track/background */
}

::-webkit-scrollbar-thumb {
    background: #555; /* Darker thumb */
    border-radius: 6px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #888; Slightly lighter thumb on hover */
}

.audio-player {
    margin-top: 10px;
    width: 100%;
}

#equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    width: 100%;
    background: #111;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.equalizer-bar {
    width: 10px;
    background: linear-gradient(to top, #34eb43, #4caf50);
    margin: 0 3px;
    border-radius: 4px;
    transition: height 0.2s ease-in-out; /* Smooth height transition */
}

#timer-bar {
    transition: width linear;
    width: 100%; /* Initial full width */
}

@keyframes flash-border-yellow {
  50% {
    -webkit-box-shadow: 0 0 10px 5px yellow;
    box-shadow: 0 0 10px 5px yellow; 
  }
}

@keyframes flash-text {
  50% {
    color: yellow;
  }
}

.flashing-border-yellow {
  animation: flash-border-yellow 1.5s infinite;
  border-width: 2px;
  border-style: solid;
}

.flashing-text {
  animation: flash-text 1.5s infinite;
}


@keyframes genfadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.generate-appear {
    opacity: 1;
    visibility: hidden;
}

.generate-appear.active {
    animation: genfadeIn 1s ease-in;
    visibility: visible;
}

.beta-tag {
    background-color: #FF0000; /* Yellow background */
    color: white; /* Dark text for contrast */
    font-size: 0.8rem; /* Smaller font size */
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px; /* Space between the link and the tag */
    font-weight: bold;
    text-transform: uppercase; /* Make it uppercase */
    letter-spacing: 0.5px; /* Optional: add spacing between letters */
}

/* Optional: change color on hover for the Beta tag */
.nav-item a:hover .beta-tag {
    background-color: #ffcc00; /* Slightly darker yellow on hover */
}

.my-6 {
    margin-top: 4rem!important;
    margin-bottom: 3rem!important;
}

.ref-btn {
    width: 75%;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    max-width: 400px;
}

   .btn.btn-primary.ref-btn {
        background-color: black;
        color: white;
        border-color: black;
    }
   .btn.btn-primary.ref-btn:hover,
   .btn.btn-primary.ref-btn:focus,
   .btn.btn-primary.ref-btn:active,
   .btn.btn-primary.ref-btn:disabled    {
        background-color: white;
        color: black;
        border-color: black;
    }

@keyframes flash-border {
  50% {
      -webkit-box-shadow: 0 0 5px 3px red;
      box-shadow: 0 0 6px 3px red;
  }
}

.flashing-border {
  animation: flash-border 1.5s infinite;
  border-width: 2px;
  border-style: solid;
}

.btn-link:hover {
    color: white;
}

  .btn-outline-light {
    font-weight: 600;
    border-width: 2px; 
  }

.modal-footer-center {
display: block;
}

.text-theme {
color: #007ebb;
}

    .header {
      background-color: #ffffff;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #dee2e6;
    }
    .header h1 {
      font-size: 1.5rem;
      margin: 0;
    }
    .greeting {
      text-align: center;
      margin: 1rem 0;
    }
    .greeting h2 {
      font-weight: bold;
    }
    .greeting p {
      font-style: italic;
      color: #6c757d;
    }



.subscription-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  color: white; 
  overflow: hidden;
}

.subscription-status::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg.webp') no-repeat center center;
  background-size: cover;
  z-index: 0;
  opacity: 0.95; /* Adjust as needed */
}

.subscription-status > * {
  position: relative;
  z-index: 1;
}

    .subscription-status span {
      color: white;
      font-weight: bold;
    }
    .dashboard {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }



.tile {
  position: relative;
  overflow: hidden;
  padding: 0.6rem;
  text-align: center;
  border-radius: 1rem;
  color: white; 
}

.tile::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); /* Gradient at 45-degree angle */
  z-index: 0;
}

.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg.webp') no-repeat center center;
  background-size: cover;
  z-index: -1;
  opacity: 0.95;
}


.tile > * {
  position: relative;
  z-index: 1;
}
    .tile h3 {
      margin: 0;
      font-size: 2rem;
      font-weight: bold;
    }
    .tile p {
      margin: 0.5rem 0;
      color: #6c757d;
    }

.navbar-logo {
max-height: 40px;
margin-top: 1rem;
vertical-align: top;
}

.btn-outline-custom {
    color: #000080;
    border-color: #000080;
    min-width: 100px;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
    background-color: #000080;
    color: #fff;
}

.mt-6 {
  margin-top: 4rem !important;
}

.card-job-ads {
min-height: 60px;
  color: white; /* Set text font color */
  border-radius: 1rem; /* Round edges */
  background-color: #007ebb; /* Background color */
  border: none; /* Remove border for a cleaner look */
}

#job-ads-container {
max-width: 800px;
margin: 0 auto;
}

.container-width {
max-width: 800px;
margin: 0 auto;
}

.btn-width {
    min-width: 100px;
}

.btn-min-width {
    min-width: 300px;
}

.btn-max-width {
    max-width: 250px;
}

.bg-theme {
    background-color: #E9F5FE;
}

.text-orange {
    color: #d95f02;
}


.card-custom {
  color: white; /* Set text font color */
  border-radius: 1rem; /* Round edges */
  background-color: #007ebb; /* Background color */
  border: none; /* Remove border for a cleaner look */
  padding: 1rem; /* Add padding for better spacing */
}


.modal-header-no-border {
border-bottom: 0;
}

.modal-footer-no-border {
border-top: 0;
}

.tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0; 
}

.tile h4, .tile h5 {
  position: relative;
  z-index: 2; /* Ensure text is above the icon */
}

.icon-heading {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.icon-top {
  font-size: 3rem !important;
  color: #FFD700;
}

.text-group {
  display: flex;
  flex-direction: column;
}

.tile button {
  position: relative;
  z-index: 3; 
}

sp {
  color: #32CD32;
}

.btn-orange {
    background-color: #d95f02;
    border: 2px solid white;
    color: white;
}

.training-btn {
    border: 2px solid white; /* White border */
    color: white;
}


.cover-btn {
    border: 2px solid white; /* White border */
    color: white;
}

.btn-orange:hover {
    background-color: #b45c01;
    border: 2px solid white; /* White border on hover */
    color: white;
}

.btn-blue {
    background-color: #007ebb;
    border: 2px solid white; /* White border */
    color: white;
}

.btn-blue:hover {
    background-color: #006a9d; /* Darker shade for hover */
    border: 2px solid white;
    color: white;
}


.chevron-indicator {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.modal.modal-bottom .modal-dialog {
  margin: 0;
  width: 100%;
  max-width: 800px;
  transition: transform 0.3s ease-out;
  /* remove: position: fixed; bottom: 0; */
}

.modal.modal-bottom .modal-content {
  border-radius: 15px 15px 0 0;
  display: flex;
  flex-direction: column; 
  overflow: hidden;
}

/* Scrollable Body */
.modal.modal-bottom .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(100vh - 200px); /* Adjust as needed */
  margin: 0;
  padding: 1rem;
}

/* Initial Hidden State */
.modal.modal-bottom.fade .modal-dialog {
  transform: translateY(calc(100% + 80px));
}

/* Visible State */
.modal.modal-bottom.show .modal-dialog {
  transform: translateY(0);
}

.bg-modal-body {
    background-color: #fcfcfd;
}

.bg-modal-title {
    background-color: #007ebb;
}

.modal.modal-bottom .modal-outer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.bg-modal-footer {
    background: linear-gradient(to bottom, #006ba3, #0093d6);
    background-color: #007ebb;
}

.min-height {
min-height: 400px;
}

.nav-item-small {
    margin-right: 0;
    margin-top: 0;
    margin-left: 0;
}

.custom-nav-tabs .nav-link {
  color: #d95f02 !important;
  border-radius: 999px;
}

.custom-nav-tabs .nav-link.active {
  background-color: #d95f02 !important;
  color: #ffffff !important;
  border-color: #d95f02 !important;
  border-radius: 999px !important;
  padding: 0.3rem 1rem !important;
}

.custom-nav-tabs {
  border-bottom: none !important;
}

.custom-nav-tabs .nav-link {
  border: none !important;
}


.job-logo {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f1f1f1;
}

    .text-italic {
      font-style: italic;
    }


.nav-item a i.material-icons-round {
  font-size: 22px; /* Match font height */
  vertical-align: top;
}

.back-arrow {
  font-size: 28px !important;
  vertical-align: middle;
}


.broadage-footer-logo {
display: none !important;
}

.widget {
 max-width: 1200px;
} 

.widgetnew {
 max-width: 800px;
} 


.broadage-widgets-body.broadage-match-center.broadage-soccer .broadage-sticky .sticky-inner-wrapper {
    z-index: 2 !important;
}

.broadage-widgets-body.broadage-livescore .broadage-sticky .sticky-inner-wrapper {
    z-index: 1 !important;
}

.broadage-widgets-body {
min-height: 1% !important;
}

.broadage-widgets-body.broadage-livescore-ticker .slick-slide {
    height: auto !important;
}

.broadage-widgets-body.broadage-livescore-ticker .broadage-content-wrapper.broadage-line-type-five .broadage-error-messages-container.broadage-error-message-block {
margin-left: 0px !important;
}

.nav-item a i.material-icons-round {
  font-size: 22px; 
  vertical-align: top;
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 20;
  background-color: #228B22;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, #228B22, transparent 20%);
  color: $ffffff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

.navbar .dropdown.open ul {
  display: block;
}

.navbar .dropdown ul {
  display: none;
}

.navmenu .dropdown a.active {
  background: none !important;
  color: inherit !important;
}

.material-icons {
direction: inherit !important;
}

html[dir="ltr"] .back-link-dir {
  left: 0;
}

html[dir="rtl"] .back-link-dir {
  right: 0;
  transform: rotate(180deg);
}


html[dir="ltr"] .question-link-dir {
  right: 0;
}

html[dir="rtl"] .question-link-dir {
  left: 0;
transform: scaleX(-1);
}


.avatar-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden; 
}

.avatar-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  border-radius: 12px;
}

.avatar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg1.webp') no-repeat center center;
  background-size: cover;
  z-index: -5;
  opacity: 0.95;
  border-radius: 12px;
}

.ranking-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden; 
}

.ranking-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  border-radius: 12px;
}

.ranking-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg2.webp') no-repeat center center;
  background-size: cover;
  z-index: -5;
  opacity: 0.95;
  border-radius: 12px;
}

.predictions-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden; 
}

.predictions-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  border-radius: 12px;
}

.predictions-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg2.webp') no-repeat center center;
  background-size: cover;
  z-index: -5;
  opacity: 0.95;
  border-radius: 12px;
}

.quiz-points-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden; 
}

.quiz-points-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  border-radius: 12px;
}

.quiz-points-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/tile_bg2.webp') no-repeat center center;
  background-size: cover;
  z-index: -5;
  opacity: 0.95;
  border-radius: 12px;
}

.rounded-dark-background {
  background-color: rgba(0, 0, 0, 0.2); 
  border-radius: 12px; 
}