/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --text-color: #FFFFFF;
    --icon-color: #FFFFFF; /*#ACACBE;*/
    --icon-color-reverse: #ffffff;
    --icon-hover-bg: #5b5e71;
    --placeholder-color: #dcdcdc;
    --outgoing-chat-bg: #343541;
    --incoming-chat-bg: #444654;
    --outgoing-chat-border: #343541;
    --incoming-chat-border: #444654;
    --tabs-bg: #727272;
    --delay: 2.0s;
    --modal-bg: #444654;
    --modal-input-bg: #25252e;
    --www-bg: #4573E8;
}

.light-mode {
    --text-color: #343541;
    --icon-color: #333333; /* #a9a9bc;*/
    --icon-color-reverse: #ffffff;
    --icon-hover-bg: #f1f1f3;
    --placeholder-color: #6c6c6c;
    --outgoing-chat-bg: #FFFFFF;
    --incoming-chat-bg: #F7F7F8;
    --outgoing-chat-border: #FFFFFF;
    --incoming-chat-border: #D9D9E3;
    --tabs-bg: #cccccc;
    --modal-bg: #ffffff;
    --modal-input-bg: #F7F7F8;
    --www-bg: #4573E8;
}

body {
    background: var(--outgoing-chat-bg) !important;
}

input:focus {
    outline: none; /* Removes the outline shown by default */
    border: none; /* Removes the border */
}

.name-hero {
    font-size: 72px;
}

.name {
    font-weight: bold;
}

.nameh {
    font-weight: bold;
    background: -webkit-linear-gradient(#884ea0, #800080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Chats container styling */
.chat-container {
    overflow-y: auto;
    padding-bottom: 100px;
}

:where(.chat-container, textarea)::-webkit-scrollbar {
    width: 6px;
}

:where(.chat-container, textarea)::-webkit-scrollbar-track {
    background: var(--incoming-chat-bg);
    border-radius: 25px;
}

:where(.chat-container, textarea)::-webkit-scrollbar-thumb {
    background: var(--icon-color);
    border-radius: 25px;
}

.bkg_img {
    background-image: url("../images/NaiDA_Bkg.jpeg");
    background-size: cover;
}

/* The sidepanel menu */
.sidepanel {
    height: 100vh; /* Specify a height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 10; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #1B1B22;
    color: white;
    padding: 0px 20px;
    border: none;
    position: absolute;
    right: 0;
    height: 60px;
}

.openbtn:hover {
    background-color: #444;
}

a:link, a:visited {
    /*color: #999999;*/
    text-decoration: none;
    padding-right: 10px;
    margin-left: 10px;
    /*border-right: 1px solid #999999;*/
}

a:hover, a:active {
    color: white;
    text-decoration: none;
    padding-right: 10px;
    margin-left: 10px;
    /*border-right: 1px solid #999999;*/
}

.doclink {
    color: var(--text-color);
    text-decoration: none;
    padding-right: 10px;
    margin-left: 10px;
    border-right: 1px solid #999999;
}

.doclink:hover {
    color: white;
    text-decoration: none;
    padding-right: 10px;
    margin-left: 10px;
    border-right: 1px solid #999999;
}

.default-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 81vh;
    padding: 0 10px;
    text-align: center;
    color: var(--text-color);
}

.default-text h1 {
    font-size: 3.3rem;
}

.default-text p {
    margin-top: 10px;
    font-size: 1.1rem;
}

.default-questions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin-top: 60px;
}

.default-questions .qtn {
    width: 34%;
    color: var(--text-color);
    padding: 10px;
    justify-content: left;
    border: 1px solid var(--incoming-chat-border);
    margin: 5px;
    border-radius: 10px;
}

.default-questions .qtn a:link, a:hover, a:active {
    color: var(--text-color);
    text-decoration: none;
}

/* TABS CONTAINER */
.tabs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tabs-container-pr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: fixed;
    width: 70%;
    right: 15%;
}

.tabs-container > input[type="radio"] {
    display: none;
}

.tabs-container-pr > input[type="radio"] {
    display: none;
}

.tabs-container a:link, a:visited, a:hover {
    color: var(--text-color) !important;
    text-decoration: none !important;
}

.tabs-container-pr a:link, a:visited, a:hover {
    color: var(--text-color) !important;
    text-decoration: none !important;
}

/*.tabs-container > input[type="radio"]:checked + a:link, a:visited, a:hover {*/
/*    !* this is the active tab *!*/
/*    background: #999999; !*var(--outgoing-chat-bg)*!*/
/*    color: #FFFFFF !important;*/
/*    border: 1px solid #1B1B22; !*var(--incoming-chat-bg);*!*/
/*    font-weight: bold;*/
/*}*/


.tabs-container > input[type="radio"]:checked + .tab-label {
    /* this is the active tab */
    background: #25252e; /*var(--tabs-bg);*/
    color: #FFFFFF !important;
    border: 1px solid #1B1B22; /*var(--incoming-chat-bg);*/
    font-weight: bold;
}

.tabs-container-pr > input[type="radio"]:checked + .tab-label {
    /* this is the active tab */
    background: #25252e; /*var(--tabs-bg);*/
    color: #FFFFFF !important;
    border: 1px solid #1B1B22; /*var(--incoming-chat-bg);*/
    font-weight: bold;
}

.tabs-container > input[type="radio"]:checked + a {
    /* this is the active tab */
    color: #FFFFFF !important;
}

.tabs-container-pr > input[type="radio"]:checked + a {
    /* this is the active tab */
    color: #FFFFFF !important;
}

/*.tabs-container > input[type="radio"]:checked + .tab-label a:link, a:visited, a:hover {*/
/*    !* this is the active tab *!*/
/*    !*background: #1B1B22;*!*/
/*    color: #FFFFFF !important;*/
/*    !*border: 1px solid #1B1B22; !*var(--incoming-chat-bg);*!*!*/
/*    !*font-weight: bold;*!*/
/*}*/

.tabs-container > input[type="radio"]:first-child + .tab-label {
    /* target the first tab label */
    /*border-radius: 50px 0 0 50px;*/
    border: 1px solid #1B1B22;
}

.tabs-container-pr > input[type="radio"]:first-child + .tab-label {
    /* target the first tab label */
    /*border-radius: 50px 0 0 50px;*/
    border: 1px solid #1B1B22;
}

.tabs-container > input[type="radio"]:last-of-type + .tab-label {
    /* target the last tab label */
    /*border-radius: 0 50px 50px 0;*/
    border: 1px solid #1B1B22;
}

.tabs-container-pr > input[type="radio"]:last-of-type + .tab-label {
    /* target the last tab label */
    /*border-radius: 0 50px 50px 0;*/
    border: 1px solid #1B1B22;
}

.tabs-container > input[type="radio"]:not(:checked) + .tab-label + .tab-content {
    /* hide inactive tabs */
    display: none;
}

.tabs-container-pr > input[type="radio"]:not(:checked) + .tab-label + .tab-content {
    /* hide inactive tabs */
    display: none;
}

.tabs-container .tab-label {
    /*border-radius: 5px;*/
    padding: 5px 15px;
    color: white;
    background: var(--outgoing-chat-bg);
    border: 1px solid #1B1B22;
}

.tabs-container-pr .tab-label {
    /*border-radius: 5px;*/
    padding: 5px 15px;
    color: white;
    background: var(--outgoing-chat-bg);
    border: 1px solid #1B1B22;
}


.tabs-container .tab-label a::before {
    content: attr(data-desktop-text);
    /*display: block;*/
}

.tabs-container-pr .tab-label a::before {
    content: attr(data-desktop-text);
    /*display: block;*/
}

.chat-container .chat {
    padding: 25px 10px;
    display: flex;
    justify-content: center;
    color: var(--text-color);
}

.chat-container .chat.outgoing {
    background: var(--outgoing-chat-bg);
    border: 1px solid var(--outgoing-chat-border);
}

.chat-container .chat.incoming {
    background: var(--incoming-chat-bg);
    border: 1px solid var(--incoming-chat-border);
}

.chat .chat-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: flex-start;
    justify-content: start;
}

span.material-symbols-rounded {
    user-select: none;
    cursor: pointer;
}

.chat .chat-content span {
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--icon-color);
    visibility: hidden;
}

.chat:hover .chat-content:not(:has(.typing-animation), :has(.error)) span {
    visibility: visible;
}

.chat .chat-details {
    display: flex;
    align-items: center;
}

.chat .chat-details img {
    width: 35px;
    height: 35px;
    align-self: flex-start;
    object-fit: cover;
    border-radius: 2px;
}

.chat .chat-details p {
    white-space: pre-wrap;
    font-size: 1.05rem;
    padding: 0 50px 0 25px;
    color: var(--text-color);
    word-break: break-word;
}

.chat .chat-details p.error {
    color: #e55865;
}

.chat .typing-animation {
    padding-left: 25px;
    display: inline-flex;
}

.typing-animation .typing-dot {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    margin: 0 3px;
    opacity: 0.7;
    background: var(--text-color);
    animation: animateDots 1.5s var(--delay) ease-in-out infinite;
}

.typing-animation .typing-dot:first-child {
    margin-left: 0;
}

@keyframes animateDots {
    0%, 44% {
        transform: translateY(0px);
    }
    28% {
        opacity: 0.4;
        transform: translateY(-6px);
    }
    44% {
        opacity: 0.2;
    }
}

/* Admin container styling */
.admin-container {
    overflow-y: auto;
    color: var(--text-color);
    padding: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.admin-container h1 {
    display: inline-block;
}

.admin-container h2 {
    display: inline-block;
}

.admin-container .summary {
    display: flex;
}

.admin-container .stats {
    display: flex;
}

.admin-container select {
    position: absolute;
    right: 30px;
    top: 40px;
    padding: 4px 10px;
    border-radius: 5px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    width: 140px;
}

.admin-container hr {
    border: 1px solid #dadce0;
}

.admin-container .stat2 {
    display: grid;
    width: 50%;
    margin: 40px 0;
    height: 300px;
    padding: 5px 10px;
}

.admin-container .stat3 {
    display: grid;
    width: 33%;
    margin: 40px 0;
    height: 300px;
    padding: 5px 10px;
}

.admin-container .metric {
    display: grid;
    width: 25%;
    color: var(--text-color);
    margin: 30px 0;
    height: 120px;
    padding: 5px 10px;
}

.admin-container .metric-old {
    display: inline-block;
    font-size: small;
}

.top-margin30 {
    margin-top: 30px;
}

.top-margin50 {
    margin-top: 50px;
}

.bottom-border {
    border-bottom: 1px solid #dadce0;
}

.right-border {
    border-right: 1px solid #dadce0;
}

.admin-db {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    width: 100%; /* Ensure full width */
    margin-top: -200px;
    text-align: center;
    color: var(--text-color);
}

#adminTopUsers tr {
    height: 30px;
    border-bottom: 1px solid #555555;
}

#adminTopUsers tr:last-child {
    border-bottom: none;
}

#adminTopQueries tr {
    height: 30px;
    border-bottom: 1px solid #555555;
}

#adminTopQueries tr:last-child {
    border-bottom: none;
}


/* Arrows */
.arrow {
    border: solid #dadce0;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin: 0 5px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.triangle-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #dadce0;
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

.triangle-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #dadce0;
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 5px solid #dadce0;
    border-bottom: 5px solid transparent;
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 5px solid #dadce0;
    border-bottom: 5px solid transparent;
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

/* Arrows End *?

/* Typing container styling */
.typing-container {
    position: fixed;
    bottom: 0;
    width: 85%;
    left: 15%;
    display: flex;
    padding: 20px 10px;
    justify-content: center;
    background: var(--outgoing-chat-bg);
    border-top: 1px solid var(--incoming-chat-border);
}

.typing-container-pr {
    position: fixed;
    bottom: 0;
    width: 70%;
    left: 15%;
    display: flex;
    padding: 20px 10px;
    justify-content: center;
    background: var(--outgoing-chat-bg);
    border-top: 1px solid var(--incoming-chat-border);
}

.typing-container1 {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* left: 15%; */
    display: flex;
    padding: 20px 10px;
    justify-content: center;
    background: var(--outgoing-chat-bg);
    border-top: 1px solid var(--incoming-chat-border);
}

.typing-container .typing-content {
    display: flex;
    max-width: 950px;
    width: 100%;
    align-items: flex-end;
}

.typing-container-pr .typing-content {
    display: flex;
    max-width: 950px;
    width: 100%;
    align-items: flex-end;
}

.typing-container1 .typing-content {
    display: flex;
    max-width: 950px;
    width: 100%;
    align-items: flex-end;
}

.typing-container .typing-textarea {
    width: 100%;
    display: flex;
    position: relative;
}

.typing-container-pr .typing-textarea {
    width: 100%;
    display: flex;
    position: relative;
}

.typing-container1 .typing-textarea {
    width: 100%;
    display: flex;
    position: relative;
}

.typing-textarea textarea {
    resize: none;
    height: 55px;
    width: 100%;
    border: none;
    padding: 15px 45px 15px 20px;
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 4px;
    max-height: 250px;
    overflow-y: auto;
    background: var(--incoming-chat-bg);
    outline: 1px solid var(--incoming-chat-border);
}

.typing-textarea textarea::placeholder {
    color: var(--placeholder-color);
}

.typing-content span {
    width: 55px;
    height: 55px;
    display: flex;
    border-radius: 4px;
    font-size: 1.35rem;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
}

.typing-textarea span {
    position: absolute;
    right: 0;
    bottom: 0;
    visibility: hidden;
}

.typing-textarea textarea:valid ~ span {
    visibility: visible;
}

.file-container {
    height: 96px;
    display: flex;
    flex-direction: column;
    /*margin-bottom: 10px;*/
    justify-content: center;
    align-items: center;
}

.file-row {
    height: 50px;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;

    max-width: 950px;
    width: 100%;
    align-items: flex-start;
}

.file-row-left {
    justify-content: flex-start;
}

.file-row-center {
    justify-content: center;
}

.tag {
    display: inline-block;
    background-color: var(--outgoing-chat-bg);
    border: 1px solid var(--incoming-chat-border);
    color: var(--text-color);
    border-radius: 3px;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
}

.tag .tagclose {
    margin-left: 10px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.tag .tagclose:hover {
    color: #f00;
}

.typing-controls {
    display: flex;
}

.typing-controls span {
    margin-left: 7px;
    font-size: 1.4rem;
    background: var(--incoming-chat-bg);
    outline: 1px solid var(--incoming-chat-border);
}

.typing-controls span:hover {
    background: var(--icon-hover-bg);
}


/* Overlay that covers the entire screen */
#upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* semi-transparent background */
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensure it's on top of other elements */
}

/* Modal styling */
#upload-modal {
    background-color: var(--incoming-chat-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#upload-modal p {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}

#upload-closeBtn {
    width: 100%;
    position: relative;
    top: 0;
    right: 10px;
    text-align: right;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.toast {
    visibility: hidden; /* Hidden by default. Visible when shown */
    min-width: 250px; /* Minimum width */
    margin-left: -125px; /* Center the toast */
    background-color: var(--incoming-chat-bg); /* Black background color */
    color: #333; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 5px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 50%; /* Center the toast horizontally */
    top: 60px; /* 30px from the bottom */
    font-size: 17px; /* Increase font size */
    opacity: 0; /* Invisible by default */
    transition: opacity 0.5s ease; /* Fade in and out effect */
}

.toast.show {
    visibility: visible; /* Show the toast */
    opacity: 1; /* Fully visible */
}


.spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#uploadBtn {
    margin-top: 30px;
    padding: 10px 20px;
    background: #800080; /*-webkit-linear-gradient(#884ea0, #800080);*/
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#upload-btn {
    margin-right: 7px;
    font-size: 1.4rem;
    background: var(--incoming-chat-bg);
    outline: 1px solid var(--incoming-chat-border);
}

/* Reponsive Media Query */
@media screen and (max-width: 600px) {
    .default-text h1 {
        font-size: 2.3rem;
    }

    :where(.default-text p, textarea, .chat p) {
        font-size: 0.95rem !important;
    }

    .chat-container .chat {
        padding: 20px 10px;
    }

    .chat-container .chat img {
        height: 32px;
        width: 32px;
    }

    .chat-container .chat p {
        padding: 0 20px;
    }

    .chat .chat-content:not(:has(.typing-animation), :has(.error)) span {
        visibility: visible;
    }

    .typing-container {
        padding: 15px 10px;
    }

    .typing-textarea textarea {
        height: 45px;
        padding: 10px 40px 10px 10px;
    }

    .typing-content span {
        height: 45px;
        width: 45px;
        margin-left: 5px;
    }

    span.material-symbols-rounded {
        font-size: 1.25rem !important;
    }
}

/*.header {*/
/*    background-color: #1B1B22;*/
/*    color: #ffffff;*/
/*    height: 60px;*/
/*    line-height: 60px;*/
/*    text-align: left;*/
/*    padding-left: 20px;*/
/*    position: fixed;*/
/*    font-size: 36px;*/
/*    width: 100%;*/
/*    top: 0;*/
/*    z-index: 2; !* Higher z-index to stay above content and left pane *!*/
/*}*/
header {
    background-color: #1B1B22;
    height: 60px;
    width: 100%;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures the header stays on top */
    /* Add other styles for background, padding, etc., as needed */
}

.header {
    margin: 0 auto;
    width: 100%; /* Adjust as per your design */
    position: relative;
    height: 60px;
    font-size: 36px;
    line-height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    /* Add additional styling such as padding, background color etc. */
}

.logout-button {
    position: absolute;
    right: 0;
    top: 50%;
    /*padding-right: 20px;*/
    transform: translateY(-50%); /* Centers the link vertically */
    background-color: #1B1B22; /* Change as needed */
    color: white;
    height: 60px;
    line-height: 60px;
}

.logout-button:hover {
    color: white; /* Change for hover effect */
    /*padding-right: 20px;*/
}

.user-panel-button {
    position: absolute;
    right: 90px;
    top: 50%;
    /*padding-right: 20px;*/
    transform: translateY(-50%); /* Centers the link vertically */
    background-color: #1B1B22; /* Change as needed */
    color: white;
}

/* Style the tab links */
.vertical-tabs .tablink {
    display: block;
    background-color: #25252e;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.vertical-tabs .tablink:hover {
    background-color: #343541;
    border-radius: 4px;
}

.vertical-tabs .selected {
    background-color: #343541;
    border-radius: 4px;
}

.copyright {
    position: absolute;
    bottom: 0;
    font-size: 12px;
}

.input-container {
    background-color: #f1f1f1;
    bottom: 0;
    left: 15%;
    position: fixed;
    width: 100%;

}

.history-icon {
    position: fixed;
    top: 54px;
    left: 20px;
    cursor: pointer;
    color: var(--icon-color);
    z-index: 10;
    /*display: inline-block;*/
    /*  margin: 10px;*/
}

.new-icon {
    position: fixed;
    top: 54px;
    left: 65px;
    cursor: pointer;
    color: var(--icon-color);
    z-index: 10;
    /*display: inline-block;*/
    /*  margin: 10px;*/
}

.history-container {
    display: none;
    position: fixed;
    background-color: var(--incoming-chat-bg);
    border: 1px solid #ccc;
    padding: 10px;
    right: 30px;
    top: 104px;
    width: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 11;
}

.history-item {
    margin-bottom: 5px;
    display: block;
    background-color: var(--incoming-chat-bg);
    color: var(--text-color);
    height: 27px;
}

.history-icon span {
    height: 50px;
    width: 30px;
    font-size: 30px;
    line-height: 2.5em;
    color: var(--icon-color-reverse);
}

.new-icon span {
    height: 50px;
    width: 30px;
    font-size: 30px;
    line-height: 2.5em;
    color: var(--icon-color-reverse);
}

.history-icon:hover + .history-container,
.history-container:hover {
    display: block;
}

.right-pane {
    position: fixed; /* Changed from absolute to fixed */
    top: 120px; /* Adjust to header height */
    bottom: 120px; /* Adjust to footer height */
    right: 0;
    width: 15%; /* Adjust as needed */
    background-color: #25252e;
    color: #ffffff;
    padding: 10px;
    z-index: 1; /* Lower z-index than footer */
    box-sizing: border-box;
}


.left-pane {
    position: fixed; /* Changed from absolute to fixed */
    top: 60px; /* Adjust to header height */
    bottom: 0px; /* Adjust to footer height */
    left: 0;
    width: 15%; /* Adjust as needed */
    background-color: #25252e;
    color: #ffffff;
    padding: 10px;
    z-index: 1; /* Lower z-index than footer */
    box-sizing: border-box;
}

.left-pane1 {
    position: fixed; /* Changed from absolute to fixed */
    top: 60px; /* Adjust to header height */
    bottom: 0px; /* Adjust to footer height */
    left: 0;
    width: 10%; /* Adjust as needed */
    background-color: #25252e;
    color: #ffffff;
    padding: 10px;
    z-index: 1; /* Lower z-index than footer */
    box-sizing: border-box;
}

.project-files {
    height: 70vh;
    list-style-type: none;
}

.project-files li {
  display: flex;
  align-items: center;
    height: 40px;
}

.project-files li .item-text {
  flex: 1;              /* allow the text span to grow and shrink */
  white-space: nowrap;  /* keep the text in a single line */
  overflow: hidden;     /* hide overflowed text */
  text-overflow: ellipsis; /* add ellipsis (...) when text overflows */
  margin-right: 10px;   /* add some spacing before the delete icon */
}

.project-files li .delete-file {
    padding: 10px 10px;
    color: #FFFFFF;
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the overflowed content */
    text-overflow: ellipsis;
    cursor: pointer;
    display: none;
    justify-content: space-between;
    align-items: center;
}

.project-files li:hover .delete-file {
    /*background-color: #444654;*/
    /*border-radius: 5px;*/
    display: inline-flex;
}

.saved-convs {
    margin-top: 70px;
    height: 81vh;
    list-style-type: none;
}

.saved-convs li {
    padding: 10px 10px;
    color: #FFFFFF;
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the overflowed content */
    text-overflow: ellipsis;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saved-convs li .rename-icon {
    display: none;
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 14px;
    background-color: #444654;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
}

.edit-input {
    display: none;
    width: calc(100% - 25px);
    background-color: #343541;
    color: #ffffff;
}

.saved-convs li .selected {
    background-color: #444654;
}

.saved-convs li:hover {
    background-color: #444654;
    border-radius: 5px;
}

.saved-convs li:hover .rename-icon {
    display: inline-block;
}

.icon-padding {
    padding-right: 10px;
}

.content {
    position: absolute;
    top: 60px; /* Adjust based on header height */
    /*bottom: 96px; !* Adjust based on footer height *!*/
    left: 15%; /* Adjust to match left pane width */
    right: 0;
    overflow-y: auto;
    padding: 10px;
    z-index: 1; /* Same z-index as left pane */
    box-sizing: border-box;
}

.content1 {
    position: relative;
    top: 60px;
    /* left: 15%; */
    /* right: 0; */
    /*overflow-y: auto;*/
    padding: 10px 0;
    z-index: 1;
    box-sizing: border-box;
    height: 60px;
    background: var(--outgoing-chat-bg);
}

.content2 {
    position: absolute;
    top: 60px; /* Adjust based on header height */
    /*bottom: 96px; !* Adjust based on footer height *!*/
    left: 10%; /* Adjust to match left pane width */
    right: 0;
    overflow-y: auto;
    padding: 10px;
    z-index: 1; /* Same z-index as left pane */
    box-sizing: border-box;
}


.content-admin {
    position: absolute;
    top: 60px; /* Adjust based on header height */
    bottom: 0px; /* Adjust based on footer height */
    left: 15%; /* Adjust to match left pane width */
    right: 0;
    background-color: #FFFFFF;
    overflow-y: auto;
    padding: 30px;
    /*padding-top: 50px;*/
    z-index: 1; /* Same z-index as left pane */
    box-sizing: border-box;
}

.admin-add-button {
    position: absolute;
    right: 30px;
    height: 32px;
    background-color: purple;
    color: white;
    padding: 0 20px;
    border: 1px solid purple;
    border-radius: 5px;
    z-index: 100;
    cursor: pointer;
}

.admin-save-button {
    height: 32px;
    background-color: purple;
    color: white;
    padding: 0 20px;
    border: 1px solid purple;
    border-radius: 5px;
    cursor: pointer;
}

.admin-cancel-button {
    height: 32px;
    padding: 0 20px;
    border: 1px solid #999999;
    border-radius: 5px;
    cursor: pointer;
}

.admin-row-button {
    border: 0px;
    cursor: pointer;
}

.recordtable {
    width: 100%;
}

.recordtable td:nth-child(1) {
    width: 20%;
    text-align: left;
    padding-left: 20px;
    height: 81px;
    background-color: #cccccc;
    vertical-align: middle;
    line-height: 54px;
}

.recordtable td:nth-child(2) {
    width: 80%;
    text-align: left;
    padding-left: 20px;
    height: 81px;
    background-color: #f5f5f5;
}

.recordtable td:nth-child(2) input[type=text], input[type=password] {
    text-align: left;
    padding-left: 5px;
    height: 32px;
    border: 1px solid #cccccc;
    width: 60%;
}

.recordtable td:nth-child(2) select {
    text-align: left;
    padding-left: 5px;
    height: 32px;
    border: 1px solid #cccccc;
    width: 60%;
}

.setpassword {
    font-size: small;
    padding-right: 10px;
    font-style: oblique;
    text-decoration: underline;
    color: #6f42c1 !important;
}

.setpassword:hover {
    font-size: small;
    padding-right: 10px;
    font-style: oblique;
    color: #6f42c1 !important;
    text-decoration: underline;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: var(--modal-bg) !important;
    height: 180px;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Maximum width */

}

.confirm-button {
    background-color: #800080;
    color: white;
    border: none;
    width: 120px;
    border-radius: 5px;
    margin: auto;
    padding: 5px 20px;
}

.modal-content > input[type="text"] {
    padding: 7px 10px;
    background-color: var(--modal-input-bg);
    border: 0 solid var(--incoming-chat-border) !important;
    color: var(--text-color);
}

.modal-content > span {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 7px;
    color: var(--text-color);
}

.close {
    color: #aaa;
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
}

.close:hover,
.close:focus {
    /*color: black;*/
    text-decoration: none;
    cursor: pointer;
}

.module-desc {
    padding-top: 10px;
    padding-bottom: 10px;
}

.module-desc .mcheck {
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}

.module-desc .mname {
    font-weight: bold;
}

.module-desc .mdesc {
    font-style: oblique;
    font-size: small;
}

.module-desc p {
    display: inline-block;
}

.dataTables_filter {
    float: left !important;
    padding-bottom: 20px !important;
}

.dataTables_paginate,
.dataTables_length {
    padding-top: 20px !important;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    width: 100%; /* Ensure full width */
}

.login-left-column, .login-right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%; /* Half of the container width */
}

/*.login-container {*/
/*    display: flex;*/
/*    height: 100vh; !* Full viewport height *!*/
/*}*/

.login-error-message {
    color: red;
    /*margin-bottom: 1em;*/
    display: none; /* Hidden initially */
    text-align: left;
}

/*.login-left-column {*/
/*    flex: 2;*/
/*    !*background-image: url('../images/legal.jpeg'); !* Replace with your image *!*!*/
/*    !*background-size: cover;*!*/
/*    background-color: #25252e;*/
/*}*/

.branding {
    font-size: 81px;
    color: #ffffff;
    text-align: center;
    margin: auto;
    padding: 20px;
    letter-spacing: 9px;
    background-color: #25252e;
    position: absolute;
    /*left: 25%;*/
    /*transform: translateX(-50%);*/
}

.branding p {
    font-weight: bold;
}

.branding p {
    font-size: 23px;
}

.quote-of-the-day p {
    margin-top: 10px;
    font-style: italic;
    font-size: 14px;
    quotes: "“" "”" "‘" "’";
}

.quote-of-the-day .header {
    margin-top: 30px;
    font-size: 16px;
    font-style: normal;
}

.quote-of-the-day p:before {
    content: open-quote;
}

.quote-of-the-day p:after {
    content: close-quote;
}

.module-header {
    font-size: 23px;
    letter-spacing: 1.5px;
}

/*.login-right-column {*/
/*    flex: 1;*/
/*    !*display: flex;*!*/
/*    !*justify-content: center;*!*/
/*    align-items: center;*/
/*    background-color: #25252e; !* Light grey background *!*/
/*}*/

.login-form {
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
    padding: 3em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    text-align: center;
    border-radius: 7px;
}

.login-form h2 {
    text-align: left;
    padding-bottom: 16px;
}

.login-form-group {
    margin-bottom: 1em;
    text-align: left;
}

.login-form-group label {
    display: block;
    margin-bottom: 0.5em;
}

.login-form-group input {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-button {
    width: 100%;
    padding: 1em;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-size: 1em;
    cursor: pointer;
}

.login-button:hover {
    background-color: #0056b3;
}

.transparent-div {
    background-color: rgba(255, 255, 255, 0.5); /* White with 50% transparency */
    color: black; /* Text color */
    padding: 20px;
    /* Add additional styling as needed */
}

.mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .module-header {
        font-size: 14px !important;
        letter-spacing: 1.5px !important;
        vertical-align: middle !important;
    }

    .desktop {
        display: none;
    }

    .content {
        left: 0;
    }

    .typing-container {
        left: 0;
        width: 100%;
    }

    .logout-button {
        display: none;
    }

    .branding {
        position: relative;
        font-size: 54px;
        left: 0%;
        /*transform: initial;*/
    }

    .branding p {
        font-size: 18px;

    }

    .login-container {
        display: block;
        height: 100vh; /* Full viewport height */
        width: 100%; /* Ensure full width */

    }

    .login-form {
        margin-top: 30px;
        width: 90%;
    }

    .login-left-column {
        display: block;
        text-align: center;
        width: 100%;
        padding-top: 50px;
    }

    .login-right-column {
        display: block;
        width: 100%;
    }

    .tabs-container .tab-label a::before {
        content: attr(data-mobile-text);
    }

    .tabs-container .tab-label a {
        font-size: 12px; /* Adjust font size for mobile view */
        padding: 5px 0; /* Adjust padding for mobile view */
        margin: 0;
    }

    /*.tabs-container .tab-label a::after {*/
    /*    content: none; !* Hide original text *!*/
    /*}*/
    .tabs-container .tab-label a span {
        visibility: hidden;
    }

    .user-panel-button {
        right: 0;
    }
}