.customAnswerIcon,
.customAnswerInputIcon {
    color: white;
    width: 50px;
    justify-content: center;
}

input.form-control {
    padding-right: calc(1.5em + .75rem);
}

.customAnswerIcon {
    display: inline;
    cursor: pointer;
}

.marked {
    border-color: rgba(40, 167, 69, 1) !important;
    box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5);
}

.bg-square-yellow {
    background-color: rgb(255, 201, 71);
}

.bg-circle-green {
    background-color: rgb(56, 202, 124);
}

.bg-star-sky {
    background-color: rgb(102, 195, 225);
}

.bg-heart-red {
    background-color: rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton.square-yellow .span-icon-wrapper {
    background-color: rgb(255, 201, 71);
    border: 1px solid rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.square-yellow .custom-answer-text {
    border: 1px solid rgb(255, 201, 71);
    color: rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.square-yellow.clicked .custom-answer-text {
    background-color: rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.circle-green .span-icon-wrapper {
    background-color: rgb(56, 202, 124);
    border: 1px solid rgb(56, 202, 124);
}

.runningQuizCustomAnswerButton.circle-green .custom-answer-text {
    border: 1px solid rgb(56, 202, 124);
    color: rgb(56, 202, 124);
}

.runningQuizCustomAnswerButton.circle-green.clicked .custom-answer-text {
    background-color: rgb(56, 202, 124);
}


.runningQuizCustomAnswerButton.star-sky .span-icon-wrapper {
    background-color: rgb(102, 195, 225);
    border: 1px solid rgb(102, 195, 225);
}

.runningQuizCustomAnswerButton.star-sky .custom-answer-text {
    border: 1px solid rgb(102, 195, 225);
    color: rgb(102, 195, 225);
}


.runningQuizCustomAnswerButton.star-sky.clicked .custom-answer-text {
    background-color: rgb(102, 195, 225);
}

.runningQuizCustomAnswerButton.heart-red .span-icon-wrapper {
    background-color: rgb(235, 87, 87);
    border: 1px solid rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton.heart-red .custom-answer-text {
    border: 1px solid rgb(235, 87, 87);
    color: rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton.heart-red.clicked .custom-answer-text {
    background-color: rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton .custom-answer-text {
    background-color: white;
    font-weight: bold;
    transition: all 200ms;
}

.runningQuizCustomAnswerButton.clicked .custom-answer-text {
    color: white;
}


.runningQuizCustomAnswerButton {
    transition: all 200ms;
    cursor: pointer;
}


.add-favorite,
.save-quiz {
    font-weight: 400;
}

.icon-btn {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.icon-btn:hover {
    transform: scale(1.3);
}

#recentQuizzes .recent-quiz:not(.clicked):hover .get-icon-wrapper {
    width: 1.5rem;
    overflow: visible;
    transition: all 0.35s ease;
}

#recentQuizzes .recent-quiz .get-icon-wrapper {
    width: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.recent-quiz {
    border: 1px solid #dee2e6;
    border-radius: 0;
}

.recent-quiz:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.recent-quiz:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.customAnswersDetail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customAnswersDetail .customAnswerInputIcon {
    height: 35px;
    border-radius: 0.25rem;
}

.accordion-button.collapsed .get-quiz-btn {
    opacity: 1;
    pointer-events: auto;
}

.accordion-button .get-quiz-btn {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

#listOfQuestions>.questionFormWrapper:first-child .questionFormPart .questionHR {
    display: none;
}

.removeQuestionBtn {
    transition: opacity 0.25s ease-in-out;
    opacity: 1;
}

#listOfQuestions>.questionFormWrapper:only-child .questionFormPart .removeQuestionBtn {
    opacity: 0;
    cursor: default;
}

.error-tooltip {
    --bs-tooltip-bg: var(--bs-danger);
}

.nav-link.active {
    background-color: transparent !important;
    font-weight: bold;
}

.nav-link {
    background-color: var(--bs-nav-tabs-link-active-bg) !important;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    color: var(--bs-nav-tabs-link-active-color);
    text-wrap: nowrap;
}

.nav-link:not(.active) {
    box-shadow:
        0px -5px 5px 2px rgba(0, 0, 0, 0.1),
        inset 0px -18px 11px -8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    box-shadow:
        0px -5px 5px 5px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-item:first-child .nav-link.active {
    box-shadow:
        -6px -5px 5px 5px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-item:first-child .nav-link:not(.active) {
    box-shadow:
        -6px -5px 5px 5px rgba(0, 0, 0, 0.1),
        inset 0px -18px 11px -8px rgba(0, 0, 0, 0.2);
}

.nav-tabs .nav-item:last-child .nav-link.active {
    box-shadow:
        2px -5px 5px 6px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-item:last-child .nav-link:not(.active) {
    box-shadow:
        3px -5px 5px 5px rgba(0, 0, 0, 0.1),
        inset 0px -18px 11px -8px rgba(0, 0, 0, 0.2);
}

.nav-tabs {
    --bs-nav-tabs-border-width: 0px;
}

.tab-content {
    box-shadow: -2px 9px 5px 8px rgba(0, 0, 0, 0.1);
}

.bubble-name {
    border-radius: 50px;
    /* Gives the bubble shape */
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: float 3s infinite ease-in-out alternate, wiggle 4s infinite linear;
}

.bubble-name:nth-child(odd) {
    animation-delay: 0.2s, 0.5s;
}

.bubble-name:nth-child(even) {
    animation-delay: 0.6s, 1s;
}

.bubble-name:hover .delete-attendee {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 300ms;
}

.delete-attendee {
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
}

.delete-attendee:hover {
    opacity: 1;
    pointer-events: auto;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

/* Subtle random movement in different directions */
@keyframes wiggle {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    25% {
        transform: translate(-1px, 2px) rotate(1deg);
    }

    50% {
        transform: translate(2px, -1px) rotate(-1deg);
    }

    75% {
        transform: translate(-1px, -2px) rotate(1deg);
    }

    100% {
        transform: translate(1px, 1px) rotate(0deg);
    }
}

.glossy-block {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glossy-table-wrapper {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.69);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.interractiveElement {
    pointer-events: none;
}

.correct-answer {
    pointer-events: none;
    color: #34ce57 !important;
    font-weight: bold;
    border-color: rgba(52, 206, 87, 1) !important;
    box-shadow: 0 0 0 .4rem rgba(52, 206, 87, .5);
}

.incorrect-answer {
    pointer-events: none;
    color: #dc3545 !important;
    font-weight: bold;
    border-color: rgba(220, 53, 69, 1) !important;
    box-shadow: 0 0 0 .4rem rgba(220, 53, 69, .5);
}

.runningQuestionNumberAnswerInputGroup {
    width: 25% !important;
}

.runningQuestionNumberAnswerInputGroup input::-webkit-outer-spin-button,
.runningQuestionNumberAnswerInputGroup input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.runningQuestionNumberAnswerInputGroup input {
    -moz-appearance: textfield;
}

.runningQuizCustomAnswersSection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem
}

.pollAnswers {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: max-content 1fr;
    grid-auto-rows: minmax(2rem, auto);
    /* Sets a minimum height of 50px for each row */

    align-items: center;
}

.pollAnswerStat {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 35;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

.pollAnswerStatVisual {
    height: 100%;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.61);
    backdrop-filter: blur(5.4px);
    -webkit-backdrop-filter: blur(5.4px);
    border-radius: 1rem;

}

.pollAnswerStatWrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.submit-button {
    display: none;
}

@media (max-width: 768px) {

    .runningQuestionNumberAnswerInputGroup {
        width: 100% !important;
    }

    .runningQuizCustomAnswersSection {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .glossy-table-wrapper {
        width: 100% !important;
    }
}

.menuBtn {
    cursor:pointer;
    color:white;
    display:inline-block;
    margin: 4px;
}
.menuBtn.active {
    text-decoration: underline;
}
