.is-hidden {
    display: none !important;
}

.u-mr-10 {
    margin-right: 10px !important;
}

.u-pt-15 {
    padding-top: 15px !important;
}

.u-flex-align-baseline {
    display: flex;
    align-items: baseline;
}

.u-ml-4 {
    margin-left: 4px !important;
}

.u-max-width-70 {
    max-width: 70% !important;
}

.u-col-width-10 {
    width: 10%;
    max-width: 10%;
}

.u-col-width-30 {
    width: 30%;
    max-width: 30%;
}

.u-col-width-50 {
    width: 50%;
    max-width: 50%;
}

.u-text-accent {
    color: #FF5C00;
}

.u-text-danger {
    color: red;
}

.u-borderless {
    border: 0;
}

.footer--fixed {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

.settinginput {
    width: 100%;
}

.fileInputBox {
    width: 295px;
}

.downloadBtn--inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.downloadBtn--inline button {
    font-size: 1.2em;
    margin-right: 1rem;
}

.secondaryNav--layered {
    position: relative;
    z-index: 10;
}

.sectionparticipantContainer .secondaryNav {
    position: relative;
    z-index: 10;
}

.echart_canvas {
    margin-top: 20px;
    width: 50%;
    height: 500px;
}

.echart_canvas--full {
    width: 100%;
}

@media (max-width: 1024px) {
    .echart_canvas {
        width: 100%;
    }
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    animation: cspFrontendSpin 1s linear infinite;
}

@keyframes cspFrontendSpin {
    0% {
        transform: rotate(0deg);
    }

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

.editBtn,
.saveBtn {
    padding: 6px 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.editBtnBox {
    padding-bottom: 5px;
    padding-top: 5px;
}

.editBtn {
    background-color: #007bff;
    color: #fff;
}

.saveBtn {
    background-color: #28a745;
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.editBtn:hover,
.saveBtn:hover {
    opacity: 0.9;
}

.editBtn:active,
.saveBtn:active {
    transform: translateY(1px);
}

.adjustAnswerBox input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.mnav__item ul,
.mnav__item__list ul,
.aside__cat li > ul,
.Mnav__item ul,
.Mnav__item__sec ul,
.qa__answer {
    display: none;
}

.mnav__item ul.is-open,
.mnav__item__list ul.is-open,
.aside__cat li > ul.is-open,
.Mnav__item ul.is-open,
.Mnav__item__sec ul.is-open,
.qa__answer.is-open {
    display: block;
}

.rightbtn {
    display: none;
    position: fixed;
    top: 33vh;
}

.rightbtn.is-visible {
    display: block;
}

body.frontend-modal-open {
    overflow: hidden;
}

.frontend-alert-host,
.frontend-toast-host {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
}

.frontend-alert {
    position: absolute;
    inset: 0;
    pointer-events: auto;
}

.frontend-alert__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 26, 36, 0.58);
}

.frontend-alert__dialog {
    position: relative;
    width: min(92vw, 460px);
    margin: 12vh auto 0;
    padding: 28px 28px 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    color: #1f2937;
    text-align: center;
}

.frontend-alert__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
}

.frontend-alert__icon.is-success {
    background: #eaf8ee;
    color: #1f8b4c;
}

.frontend-alert__icon.is-error {
    background: #fdecec;
    color: #ca3131;
}

.frontend-alert__icon.is-warning {
    background: #fff7df;
    color: #a87400;
}

.frontend-alert__icon.is-info,
.frontend-alert__icon.is-question {
    background: #edf5ff;
    color: #1f6fd2;
}

.frontend-alert__title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
}

.frontend-alert__content {
    font-size: 16px;
    line-height: 1.7;
    word-break: break-word;
}

.frontend-alert__content p:last-child {
    margin-bottom: 0;
}

.frontend-alert__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.frontend-alert__actions.is-empty {
    display: none;
}

.frontend-alert__btn {
    min-width: 120px;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.frontend-alert__btn--primary {
    background: #0d6efd;
    color: #fff;
}

.frontend-alert__btn--secondary {
    background: #e8edf3;
    color: #334155;
}

.frontend-alert__spinner {
    width: 42px;
    height: 42px;
    margin: 20px auto 0;
    border: 3px solid rgba(13, 110, 253, 0.18);
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: cspFrontendSpin 0.9s linear infinite;
}

.frontend-toast-host {
    inset: auto 24px 24px auto;
}

.frontend-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.frontend-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.frontend-toast .frontend-alert__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
    font-size: 16px;
}

.frontend-toast__text {
    font-size: 14px;
    line-height: 1.5;
}

.modal.frontend-managed-modal {
    background: rgba(20, 26, 36, 0.58);
}

.modal.frontend-managed-modal.show {
    display: block;
}

.modal.frontend-managed-modal .modal-dialog {
    margin-top: 6vh;
}

@media (max-width: 640px) {
    .frontend-alert__dialog {
        width: min(92vw, 360px);
        margin-top: 9vh;
        padding: 24px 18px 18px;
    }

    .frontend-alert__actions {
        flex-direction: column-reverse;
    }

    .frontend-alert__btn {
        width: 100%;
    }

    .frontend-toast-host {
        inset: auto 12px 12px 12px;
    }

    .frontend-toast {
        min-width: 0;
        max-width: none;
    }
}
