:root {
    --white: #ffffff;
    --black: #000000;
    --blue: #2548D7;
    --green: #deffde;
    --yellow: #fdffc3;
}

.btn-next-question,
.btn-report-question {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--black);
    color: var(--black);
    font-size: 22px;
}

@media (max-width: 576px) {

    .btn-next-question,
    .btn-report-question {
        padding: 10px 18px;
        border-radius: 30px;
        border: 1px solid var(--black);
        color: var(--black);
        font-size: 16px;
    }

}

.btn-next-question:hover,
.btn-report-question:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-report-question {
    padding: 8px 16px;
}

.page-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-right: 10px;
}

.not-answer-label {
    text-align: center;
    position: absolute;
    top: -45px;
    left: 42%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: red;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    animation: blink-animation 1.2s infinite;
    display: none;
}

.btn-blue {
    background-color: var(--blue);
}

.btn-green {
    background-color: var(--green);
}

.btn-yellow {
    background-color: var(--yellow);
}

@keyframes blink-animation {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.pagination-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

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

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.pagination .page-item .page-link:hover:not(.disabled) {
    background-color: var(--blue);
    color: var(--black);
    border-color: var(--blue);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}

.pagination .page-item {
    position: relative;
}

@media (max-width: 576px) {
    .pagination-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        /* Adds spacing between items */
        padding: 10px 0;
        /* Adds some padding to avoid touching edges */
    }

    .pagination .page-item {
        margin: 3px;
        /* Ensures spacing between items */
    }

    .pagination .page-item .page-link {
        width: 36px;
        /* Slightly larger for better tap targets */
        height: 36px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .go-to-page-form {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .go-to-page-form .page-input {
        width: 80px;
        /* Adjust input width */
        text-align: center;
    }

    .btn-go {
        padding: 6px 12px;
        font-size: 14px;
    }
}

.go-to-page-form {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.btn-go {
    height: 40px;
    padding: 0 15px;
    border-radius: 20px;
    background-color: var(--white);
    border: 1px solid var(--black);
    color: var(--black);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-go:hover {
    color: var(--white);
    border-color: 1px solid var(--black);
    background-color: var(--black);
}

.loader {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circular {
    animation: rotate 2s linear infinite;
    height: 100px;
    position: relative;
    width: 100px;
}

.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke: var(--black);
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}