body {
    background: #171a1c;
    color: white;
    margin: 0 !important;
    font-family: "Onest", sans-serif !important;
}

.modal-content {
    background-color: #222226;
}

/* Large devices (laptops/desktops) */
@media only screen and (min-width: 992px) and (max-width: 1497px) {

    /* Your CSS for large devices like laptops/desktops */
    .down-icones {
        height: 410px !important;
    }

    .text-goCheck p {
        font-size: 230px !important;
    }

}

@media only screen and (min-width: 1498px) and (max-width: 1600px) {

    /* Your CSS for large devices like laptops/desktops */
    .down-icones {
        min-height: 300px;
        max-height: 600px;
        height: 400px;
    }

    .text-goCheck p {
        font-size: 230px;
    }
}

@media only screen and (min-width: 1600px) {
    .down-icones {
        min-height: 300px;
        max-height: 600px;
        height: 600px;
    }

    .text-goCheck p {
        font-size: 300px;
    }
}

.down-icones {
    padding-left: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    align-content: center;

    flex-direction: column;
    flex-wrap: nowrap;
}

.text-goCheck p {
    font-weight: 600;
    line-height: 180px;
    color: #171a1c;
}

.chat-platform {
    height: 100vh;
    width: 100%;
    position: relative;
}

.left-side,
.logo {
    width: 100%;
    display: flex;
    justify-items: start;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-start;
}

.logo img {
    /* height: 40px; */
    height: 40px;
    width: 100%;

}

.logo p {
    color: rgba(255, 255, 255, 0.629);
    padding-left: 15px;
    margin: 0px;
}

.right-icone {
    height: 34px !important;
}

.right-icone svg {
    width: 34px;
    color: #f2f2f4;
    height: 34px;
}

.lef-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1rem;
}

.left-mani-header {
    width: 100%;
    height: calc(100vh - 147px) !important;
    border-radius: 15px;
}

.header-documents {
    background-color: #222226;
    padding: 15px 30px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}


.header-documents button {
    background-color: transparent;
    border: none;
    font-size: 15px;
}

p {
    margin: 0 !important;
}

.main-plase-documents {
    width: 100%;
    height: calc(100% - 141px);
    overflow-y: scroll;
    padding: 15px;
    border: 3px solid #222226;

}

.main-plase-documents::-webkit-scrollbar {
    width: 5px;
}

.main-plase-documents::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.main-plase-documents::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 10px;
    background: #5646ee;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.delete-icone-pdf svg:hover {
    color: white !important;
}

.bottom-documents {
    background-color: #222226;
    padding: 33px 30px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    position: relative;
}

.settings-button {
    background-color: #36363F;
    color: white !important;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: -15px !important;
    cursor: pointer;
}

.settings-button:hover {
    background-color: #4636de !important;
}

.sub-menu {
    /* Removed display: none; */
    position: absolute;
    bottom: 43px;
    background-color: #36363F;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(10px);
    /* Start slightly lower */
    opacity: 0;
    pointer-events: none;
    left: 55px;
    width: 200px;
    visibility: hidden;
    /* Hide the element but maintain layout */
}

.sub-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    /* Make the element visible */
}

.sub-menu-item {
    display: block;
    padding: 10px 25px;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
}

.sub-menu-item:hover {
    background-color: #4636de;
}

.sub-menu p {
    padding: 9px 25px;
    color: #ccc;
    border-bottom: 1px solid #171a1c;
    margin: 0px;
    background-color: #171a1c66;
    font-size: 13px;
    text-transform: capitalize;
}

.bottom-documents a.settings-button {
    color: white;
    margin-top: -13px;
    background-color: #36363F;
}

.main-view {
    width: 100%;
    display: flex;
    height: 100%;
    border: 1px solid #222226;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 15px;
    background-color: #222226;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    border-bottom-left-radius: 15px;
}

.heder-main-view {
    color: white;
    padding: 1rem 3rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 3px 2px 5px 0px;
    height: 50px;
}

.conversation-main-view {
    width: 100%;
    max-height: calc(100vh - 205px);
    min-height: calc(100vh - 145px);
    overflow-y: scroll;
    padding-top: 2rem;
    position: absolute;
    top: 0px;
}

.conversation-main-view::-webkit-scrollbar {
    width: 5px;
}

.conversation-main-view::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.conversation-main-view::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 10px;
    background: #5646ee;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.conversation-main-view::-webkit-scrollbar-thumb:window-inactive {
    background: #5646ee;
}

.question-view {
    width: 100%;
    position: relative;
}

.question-view form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.question-view input {
    background-color: #36363F;
    border: 0px;
    width: 65%;
    padding: 15px 15px;
    border-radius: 10px;
    color: white;
}

.question-view input:focus-visible {
    outline: none !important;
}

.question-view button {
    margin-left: 15px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: none;
}

.pdf-file {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    background-color: #36363F;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 15px;
    position: relative;
    margin: 0px;
    flex-direction: row;
    flex-wrap: wrap;
    /* border-radius: 15px; */
    align-content: center;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.pdf-file:hover {
    color: white;
    background-color: #5646ee;
}

.svg-icone {
    width: 45px !important;
    height: 45px !important;
    background-color: #5646ee;
    color: white;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.svg-icone svg {
    width: 16px;
    height: 20px;
}

.top-alert {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.top-alert .alert {
    width: 50%;
}

.pdf-file span {
    display: block;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
    width: calc(100% - 68px);
    max-width: 30ch;
}

.chat-container {
    height: 70vh;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
}

.message {
    margin-bottom: 15px;
}

.message .content {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 70%;
}

.message.user .content {
    background-color: #18181b;
    float: left;
    clear: both;
    margin-bottom: 15px;
}

.message.assistant .content {
    background-color: #36363F;
    float: right;
    clear: both;
    margin-bottom: 15px;
}

.suggested-question {
    font-size: 10px !important;
    border-radius: 4px;
    border: 1px solid #36363F;
    color: white;
    font-weight: 600;
}

#suggested-questions-container {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.suggested-question:hover {
    background-color: #36363F;
    color: white;
}

.question-main-view {
    max-height: 135px;
    min-height: 87px;
    box-shadow: rgba(0, 0, 0, 0.35) 3px -2px 5px 0px;
    padding: 15px 30px;
    z-index: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    background-color: #222226;

    border-bottom-left-radius: 15px;
}

.sugeration-question {
    display: flex;
    width: 95%;
    margin-bottom: 11px;
    flex-direction: column;
    align-items: center;
}

.w-70 {
    width: 70%;
}

.alert {
    padding: 5px 15px;
}

.alert-costume {
    background-color: #5646ee;
    padding: 3px 30px;
    color: white;
    border-radius: 5px;
    margin-top: -2px;
}

.alert-costume p {
    font-size: 13px;
}

.clear-button {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    height: 45px;
    width: 45px;
    background: #36363F !important;
    border-radius: 50%;

}

.clear-button:hover {
    background: #5646ee !important;
}

.clear-button .tooltip-text {
    visibility: hidden;
    width: 220px;
    /* Adjust width as needed */
    background-color: #36363F;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the button */
    left: 50%;
    margin-left: -110px;
    /* Negative half of the tooltip's width */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

/* Tooltip arrow */
.clear-button .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    /* Half of the arrow's width */
    border-width: 5px;
    border-style: solid;
    border-color: #36363F transparent transparent transparent;
}

/* Show the tooltip on hover */
.clear-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


.clear-button svg {
    height: 15px;
    width: 15px;
}

.clear-button span {
    padding-top: 3px;
    font-size: 15px;
}

.waiting-for-question {
    background-color: #171a1c;
    height: 60vh !important;
    width: 100%;
    margin-top: -2rem;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding-top: 1rem;
    position: relative;
}

.waiting-for-question video {
    height: 100%;
    width: 100%;
}

#upload-button-container {
    display: none;
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;

}

#upload-files-button {
    background-color: #5746ee65;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    width: 70%;
    height: 150px;
    font-size: 1rem;

}

#upload-files-button:hover {
    background-color: #4636de;
}

/* Ensure the video fills the waiting-for-question div */
.waiting-for-question video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.costume-bock {
    display: block;
    width: 100%;
    text-align: center;
    color: #b0b0b3;
}

.costume-bock svg {
    height: 70px;
    width: 70px;
    margin-bottom: 30px;

}

.modal-header,
.modal-body,
.modal-footer {
    border: 2px solid #18181b !important;
}

.btn-close {
    color: white !important;
}



.modal-body input {
    background-color: #36363F !important;
    border: 0px;
    width: 100%;
    padding: 15px 15px;
    border-radius: 10px;
    color: white !important;
}

.modal-body input:focus-visible {
    outline: none !important;
}

.logo-right {
    height: 100vh;
    width: 100%;
    background-color: #222226;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.logo-right img {
    position: absolute;
    top: 3%;
    left: 10%;
}

.down-icones .box-icone {
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #171a1c;
    border-radius: 15px;
    z-index: 1;
}

.box-icone svg {
    width: 55px;
    height: 55px;
    color: #36363F;
}

.text-goCheck {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}



.second-text-goCheck {
    margin-left: 200px !important;
}

.box-description {
    display: flex;
    justify-content: start;
    align-items: center;
}

.box-description p {
    margin-left: 15px !important;
    font-size: 2rem;
    color: #171a1c;
    text-transform: capitalize;
    font-weight: bold;
}

.box-end-goAVA {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 44px;
    background-color: #171a1c;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;

}


.box-end-goAVA p {
    font-size: 1.3rem;
    color: #36363F;
}

.vertical-line {
    border-left: 4px dashed #171a1c;
    height: 54%;
    position: absolute;
    left: 150px;
    bottom: 0;

}

.horizontal-line {
    border-bottom: 3px dashed #171a1c;
    width: 100%;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
}


.circle-down {
    position: absolute;
    bottom: 3px;
    left: -16px;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: #454849;
    border-radius: 50%;
}

.login-form-fill {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}


.login-form-fill input {
    background-color: #36363F;
    border: 0px;
    width: 100%;
    padding: 15px 15px;
    border-radius: 10px;
    color: white;
}

.login-form-fill input:focus-visible {
    outline: none !important;
}

.login-form-fill label {
    color: #454849;
}

.btn-primary-three {
    background-color: #36363F;
    border: 1px solid #36363F;
    color: white !important;
    height: 80px;
}

.btn-primary-three:hover {
    background-color: #4636de;
}

.login-form-fill form {
    width: 400px;
}

.login-form-fill a {
    color: #454849 !important;
}



/* Define the responsive behavior for different screen sizes */
@media (max-width: 768px) {
    .text-goCheck p {
        font-size: 150px;
        /* Reduce font size on smaller screens */
        line-height: 100px;
    }

    .login-side {
        height: auto;
    }

    /* Hide the col-8 section */
    .col-lg-8 {
        display: none;
    }

    .login-form-fill {
        padding: 20px;
        /* Add padding for a better view on mobile */
    }

    .btn-primary-three {
        height: 60px;
        /* Adjust button height for mobile */
    }

    .vertical-line,
    .horizontal-line {
        display: none;
        /* Remove lines for smaller screens */
    }

    .box-icone {
        height: 70px;
        width: 70px;
    }

    .box-description p {
        font-size: 1.5rem;
        /* Adjust text size for mobile */
    }
}

@media (min-width: 768px) and (max-width: 1200px) {


    .login-form-fill {
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-form-fill form {
        width: 70%;
    }

    .btn-primary-three {
        height: 70px;
    }
}

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.822);
    /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000 !important;
    /* Ensure it's on top of other content */
}

.loader-content {
    text-align: center;
}

.text-cosumte-light {
    color: #4636de !important;
}

.w-300 {
    width: 300px !important;
}

.clear-history {
    position: absolute;
    right: 50px;
    top: -30px;
    z-index: 300;
}

.clear-history form button {
    /* position: fixed; */
    /* bottom: 121px; */
    /* right: 0px; */
    z-index: 300;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 0px;
    background-color: #36363F;
    color: white;
    cursor: pointer;
    position: relative;
}

.clear-history form button:hover {
    background-color: #4636de;
}

/* Tooltip styling */
.clear-history form button .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #36363F;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 70px;
    /* Position it above the button */
    right: -30px;
    /* Center it horizontally */
    z-index: 400;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    pointer-events: none;
    /* Prevent it from interfering with hover */
}

.clear-history form button .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #36363F transparent transparent transparent;
}

.clear-history form button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.gocheck-advance .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #4836de;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 45px;
    /* Position it above the button */
    /* Center it horizontally */
    z-index: 400;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    pointer-events: none;
    cursor: pointer;
}

.gocheck-advance .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #4836de transparent transparent transparent !important;
}

.gocheck-advance:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    cursor: pointer;
}

.main-admin-table {
    background-color: #36363F;
    padding: 1rem;
    border-radius: 15px;
}

.main-admin-table * {
    color: rgba(255, 255, 255, 0.891) !important;

}


/* Drag and Drop Area Styles */
.drag-drop-area {
    background-color: rgba(255, 255, 255, 0.1);
    /* Slight transparency */
    border: 2px dashed #565656;
    /* Light grey dashed border */
    padding: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin-bottom: 10px;
    color: #ffffff;
    width: 100%;
    /* White text */
}

/* Hover effect for Drag and Drop Area */
.drag-drop-area:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* File input hidden styles (triggered by drop area) */
#file-input {
    display: none;
}

/* Button style to match dark theme */
.upload-button {
    background-color: #0066ff;
    /* Bright blue color for the button */
    border: none;
}

.upload-button:hover {
    background-color: #0055cc;
    /* Darker blue for hover effect */
}

.language-we-support {
    position: relative;
    /* For positioning the other flags */
    width: 50px;
    height: 25px;
    position: fixed;
    right: 0;
    top: 16px;
    background: #003399;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flegs {
    cursor: pointer;
}

.flegs img {
    height: 25px;
    width: 50px;
}

/* Hide the other flags by default */
.other-flegs {
    display: none;
    position: absolute;
    top: 100%;
    /* Position below the .flegs div */
    right: 8px;
    top: 26px;
    background-color: #ffffff;
    /* Adjust background color as needed */
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Adjust as needed */
}

/* Style for the default flag */
.default-flag {
    width: 100%;
    height: 25px;
}

/* Hide the hover flag initially */
.hover-flag {
    display: none;
    width: 100%;
    height: auto;
}

/* Swap images on hover or click */
.flegs.active .default-flag,
.flegs:hover .default-flag {
    display: none;
}

.flegs.active .hover-flag,
.flegs:hover .hover-flag {
    display: block;
}

/* Show the other flags on hover or click */
.flegs.active+.other-flegs,
.flegs:hover+.other-flegs {
    display: flex;
}

/* Style for other flags */
.other-flegs img {
    width: 18px;
    height: 13px;
    margin: 2px;
    cursor: pointer;
}

/* Optional: Change arrow direction on hover or click */
.flegs.active .bi-arrow-down-short,
.flegs:hover .bi-arrow-down-short {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/* Transition for the arrow */
.flegs .bi-arrow-down-short {
    transition: transform 0.3s;
}

.flag-container {
    margin: -2px;
}

.flag-container img {
    width: 100%;
    height: 16px;
    cursor: pointer;
}

/* Tooltip styling */
.flag-container::after {
    content: attr(data-title);
    visibility: hidden;
    opacity: 0;
    background-color: #36363F;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    /* Position above the flag */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.2;
}

.flag-container::before {
    content: '';
    position: absolute;
    bottom: 15%;
    /* Position the arrow */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #36363F transparent transparent transparent;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.flag-container:hover::after,
.flag-container:hover::before {
    visibility: visible;
    opacity: 1;
}

.flegs.active+.other-flegs {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    width: 42px;
}

/* Existing styles for .other-flegs */
.other-flegs {
    display: none;
    position: absolute;
    right: 8px;
    background-color: #222226;
    padding: 5px;
    border: 1px solid #36363F;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    max-width: 200px;
    z-index: 1000 !important;
}

.profile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    /* width: calc(100% - 489px) !important; */
    /* Adjust as needed */
    height: 100%;
    background-color: #222226;
    /* Adjust the color */
    box-shadow: -25px -5px 20px -20px rgba(0, 0, 0, 0.45);
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;

}

.profile-sidebar.show {
    transform: translateX(0);
}

.main-profile {
    background: #222226;
}

.title-profile {
    font-size: 1.3rem !important;
}


.main-profile input {
    background-color: #36363F;
    border: 0px;
    width: 100%;
    padding: 15px 15px;
    border-radius: 10px;
    color: white;
}

.main-profile input:focus-visible {
    outline: none !important;
}



.button-profile {
    height: 53px;
    background-color: #4636de !important;
    color: white !important;
    border-radius: 5px;
}

.main-admin-table select {
    background: #18181b;
    width: 100%;
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
}



.primary-costume-button {
    background-color: #5646ee;
    color: white !important;
    font-size: 15px;
    border: none;
    border-radius: 5px;
}

.secondary-costume-button {
    background-color: #36363F;
    color: white !important;
    font-size: 15px;
    border: none;
    border-radius: 5px;
}

.secondary-costume-button:hover {
    background-color: #5646ee;
}

.top-read-document {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.upload-others {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 45px;
    background: #4636de !important;
    border-radius: 50%;
    position: relative;
    margin-right: 8px;
}

.upload-others:hover {
    background: #5646ee !important;
}

.upload-others .tooltip-text {
    visibility: hidden;
    width: 220px;
    /* Adjust width as needed */
    background-color: #36363F;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the button */
    left: 50%;
    margin-left: -110px;
    /* Negative half of the tooltip's width */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

/* Tooltip arrow */
.upload-others .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    /* Half of the arrow's width */
    border-width: 5px;
    border-style: solid;
    border-color: #36363F transparent transparent transparent;
}

/* Show the tooltip on hover */
.upload-others:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.buttons-actions {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
}



.button_for_link {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #36363F;
    border-radius: 15px;
}

.delete-icone-pdf {
    width: 30px;
    height: 30px;
    display: flex;
    margin-left: 10px;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
}

.delete-icone-pdf svg {
    height: 100%;
    display: grid;
    justify-content: center;
}

.delete-icone-pdf:hover {
    color: #4636de !important;
}

.btn-eye {
    height: 54px;
    width: 54px;
    background-color: #36363F;
    color: rgba(255, 255, 255, 0.754);
}

.btn-eye:hover {
    height: 54px;
    width: 54px;
    background-color: #1f1f22;
    color: white;

}

.btn-eye:focus {
    height: 54px;
    width: 54px;
    background-color: #1f1f22;
    color: white;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 10px;
    right: 13px;
    font-size: 10px;
    z-index: 2;
    padding: 0px !important;
}

.alert-dismissible {
    font-size: 13px;
}

.form-control {
    background-color: #36363F;
    border: 0px;
    width: 65%;
    padding: 15px 15px;
    border-radius: 10px;
    color: white;

}


.form-control:focus {
    outline: 0 !important;
    box-shadow: none !important;
    background-color: #36363F !important;
    border: 0px !important;
    padding: 15px 15px;
    border-radius: 10px;
    color: white;

}

.alert-message {
    background-color: #4636de !important;
    color: #dbd8d8 !important
}


.text-muted-foreground {
    font-size: 9px;
    text-align: center;
    position: absolute;
    bottom: 5px;
    left: 0px;
    right: 0px;
    color: #b2b4b3 !important;
}

.text-muted-foreground a {
    text-decoration: underline !important;
}

.profile-alert {
    position: absolute !important;
    right: 22px !important;
    top: 22px !important;
}

.preview_not_avaible {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview_not_avaible p {
    color: white;
    font-size: 1.3rem;
}


.mic-questions {
    height: 49px !important;
    width: 50px !important;
    margin-right: 15px;
    background: #5646ee;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
    border: none;
}

.mic-questions svg {
    color: white !important;
    height: 25px !important;
    width: 25px !important;
}


.gocheck-advance-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #222226;
    color: #fff;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s ease;
    cursor: pointer;
}

.send-btn svg {
    color: #454849 !important;
    width: 15px;

}

.gocheck-advance-btn:hover {
    background: #4736de !important;
    color: white !important;
}


.gocheck-advance-btn svg {
    width: 30px;

}

.gocheck-advance-btn span {
    margin-right: 15px;
    color: white;
    font-size: 12px;
}


/* .gocheck-advance-btn:hover {
    color: white !important;
    background-color: #36363F !important;
} */

.gocheck-advance-btn:hover+svg {
    color: white !important;
}

/* 
  Base overlay styles: starts off-screen and transparent. 
  pointer-events: none prevents interaction while "hidden."
*/
.gocheck-advance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    /* background-color: rgba(0, 0, 0, 0.3); */

    /* Start fully off-screen and invisible */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;

    /* Smooth transition for both transform & opacity */
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    display: flex;
    justify-content: end;

}

/* 
  .show class transitions us to visible. 
  pointer-events: auto means you can now click inside the overlay. 
*/
.gocheck-advance-overlay.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Content area */
.gocheck-advance-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #222226;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    align-items: center;
    box-shadow: rgb(0 0 0 / 20%) -20px 0px 29px 0px;
    align-content: flex-start;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
}



.advance-close-button:hover {
    color: #999;
}

/*  */

.voice-hiring img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* Close button */
.advance-close-button {
    top: 1rem;
    right: 1.5rem;
    border: none;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.action-buttons {
    position: absolute;
    bottom: 15px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.action-buttons button {
    height: 70px;
    width: 70px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #171a1c;
    margin: 15px;

}

.action-buttons button svg {
    width: 30px !important;
    height: 30px !important;
}

.action-buttons button:hover {
    color: #999;
}

/* Add a class .speaking that triggers the jump effect */
.voice-hiring.speaking {
    animation: jump 0.6s infinite alternate;
}

@keyframes jump {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.voice-hiring.wave::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #fff;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
    animation: wave-pulse 2s infinite;
    pointer-events: none;
}

@keyframes wave-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* You can keep or remove your existing jump animation for "speaking" */
.voice-hiring.speaking {
    animation: jump 0.6s infinite alternate;
}

@keyframes jump {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}


.language-switch-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 20px;
    cursor: pointer;
}

.flag-container {
    width: 100%;
    height: 25px;
    border-radius: 5px;
}

.flag-container.de {
    left: 5px;
}

.flag-container.gb {
    right: 5px;
}

.slider {
    position: absolute;
    width: 40px;
    height: 34px;
    background: #5646EE;
    border-radius: 17px;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    z-index: -1;
}

.language-switch.active .slider {
    transform: translateX(54px);
}

.language-switch.active .de {
    opacity: 0.5;
}

.language-switch:not(.active) .gb {
    opacity: 0.5;
}

.btn-close-costume {
    width: 100px !important;
    position: absolute;
    bottom: 18px;
    right: 174px;
}



.voice-hiring {
    position: absolute;
    width: 200px;
    height: 200px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
    animation: ringMovement 8s infinite linear;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

/* .voice-hiring:hover {
    border-color: rgba(74, 134, 198, 0.627);
    box-shadow:
        0 0 20px rgba(74, 134, 198, 0.3),
        0 0 40px rgba(74, 134, 198, 0.2),
        0 0 60px rgba(74, 134, 198, 0.1),
        inset 0 0 20px rgba(74, 134, 198, 0.2);
    animation-duration: 12s;
} */

@keyframes ringMovement {
    0% {
        border-radius: 45% 55% 50% 50% / 45% 55% 45% 55%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 55% 45% 55% 45% / 50% 50% 50% 50%;
        transform: rotate(90deg) scale(1.1);
    }

    50% {
        border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
        transform: rotate(180deg) scale(1);
    }

    75% {
        border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%;
        transform: rotate(270deg) scale(1.1);
    }

    100% {
        border-radius: 45% 55% 50% 50% / 45% 55% 45% 55%;
        transform: rotate(360deg) scale(1);
    }
}


.voice-hiring.active-recording {
    border-color: rgba(74, 134, 198, 0.627);
    box-shadow:
        0 0 20px rgba(74, 134, 198, 0.3),
        0 0 40px rgba(74, 134, 198, 0.2),
        0 0 60px rgba(74, 134, 198, 0.1),
        inset 0 0 20px rgba(74, 134, 198, 0.2);
    animation: ringMovement 6s infinite linear;
}

/* Add this new CSS rule */
.voice-hiring.audio-playing {
    border-color: rgba(70, 54, 222, 0.8);
    box-shadow:
        0 0 20px rgba(70, 54, 222, 0.3),
        0 0 40px rgba(70, 54, 222, 0.2),
        0 0 60px rgba(70, 54, 222, 0.1),
        inset 0 0 20px rgba(70, 54, 222, 0.2);
    animation: ringMovement 6.5s infinite linear;
}

/* .voice-hiring.audio-playing {
    animation: pulse 1.5s infinite;
} */

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

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.choose-voice {
    width: 45px;
    height: 45px;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 15px;
}

.choose-voice svg {
    color: rgba(255, 255, 255, 0.495);
}

.choose-voice:hover {
    background-color: #454849 !important;
    color: white !important;
    cursor: pointer;
}

.choose-voice:hover svg {
    color: white !important;
    cursor: pointer;
}


/* Example: set the pageLength dropdown to a dark background with white text */
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #363640;
    border-color: #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    color: #0d6efd;
    text-decoration: none;
    background-color: #363640;
    border: 1px solid #dee2e6;
    transition: color .15sease-in-out, background-color .15sease-in-out, border-color .15sease-in-out, box-shadow .15sease-in-out;
}

.page-link:hover {
    z-index: 2;
    color: white;
    background-color: #5a5a64;
    border-color: #dee2e6;
}

/* Ensure voice-slider is a container with proper positioning */
#voice-slider {
    z-index: 1001 !important;
    height: 100%;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #222226;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-self: center;
    /* Contain the wave effect */
}

/* Voice-display positioning */
.voice-display {
    position: absolute;
    z-index: 1003;
    /* Ensure it's above voice-hiring */
}

/* Voice-hiring as the single circle (default white ring) */
#voice-slider .voice-hiring {
    position: relative;
    width: 200px;
    height: 200px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* Default white ring */
    border-radius: 50%;
    filter: blur(1px);
    animation: ringMovement 8s infinite linear;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    margin: 20px auto 0;
    /* Center and add spacing above slider-controls */
    z-index: 1002;
    /* Below voice-display but above other elements */
    margin-top: 0px;
}

/* Wave effect tied to voice-hiring when audio-playing (after 2 seconds) */
#voice-slider .voice-hiring::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(70, 54, 222, 0.5);
    /* Wave color */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    /* Behind the voice-hiring element */
    opacity: 0;
}

/* Activate wave effect when voice-hiring has audio-playing class */
#voice-slider .voice-hiring.audio-playing::before {
    animation: waterWave 1.5s ease-out infinite;
    /* Infinite wave effect */
}

/* Water wave animation */
/* @keyframes waterWave {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    50% {
        width: 250px;
        height: 250px;
        opacity: 0.4;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
} */

/* Active state for voice-hiring when audio-playing (after 2 seconds) */
#voice-slider .voice-hiring.audio-playing {
    border-color: rgba(70, 54, 222, 0.8);
    box-shadow:
        0 0 20px rgba(70, 54, 222, 0.3),
        0 0 40px rgba(70, 54, 222, 0.2),
        0 0 60px rgba(70, 54, 222, 0.1),
        inset 0 0 20px rgba(70, 54, 222, 0.2);
    animation-duration: 12s;
}

/* Existing ring movement animation */
@keyframes ringMovement {
    0% {
        border-radius: 45% 55% 50% 50% / 45% 55% 45% 55%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 55% 45% 55% 45% / 50% 50% 50% 50%;
        transform: rotate(90deg) scale(1.1);
    }

    50% {
        border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
        transform: rotate(180deg) scale(1);
    }

    75% {
        border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%;
        transform: rotate(270deg) scale(1.1);
    }

    100% {
        border-radius: 45% 55% 50% 50% / 45% 55% 45% 55%;
        transform: rotate(360deg) scale(1);
    }
}

/* Slider controls and button styling */
.slider-controls {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    position: absolute;
}

#chooseVoiceSimpleBtn {
    position: absolute;
    bottom: 50px;
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
    padding: 14px 30px;
}

#chooseVoiceSimpleBtn:hover {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #171a1c;
    background-color: rgba(255, 255, 255, 0.8);
}

.btn-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #18181b !important;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-arrow>svg:hover {
    opacity: 1;
}

.btn-arrow svg {
    color: white;
    height: 100%;
    width: 100%;
    opacity: .3;
}

/* Ensure currentVoiceTitle is styled appropriately */
#currentVoiceTitle {
    font-family: "Tangerine", serif;
    text-transform: uppercase;
    font-size: 4rem;
    font-weight: 400 !important;
    color: white;
    text-align: center;
}

/* Style for choose-voice icon (default and close states) */
.choose-voice {
    width: 45px;
    height: 45px;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 15px;
    z-index: 1100;
    cursor: pointer;
}

.choose-voice svg {
    color: rgba(255, 255, 255, 0.495);
}

.choose-voice:hover svg {
    color: white !important;
}

/* Close icon for choose-voice (bi-x SVG from your code) */
.choose-voice.close-icon svg {
    width: 16px;
    height: 16px;
    color: white;
}

.choose-voice.close-icon:hover svg {
    color: #999;
}

.slider-header {
    position: absolute;
    bottom: 110px;
}

.slider-header h4 {
    font-size: 15px !important;
}

.slider-controls {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



#chooseVoiceSimpleBtn {
    position: fixed;
    bottom: 28px;
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
    padding: 14px 30px;
    height: 70px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #171a1c;
    z-index: 2000;
}

/* Style for the check icon in voice-display */
.voice-check-icon {
    margin-left: 10px;
    color: #28a745;
    /* Green color for check icon */
    vertical-align: middle;
}

.voice-check-icon svg {
    width: 16px;
    height: 16px;
}


.toggle-container {
    display: flex;
    gap: 50px;
    /* Increased gap between toggle pairs for better spacing */
}

.toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* Reduced gap between label and button */
}

.label {
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 25px;
    z-index: 1;
    opacity: 1 !important;
    pointer-events: none;
}

.toggle-button {
    width: 120px;
    /* Increased width */
    height: 120px;
    /* Increased height */
    background-color: #1d1d1d;
    /* Even darker base color */
    border: none;
    border-radius: 50%;
    /* Slightly larger radius for bigger button */
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(0, 0, 0, 0.3);
    /* Subtle shadow for inactive state */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    /* Ensure reflection stays within button */
    margin-bottom: 10px;
    /* Increase gap between button and light */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.toggle-button.on {
    background-color: #2a2a2f;
    /* Slightly lighter dark color when active */
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    /* 3D effect only */
}

.toggle-button.off {
    background-color: #222226;
    /* Very dark color for inactive state */
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(0, 0, 0, 0.3);
    /* Subtle shadow for inactive state */
}

.toggle-button.off .label {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    color: #ffffff6e;
    font-size: 15px;
}

.toggle-button:hover {
    background-color: #222226;
    /* Slightly lighter on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toggle-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toggle-button svg {
    display: none;
    /* Hide SVG initially */
    transition: opacity 0.3s ease;
}

.toggle-button.on svg {
    display: block;
    color: #fff;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 10px rgba(113, 113, 115, 0.7));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.indicator {
    width: 50px;
    height: 5px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black shadow when inactive */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.light-on {
    background-color: #fff;
    /* White light */
    box-shadow: 0 0 10px #fff, 0 0 20px #fff;
    /* White glow effect */
    transform: scale(1.1);
}

/* Make the language offcanvas feel like a modal: size, shadow, backdrop */
#languageSidebar.offcanvas-end {
    width: calc(100% - 489px) !important;
    height: 100%;
    background-color: #222226;
    /* match your dark theme */
    color: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .45);
}

#languageSidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#languageSidebar .lang-card,
#languageSidebar .card {
    background: #11131a;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
}

#languageSidebar .card.border-primary {
    border-color: #5646EE !important;
}

#languageSidebar .badge.bg-primary {
    background: #5646EE !important;
}




/* --- command palette --- */
.command-palette {
    position: fixed;
    /* FIX: anchor to viewport coords used by JS */
    left: 0;
    /* JS sets left/top/width precisely */
    top: 0;
    z-index: 1050;
    display: none;
}

.command-palette .card {
    background: #11131a;
    border: 1px solid #262b3a;
}

.command-palette .list-group-item {
    background: #36363f;
    color: #e8eaf3;
    border: 0;
    cursor: pointer;
}

.command-palette .list-group-item:hover,
.command-palette .list-group-item.active {
    background: #161a1c;
}

/* keep this so the absolute/fixed elements can overlap cleanly near the input */
.question-main-view {
    position: relative;
}


/* offcanvas body goes full-bleed with a subtle background */
#languageSidebar .offcanvas-body {
    padding: 0;
}

/* full-bleed wrapper + inner content frame */
.lang-full {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* top bar */
#languageSidebar .offcanvas-title {
    font-weight: 700;
    letter-spacing: .2px;
}

#languageSidebar .btn-close {
    filter: none;
}

/* count text */
#lang-count-text {
    font-size: .95rem;
}

/* open-full-page button */
#languageSidebar .btn.btn-outline-secondary.btn-sm {
    border-color: #e5e7eb;
    color: #4b5563;
}

#languageSidebar .btn.btn-outline-secondary.btn-sm:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #111827;
}

/* ========== LANGUAGE GRID / SLIDER ========== */

/* the “slider” area acts like a responsive grid */
.lang-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    padding-bottom: 1.25rem;
    max-height: calc(100vh - 180px);
    overflow: auto;
}

/* smooth scroll + custom scrollbar (webkit) */
.lang-slider {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #c7c9d1 transparent;
}

.lang-slider::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.lang-slider::-webkit-scrollbar-thumb {
    background: #c7c9d1;
    border-radius: 8px;
}

.lang-slider::-webkit-scrollbar-track {
    background: transparent;
}

/* ========== LANGUAGE CARD ========== */

.lang-card {
    border: 1.5px solid #eef0f4;
    border-radius: 14px;
    background: #fff;
    padding: 14px 16px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lang-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(17, 24, 39, .06);
    border-color: #e3e6ee;
}

.lang-card.active {
    /* border-color: #5646EE;
    box-shadow: 0 10px 28px rgba(86, 70, 238, .18);
    background: radial-gradient(1200px 200px at 0% 0%, rgba(86, 70, 238, 0.06), transparent 60%); */
}

/* flag + title */
.lang-card .flag {
    width: 30px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .06);
    margin-right: 10px;
}

.lang-card .fw-semibold {
    font-weight: 600 !important;
    color: #111827;
    display: flex;
    align-items: center;
}

/* code line */
.lang-card .text-muted {
    color: #6b7280 !important;
    text-align: center;
    margin-left: -12px;
}

/* “Voice” badge styling inside the title */
.lang-card .badge {
    font-size: .68rem;
    padding: .28rem .5rem;
    border-radius: 999px;
    letter-spacing: .2px;
}

.lang-card .badge.bg-primary {
    background: #5646EE !important;
}

/* focus styles for keyboard nav */
.lang-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(86, 70, 238, .35);
}


/* anchor for the in-overlay panel */
#gocheck-advance-overlay .gocheck-advance-content {
    position: relative;
}


/* ===== Voice overlay: top language layer ===== */
.overlay-lang-panel {
    width: 100%;
    height: 100vh;
    position: absolute;
    background: #222226;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    z-index: 1110 !important;
    padding: 12px 16px 16px;
    opacity: 0;
}

.overlay-lang-panel.show {
    opacity: 1;
    transform: translateY(0);
}

.overlay-lang-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px 10px;
    border-bottom: 1px solid #18181b;
}

.overlay-lang-body {
    padding-top: 10px;
    height: 100%;
}

.overlay-lang-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 10px;
}

.overlay-lang-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    max-height: 100%;
    overflow: auto;
    padding-right: 4px;
    padding: 0rem 1rem 1rem 1rem;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.overlay-lang-track::-webkit-scrollbar {
    width: 6px;
}

.overlay-lang-track::-webkit-scrollbar-thumb {
    background: #5646ee;
    border-radius: 6px;
}

.overlay-lang-track .lang-card {
    background: #36363F;
    border: 1px solid #2c2c31;
    border-radius: 12px;
    /* padding: 10px; */
    margin-bottom: 10px;
    margin-right: 15px;
}

.overlay-lang-track .lang-card.active {
    /* outline: 4px solid #5646ee; */
}

.overlay-lang-track .lang-card .flag {
    width: 30%;
    height: 100%;
    margin-right: 10px;
    border-radius: 0px;
}

.overlay-lang-track .lang-card:hover {
    cursor: default;
}

.h-100vh {
    height: 100vh !important;
}

.flip-x {
    display: inline-block;
    transform: scaleX(-1) rotate(-90deg);
    transform-origin: center;
    margin-right: 8px;
}

.input-section-action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 90px 12px 16px;
    /* space for buttons */
    border-radius: 15px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
    border-color: #36363F;
}

/* Send button inside input */
.send-btn {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #36363f;
    transition: background-color 0.2s ease;
}


/* Primary icon link */
.action-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4636de !important;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.action-link:hover {
    background-color: #0056b3;
}





.dark-mode {
    background-color: #121212 !important;
    color: #eaeaea;
}

.dark-mode .main-admin-table,
.dark-mode .admin-header {
    background-color: #1e1e1e !important;
    color: #eaeaea;
}

.dark-mode .table-hover tbody tr:hover {
    background-color: #2a2a2a;
}

.dark-mode .admin-sidebar {
    background-color: #141414;
}


.card {
    background-color: #36363F !important;
    color: white !important;
}

.text-card-foreground {
    color: #f8f9fa !important;
}

.bg-card {
    background-color: #222226;
}

.border-stroke {
    border-color: #f8f9fa25;
}

.rounded-lg {
    border-radius: .5rem;
}

.border-costume-admin {
    border: 1px solid #f8f9fa25;
}

.text-2xl {
    font-size: 1.5rem !important;

}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #35363f;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-radius: 0px;
}

.main-admin-table {
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-radius: 0px;
}

.nav-link {
    color: #646d74;
}


.card-costume-admin {
    background-color: #171a1c;
    border-radius: 10px !important;
}

.card-header-costume-admin {
    border: 1px solid #f8f9fa25 !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body-costume-admin {
    border: 1px solid #f8f9fa25 !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.card-body-costume-admin {
    margin-top: -1px;
}

.rounded-md {
    border-radius: 10px;
}


:root {
    --c-border: #36363F;
    --c-row-border: rgba(54, 54, 63, .5);
    --c-bg: #171A1C;
    --c-fg: #FFFFFF;
    --c-muted: #B2B4B3;
    --c-blue: #7D6BFF;
    /* link-ish like screenshot */
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--c-bg);
    font-size: .875rem;
    /* like the compact table */
}

.spec-table thead th {
    text-align: left;
    padding: .65rem .75rem;
    font-weight: 600;
    color: var(--c-fg);
    border-bottom: 1px solid var(--c-border);
}

.spec-table tbody td {
    padding: .65rem .75rem;
    vertical-align: top;
    border-bottom: 1px solid var(--c-row-border);
}

.spec-table tbody tr:hover {
    background: #1F2124;
    /* subtle dark hover */
}

/* first column “link” look (blue, underlines on hover) */
.spec-table .prop .prop-link {
    color: var(--c-blue);
    text-decoration: none;
    font-weight: 500;
}

.spec-table .prop .prop-link:hover {
    text-decoration: underline;
}

/* monospace + dim like Type/Default columns */
.spec-table .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: var(--c-muted);
    font-size: .8rem;
}

/* compact switch to match tight rows */
.spec-table .form-check-input {
    width: 2.25rem;
    height: 1.1rem;
}

.spec-table .form-check-input:focus {
    box-shadow: none;
}

#userdetalis {
    width: 100% !important;
}


#userdetalis .offcanvas-end {
    width: calc(100% - 489px) !important;
    height: 100%;
    background-color: #222226;
    /* match your dark theme */
    color: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .45);
}

.w-30 {
    width: 30% !important;
}

.w-10 {
    width: 10% !important;
}

.w-60 {
    width: 60% !important;
}


.overlay-lang-notice {
    background-color: #5646ee38;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 15px;
}

.overlay-lang-notice p {
    font-size: 15px;
    font-weight: normal;
}

.small-alert {
    font-size: 12px !important;
}

.alert-body {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
}

.alert-body svg {
    width: 25px;
    height: 25px;
    margin-left: 14px;
}

.text-alert {
    width: 100%;
    border-left: 1px solid white;
    margin-left: 20px;
    padding: 5px 28px;
}