.action-inner-wraper {
    background-color: rgb(255,255,255,0.4);
}

#toggleNavigationOffcanvas {
    display: none;
    
}

#offcanvasForm.offcanvas.offcanvas-bottom {
    height: 55vh !important;
}


#offcanvasForm .form-group {
    display: block;
}
    
    :root, [data-bs-theme=light] {

--bs-brand: #05B3B4;
}
    
    .btn-brand {
    --bs-btn-bg: #05B3B4;
    --bs-btn-border-color: #05B3B4;
    --bs-btn-hover-bg: #b1fcfd;
    --bs-btn-hover-border-color: #b1fcfd;
    --bs-btn-disabled-bg: #05B3B4;
    --bs-btn-disabled-border-color: #474a54;
    --bs-btn-active-bg: #55a6dd;
    --bs-btn-active-border-color: #3f9bd8;

}

#toggleAudio {
    background: #05B3B4 !important;
    }

.btn-primary {
    background: #05B3B4 !important;
    --bs-btn-border-color: #05B3B4;
}


.modal-header {
    background-color: #05B3B4; /* Brand color for the header */
    color: #fff; /* White text for contrast */
    padding: 20px; /* Adds space around the header */
    border-top-left-radius: 6px; /* Smooth corners on the top */
    border-top-right-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left; /* Align the title to the left */
    margin: 0;
}

.btn-close {
    color: #fff;
    opacity: 0.8; /* Makes the close button blend in a bit */
}

.btn-close:hover {
    opacity: 1; /* Full opacity on hover */
}

/* Modal Body Styling */
.modal-body {
    background-color: #f9f9f9; /* Light background color */
    padding: 30px; /* Adds padding for a cleaner layout */
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom-left-radius: 6px; /* Smooth corners on the bottom */
    border-bottom-right-radius: 6px;
}

.container-content {
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.blinking-circle {
    width: 10px;
    height: 10px;
    background-color: #05B3B4; /* Brand color */
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Button Styling */
#save-form-btn {
    background-color: #05B3B4 !important; /* Brand color */
    color: #fff;
    padding: 12px 24px; /* Adjusted padding for a better look */
    font-size: 1rem;
    font-weight: 600; /* Make the text bolder */
    border: none; /* Remove border */
    border-radius: 50px; /* Rounded button */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    display: flex;
    align-items: center;
    justify-content: center;
}

#save-form-btn i {
    display: none; /* Hide the icon */
}

#save-form-btn:hover {
    background-color: #048b8c; /* Slightly darker brand color on hover */
    transform: translateY(-2px); /* Lift effect on hover */
}

/* General button styling */
.toggle-audio {
    position: relative;
    background-color: #05B3B4; /* Blue background */
    border-radius: 50%; /* Make the button circular */
    width: 50px; /* Adjust width to make the circle */
    height: 50px; /* Adjust height to make the circle */
    border: none; /* Remove border */
    color: white; /* Text color */
    display: flex; /* Flex to center icon */
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Text above the button */
.toggle-audio::before {
    content: "Pusti zvuk"; /* Text content */
    font-size: 12px;
    color: #fff; /* White text */
    position: absolute;
    top: -20px; /* Position text above the button */
    left: 50%;
    transform: translateX(-50%); /* Center the text */
    white-space: nowrap; /* Prevent text from wrapping */
}

@media (max-width: 767px) {
    .action-inner-wraper {
        padding: 2px !important; /* Minimize padding */
        height: 40px !important; /* Reduce height */
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .action-inner-wraper .d-flex.justify-content-evenly {
        gap: 2px !important; /* Smaller gap between buttons */
    }

    .action-inner-wraper .action-btn {
        padding: 2px 3px !important; /* Reduce padding for buttons */
        font-size: 12px !important; /* Smaller font size for icons */
    }

    .action-inner-wraper i {
        font-size: 12px !important; /* Smaller icon size */
    }

    /* Additional CSS for the tooltip */
    .tooltip-wraper {
        margin: 0 !important; /* Remove extra margin around tooltip */
        padding: 0 !important;
    }
}



/* Additional media query for mobile view */
@media (max-width: 768px) {
    #form-modal {
        overflow-y: auto;
    }
}




.flip-card .card-back .answer-options {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
}

.flip-card .card-back .answer-options > * {
    width: 100%;
    font-size:10px !important;
    margin:0px !important;
    padding0px !important;
    min-height:auto;
}
#game-module-container > react-root > div > div.game-content > div > div.game-component-container > div > div > div > div > div.flip-card.flipped.flip-card-item > div > div.card-back > div > div.answer-options > button:nth-child(4)
{
    display:none;
}
.question-text
{
    font-size:12px !important
}

/*osvojili ste tekst*/
#game-module-container > react-root > div > div.game-content > div > div.game-component-container > div > div > div:nth-child(2)
{
    display:none;
}
#game-module-container > react-root > div > div.game-content > div > div.game-component-container > div > div > div:nth-child(1) > a{
    display:none;
}


/*
#game-module-container > react-root > div > div.game-content > div > div.text-center.mb-4
{
    display:none;
}*/
.game-end-screen
{
    display:none;
}

.current-game .text-center > a.btn.btn-primary {
  display: flex !important;
  align-items: center !important;       /* centriranje teksta vertikalno */
  justify-content: center !important;   /* centriranje teksta horizontalno */
  width: 90% !important;
  max-width: 600px;
  aspect-ratio: 16 / 9 !important;      /* zadrži proporciju 16:9 */
  margin: 0 auto !important;            /* centriraj dugme po X-osi */
  font-size: 2rem !important;
  text-align: center !important;
  white-space: normal !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
  padding: 0 2rem !important;           /* malo unutrašnjeg razmaka sa strane */
}

/* Responsive podešavanja */
@media (max-width: 600px) {
  .current-game .text-center > a.btn.btn-primary {
    width: 95% !important;
    font-size: 1.4rem !important;
  }
}


/*button zavrsio*/
#game-module-container > react-root > div > div.game-content > div > div.text-center.mb-3 > a
{
    position: relative;
  color: transparent !important;
}
#game-module-container > react-root > div > div.game-content > div > div.text-center.mb-3 > a::after {
  content: "Klikni i osvoji 10 poena";
  position: absolute;
  top: 0;
  left: 0;
  color: white; /* ili druga boja teksta po potrebi */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
    font-weight:bold;
}


/* Sakriva drugi .text-center.mb-4 unutar .current-game */
.current-game > .text-center.mb-4:nth-of-type(2) {
    display: none;
}

#form-modal > div > div > div.modal-body.pt-5.pt-lg-9 > div.container-content.px-0.px-lg-7.pt-2.basic > form > div.form-fields-inner-wraper.row.g-8 > div > div > label
{
    
    padding-bottom:20px 
}