.text-warning,
.red,
.notifyproblem,
.completion-expired,
span.flagged-tag,
tr.flagged-tag,
span.flagged-tag a,
tr.flagged-tag a,
.moodle-dialogue-exception .param-stacktrace .stacktrace-line,
.connecting {
  color: #ff7518 !important
}

a.text-warning:hover,
a.red:hover,
a.notifyproblem:hover,
a.completion-expired:hover,
span.flagged-tag a:hover,
tr.flagged-tag a:hover,
.moodle-dialogue-exception .param-stacktrace a.stacktrace-line:hover,
a.connecting:hover,
a.text-warning:focus,
a.red:focus,
a.notifyproblem:focus,
a.completion-expired:focus,
span.flagged-tag a:focus,
tr.flagged-tag a:focus,
.moodle-dialogue-exception .param-stacktrace a.stacktrace-line:focus,
a.connecting:focus {
  color: #e45c00 !important
}

.jFiler-theme-default .jFiler-input{
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
}

.jFiler-theme-default .jFiler-input-button{
  background-color: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  background-image: none !important;
}

.selectize-dropdown,
.selectize-input,
.selectize-input input{
  color: var(--bs-body-color);
}

.navbar-brand .logo img {
  width: 3rem;
  margin: 0px;
}
.navbar-brand .logo{
  padding : 1rem;
}
body  a{
  text-decoration: none;
}
body  a:hover{
  text-decoration: underline;
}

#notification-reader {
    display: none;
    transition: right 0.3s ease-in-out;
}
#notification-reader.active {
    right: 0; /* Move on-screen */
}
#notification-list {
    max-height: 500px; /* Adjust the height as needed */
    overflow-y: auto;
}
.notification-item.unread {
    background-color: var(--bs-light);
}
.notification-item.read {
    background-color: var(--bs-body-bg);
}

.notification-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.notification-item:last-child {
    border-bottom: none;
}

/* because of dark mode */
.navbar{
  background-color: var(--bs-body-bg);
  height: 45px;
}
.navbar .wx-nav {
    /* color: rgba(0, 0, 0, .5); */
    /* color: #555; */
    color: var(--bs-body-color);
    cursor: pointer;
    font-size: 0.80rem;
    font-weight: 600;
    text-wrap: nowrap;
}
.navbar .nav-link {
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    text-wrap: nowrap;
    padding: .4rem;
}

#page-header .breadcrumb-item+.breadcrumb-item{
  padding-left: 0px;
}
.breadcrumb-item{
  font-size: 0.8rem;
}

/* .btn, body #page .btn{
  margin: 0px;
  font-size: 0.7rem;
  letter-spacing: .08rem;
  height: 2rem;
  padding: 0 0.7rem;
} */
#page{
  margin-top: 0px !important;
  padding-top: 0px !important;
}
.nav-right-part{
  display: inline-flex;
  max-height: 50px;
}
.nav-right-part .nav-link li{
  font-size: 1rem;
  height: 1rem;
}



.top_page_other_pages{
  cursor: pointer;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
}
.login-container img {
    max-width: 70% ;
    height: auto ;
    border-radius : 15px;
}

.loginpage {
  width:100%;
  height: 100% ;
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  position: fixed;
}


/* if activated makes problem with many filters  */
/* .wx-view-search-bar .input-group {
  /* height: 2.0rem ;
  max-height: 2.25rem ; 
} */
.wx-view-search-bar .selectize-control.multi .selectize-input>div {
  padding: 0px !important;
  border: 0px !important;
  margin: 0px !important;
}
.wx-view-search-bar .input-group .input-group-append{
   /* search btns */
  max-height: 100%;
}

/* .wx-view-search-bar .input-group .selectize-input{
  min-height : 100% !important ;
  border: 1px solid #ccc !important;
} */

body #page .wx-view-search-bar .selectize-control{
   border:0px; /* overwrite css36 */
}


.wx-view-search-bar .input-group select{
  height : auto !important ;
}


 .wx-view-search-bar .selectize-control{
  margin-left: 0px !important;
  padding: 0px !important;
}


.wx_record_btn_group a{
  height: 1.5rem;
}
/* Custom styles go here */

/* Dark mode */
body.dark-mode {
  background-color: #212529;
  color: #f8f9fa;
}

.navbar-dark {
  background-color: #343a40;
}

.bg-dark {
  background-color: #343a40;
}

/* Light mode */
body.light-mode {
  background-color: #f8f9fa;
  color: #212529;
}

.navbar-light {
  background-color: #f8f9fa;
}

.bg-light {
  background-color: #f8f9fa;
}
/* Light theme */
:root,
[data-bs-theme="light"] {
    --jbox-modal-bg: #ffffff;
    --jbox-modal-fg: #212529;
    --jbox-modal-border: #dee2e6;
    --jbox-overlay-bg: rgba(0, 0, 0, 0.45);
    --jbox-title-bg: #f8f9fa;
    --jbox-close-fg: #6c757d;
}

/* Dark theme */
[data-bs-theme="dark"] {
    --jbox-modal-bg: #1f1f1f;
    --jbox-modal-fg: #e9ecef;
    --jbox-modal-border: #343a40;
    --jbox-overlay-bg: rgba(0, 0, 0, 0.7);
    --jbox-title-bg: #2a2a2a;
    --jbox-close-fg: #cfd3d8;
}

/* Same jBox rules as above… */
 .jBox-container {
    background: var(--jbox-modal-bg) ;
    color: var(--jbox-modal-fg) ;
    border: 1px solid var(--jbox-modal-border) ;
}

 .jBox-title {
    background: var(--jbox-title-bg) !important;
    color: var(--jbox-modal-fg) !important;
    border-bottom: 1px solid var(--jbox-modal-border) !important;
}

 .jBox-content {
    color: var(--jbox-modal-fg) ;
    background: var(--jbox-modal-bg);
}

 .jBox-closeButton {
    color: var(--jbox-close-fg) ;
    opacity: .9;
}

 .jBox-closeButton:hover {
    opacity: 1;
}

.jBox-overlay {
    background: var(--jbox-overlay-bg) ;
}.navbar:after{
  content: "";
  background: linear-gradient(to right,#7cab24 50%,#1f2f57 50%) ;
  top: 0;
  display: block;
  height: 0.25rem;
  position: absolute;
  right: 0;
  width: 100%;

  top: 90%;
}
.show-more{
  cursor: pointer;
  text-align: center;
  font-size: .7rem;
  margin: .5rem;
  opacity: .5;
}
.less-height{
  height: 150px;
  overflow: hidden;
}
.auto-height{
  height: auto;
}.navbar .popover-region{
    margin-right: 0px !important;
}

/* flag the icon as connected */

.socket-connected.connected {
    background-color: #0fb635 !important;
    border-radius: 50%;
    padding: 1px;
    width: 5px;
    height: 5px;
    top: 15%;
    left: 65%;
    animation: socket-flash 1s infinite alternate;
}

@keyframes socket-flash {
    0% {
        background-color: #0fb635;
        box-shadow: 0 0 0px 1px #0fb63566;
    }
    100% {
        background-color: #579657;
        box-shadow: 0 0 1px 1px #0fb635cc;
    }
}

/* Chat container and layout */
.chat-container {
    position: fixed;
    bottom: 0;
    right: 0px;
    z-index: 1002;
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    pointer-events: none;
    padding: 0 20px;
    /* max-width: calc(100vw - 360px); / */
    overflow-x: auto;
}

.chat-container > * {
    pointer-events: auto;
}

.chat-container .chat-log.hover {
    border: 2px dashed blue;
    background-color: #f0f0f0;
}

.chat-container .wx_chat_icons {
    display: grid;
}

.chat-container .chat-img {
    width: 100%;
    cursor: zoom-in;
}

.chat-container .chat-video {
    width: 200%;
    cursor: pointer;
}

/* Chat box styles */
.chat-box {
    position: relative;
    width: 300px;
    /* height: 400px; */
    max-height: 70vh;
    bottom: 0px; 
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-right: 20px;
    pointer-events: auto;
    flex-shrink: 0; /* Prevent chat boxes from shrinking */
}

.chat-box.active {
    display: flex;
    z-index: 1002;
}

.chat-box.minimized {
    height: 45px; /* Height of the header */
}

.chat-box.minimized .messages-container,
.chat-box.minimized .chat-input-container {
    display: none;
}

.chat-box:first-child {
    margin-right: 0;
}

.chat-box, 
.chat-box * {
    pointer-events: auto;
}

/* Chat message styles */
.chat-message {
    max-width: 70%;
    margin: 1px;
    padding: 2px 0px;
    border-radius: 15px;
    position: relative;
    clear: both;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    max-width: 90%;
}

.chat-message.sent {
    float: right;
    color: #333;
    margin-left: 20%;
    margin-left: auto;
    flex-direction: row-reverse;
}

.chat-message.received {
    float: left;
    color: #333;
    margin-right: 20%;
    margin-right: auto;
}

.chat-message.highlighted {
    animation: highlight-message 2s ease;
}

/* Message content styling */
.chat-container .message-content {
    word-wrap: break-word;
    padding: 0 4px;
    position: relative;
}

.chat-container .message-content::before {
    display: none;
}
.user-list .dots-button{
    padding: 5px 10px;
    border: 1px solid transparent;
}
.user-list .dots-button:hover{
    border: 1px solid #ddd;
}
/* Message metadata */
.message-meta {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
    color: #95a5a6;
}


/* Reply functionality */
.message-actions {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s;
}

/* Add hover state to show message actions */
.chat-message:hover .message-actions {
    opacity: 1;
}

.sent .message-actions {
    left: -30px;
}

.received .message-actions {
    right: -30px;
}

/* Reply button */
.btn-reply {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #6c757d;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #f8f9fa;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-reply:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

/* Chat input container */
.chat-input-container {
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}

/* Reply preview */
.reply-preview {
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.reply-preview-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6c757d;
    font-size: 0.9em;
}

.reply-text {
    color: #495057;
    font-size: 0.9em;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 8px;
    border-left: 2px solid #17a2b8;
}

/* Replied message in chat */
.replied-message {
    background: rgba(0,0,0,0.03);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chat-box.maximized{
    /* width: 70%;
    position: fixed;
    z-index: 1002;
    background: #fff;
    left: calc(20%); */
    height: 90%;
    width: 80%;
    position: fixed;
    z-index: 1002;
    background: #fff;
    left: calc(10%);
    top: 15%;
    box-shadow: 0px 0px 5px 2px #555;
}

.replied-message:hover {
    background: rgba(0,0,0,0.05);
}

.replied-message .reply-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2196f3;
    font-size: 0.85em;
    margin-bottom: 4px;
}

.replied-message .reply-header i {
    font-size: 12px;
}

.replied-message .reply-text {
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 18px;
    border-left: 2px solid #2196f3;
}

/* Sent message with reply styling */
.chat-message.sent .replied-message {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 6px 8px;
    margin-bottom: 6px;
}

.chat-message.sent .replied-message .reply-header {
    color: #333;
}

.chat-message.sent .replied-message .reply-text {
    color: #333;
    border-left-color: #2196f3;
    opacity: 0.8;
}
.chat-container .message-content{
    border-radius: 12px;
    padding: 8px;
    max-width: 75%;
}
.chat-container .chat-message.sent .message-content {
    background: #d3e7fd;
    border-bottom-right-radius: 3px;

}
.chat-container .chat-message.received .message-content {
    background: #f0f0f0;
    border-bottom-left-radius: 3px;
}

/* Chat header */
.chat-header {
    padding: 4px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
    flex-shrink: 0;
}
.message-reaction{
    color: #95a5a6;
    background-color: #f0f0f0;
    border: 1px solid #eee;
    position: absolute;
    bottom : -10px;
    left: -10px;
    border-radius: 43%;
    padding: 3px;
    box-shadow: 1px 1px 1px #ddd;
    font-size: 8px;
}
/* left because its alwayes sent message */
.message-internal-user {
    position: absolute;
    top: 14px;
    font-size: 8px;
    left: 0px;
    color: #ccc;
}
/* right because its alwayes received message */
.message-group-contact{
    position: absolute;
    bottom: 27px;
    font-size: 8px;
    right: 0px;
    color: #ccc;
    max-width: 22%;
}
.chat-header .user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0; /* Enable text truncation */
    font-size: 12px;
    margin: 5px;
}

.chat-header .user-picture , .chat-container .user-picture {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-header .user-name {
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.chat-header .user-status {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.chat-header .user-status .fa-circle {
    font-size: 8px;
}

.chat-header .chat-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.chat-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.chat-header .btn-audio-call,
.chat-header .btn-video-call,
.chat-header .btn-minimize,
.chat-header .btn-maximize,
.chat-header .btn-close {
    padding: 4px;
    border: none;
    background: none;
    color: #95a5a6;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.chat-header .btn-close:hover { color: #e74c3c; }
.chat-header .btn-audio-call:hover { color: #28a745; }
.chat-header .btn-video-call:hover { color: #2196f3; }
.chat-header .btn-minimize:hover { color: #2c3e50; }

/* Chat body */
.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* Messages container */
.messages-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: calc(100% - 90px); /* Account for header and input */
    min-height: 0; /* Enable proper flexbox scrolling */
}

.messages-container::-webkit-scrollbar {
    width: 6px;
}

.messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.messages-container::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

/* Chat footer */
.chat-footer {
    padding: 10px;
    border-top: 1px solid var(--bs-border-color);
    min-height: 60px;
    flex-shrink: 0;
    background: var(--bs-body-bg);
}

.chat-footer .input-group {
    display: flex;
    gap: 5px;
}

/* Input wrapper */
.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bs-body-bg);
    border-radius: 20px;
    padding: 4px 8px;
    position: relative;
}

.input-wrapper.has-content .btn-send {
    display: flex;
}

.input-wrapper.has-content .btn-voice {
    display: none;
}

/* Chat input */
.chat-input {
    resize: none;
    flex: 1;
    border: none;
    background: none;
    padding: 8px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
    outline: none;
    margin: 0;
    width: auto !important;
    padding: 7px;
    height: 100% !important;
    max-width: 80%;
}

.message-status {
    display: inline-block;
    
    font-size: 12px;
}

.message-status .fa-check {
    color: #95a5a6;
}

.message-status .fa-check-double {
    color: #95a5a6;
}

.message-status .text-primary {
    color: #3498db !important;
}

/* Button styles */
.btn-icon {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}

.btn-icon:hover {
    color: #495057;
}

.btn-voice,
.btn-send,
.btn-attachment {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--bs-body-color);
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.btn-voice:hover,
.btn-send:hover,
.btn-attachment:hover {
    background: var(--bs-light);
    color: var(--bs-body-color);
}

.btn-send {
    color: var(--bs-primary);
    display: none;
}

/* User list container */
.user-list-container {
    position: relative;
    right: 20px;
    bottom: 0;
    width: 300px;
    max-height: 70vh;
    background: var(--bs-body-bg);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    min-height: 70vh;
}

.user-list-container.active {
    display: flex;
}

/* User list header */
#user-list-header {
    padding: 12px 15px;
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-list-title {
    font-weight: 500;
    color: var(--bs-body-color);
    font-size: 14px;
    margin: 0;
}

/* User list */
#user-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: var(--bs-body-bg);
}

#user-list::-webkit-scrollbar {
    width: 6px;
}

#user-list::-webkit-scrollbar-track {
    background: transparent;
}

#user-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

#user-list::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

/* User search */
.chat_users_search-wrapper {
    padding: 10px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.chat_users_search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--bs-border-color);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.chat_users_search:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33,150,243,0.1);
}

/* User item */
.winix-user {
    padding: 8px 8px !important;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* User avatar */
.user-avatar {
    position: relative;
    margin: 0;
    width: 30px;
    height: 30px;
}

.user-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}
.chat-icon{
    position: absolute;
    left: 50%;
    top: 3%;
    padding: 0px 6px;
    border-radius: 0% 0% 25% 25%;
    background: #ddd;
    opacity: 0.3;
    transform: translate(-50%, -50%);
}
/* User status */
.user_status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    color: #95a5a6;
    opacity: 0.7;
}

.user_status .fa-circle {
    font-size: 8px;
}

.user_status.online , .user_status.online .fa-circle {
    color: #28a745 !important;
    opacity: 1 !important;
}


/* User info */
.user-info {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
}

.user-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 13px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #95a5a6;
}

/* Badge */
.badge-container {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.badge {
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 500;
    min-width: 18px;
    text-align: center;
    background: #17a2b8;
    color: white;
    border-radius: 10px;
}

/* Time display */
.user-info time {
    font-size: 0.65em;
    color: #6c757d;
}

.chat-last-access-user {
    font-size: 11px;
    color: #95a5a6;
    white-space: nowrap;
    margin-left: auto;
}

/* Close button */
.chat-box-close-btn {
    cursor: pointer;
    padding: 4px 8px;
    color: #95a5a6;
    transition: color 0.2s;
    font-size: 16px;
    border-radius: 4px;
}

.chat-box-close-btn:hover {
    color: #e74c3c;
    background: rgba(0,0,0,0.05);
}

/* Voice recording styles */
.recording-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 20px;
    color: #dc3545;
    animation: pulse 1.5s infinite;
}

.recording-indicator span {
    font-size: 14px;
    color: #666;
}

.recording-indicator .btn-stop-recording {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.recording-indicator .btn-stop-recording:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Audio message styling */
.audio-message {
    width: 170px;
    max-width: 100%;
}

.audio-message audio {
    width: 160%;
    height: 36px;
    border-radius: 18px;
}

.audio-message audio::-webkit-media-controls-panel {
    background: #f8f9fa;
}

.sent .audio-message audio::-webkit-media-controls-panel {
    background: rgba(255,255,255,0.1);
}

.audio-message audio::-webkit-media-controls-current-time-display,
.audio-message audio::-webkit-media-controls-time-remaining-display {
    color: #666;
}

.sent .audio-message audio::-webkit-media-controls-current-time-display,
.sent .audio-message audio::-webkit-media-controls-time-remaining-display {
    color: rgba(255,255,255,0.9);
}

/* Call container */
#call-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
}

#call-container.active {
    display: flex;
}

/* Floating call controls */
.floating-call-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 10px;
    z-index: 1999;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 220px;
}

.floating-call-controls.active {
    display: flex;
}

.floating-call-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-call-title {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-call-title .call-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #28a745;
}

.floating-call-title .call-status.audio-only {
    background: #17a2b8;
}

.floating-call-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.floating-call-buttons button {
    padding: 8px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
}

.floating-call-buttons button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-call-buttons button.active {
    background: #2196f3;
}

.floating-call-buttons button.muted {
    background: #dc3545;
}

.floating-call-buttons button.end-call {
    background: #dc3545;
    grid-column: span 2;
}

.floating-call-buttons button.end-call:hover {
    background: #c82333;
}

.floating-call-duration {
    color: white;
    font-size: 12px;
    text-align: center;
    margin-top: 8px;
}

/* Font Awesome icons */
/* .fa {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
} */

.fa-smile:before { content: "\f118"; }
.fa-microphone:before { content: "\f130"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-phone:before { content: "\f095"; }
.fa-video:before { content: "\f03d"; }
.fa-minus:before { content: "\f068"; }
.fa-times:before { content: "\f00d"; }

.chat-actions .fa {
    font-size: 14px;
}

.btn-audio-call .fa-phone {
    transform: rotate(90deg);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes highlight-message {
    0% { background-color: rgba(33, 150, 243, 0.2); }
    100% { background-color: inherit; }
}

/* Emoji picker styles */
.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    margin-bottom: 8px;
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.emoji-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.emoji-item:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

/* Button styles */
.btn-emoji {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.btn-emoji:hover {
    color: #495057;
    background-color: rgba(0,0,0,0.05);
}

/* Input wrapper adjustments */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1px;
}

/* Scrollbar styles for emoji picker */
.emoji-picker::-webkit-scrollbar {
    width: 6px;
}

.emoji-picker::-webkit-scrollbar-track {
    background: transparent;
}

.emoji-picker::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.emoji-picker::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

/* Call notification */
.call-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    overflow: hidden;
    animation: slide-in 0.3s ease;
}

/* Calling notification (outgoing call) */
.call-notification.calling {
    background: #f8f9fa;
    border-left: 4px solid #17a2b8;
}

.call-notification.calling .call-type {
    color: #17a2b8;
    animation: pulse 1.5s infinite;
}

.call-notification.calling .btn-end-call {
    background: #dc3545;
    color: white;
    width: 100%;
}

.call-notification.calling .btn-end-call:hover {
    background: #c82333;
}

.call-notification-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.caller-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.caller-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.caller-details {
    flex: 1;
}

.caller-name {
    font-weight: 500;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.call-type {
    font-size: 13px;
    color: #6c757d;
}

.call-notification-actions {
    display: flex;
    padding: 10px;
    gap: 10px;
}

.call-notification-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-accept-call {
    background: #28a745;
    color: white;
}

.btn-accept-call:hover {
    background: #218838;
}

.btn-reject-call {
    background: #dc3545;
    color: white;
}

.btn-reject-call:hover {
    background: #c82333;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Highlight dropzone when dragging files over it */
.chat-box.hover {
    border: 2px dashed #2196f3 !important;
    background-color: rgba(33, 150, 243, 0.1) !important;
}

/* Confirmation message for file upload */
.upload-confirmation {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Voice Preview Container and Controls */
.voice-preview-container {
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 5px;
}

.voice-preview-container audio {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}

.voice-preview-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-send-voice, .btn-cancel-voice {
    flex: 1;
    border: none;
    padding: 8px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-send-voice {
    background-color: #28a745;
    color: white;
}

.btn-send-voice:hover {
    background-color: #218838;
}

.btn-cancel-voice {
    background-color: #dc3545;
    color: white;
}

.btn-cancel-voice:hover {
    background-color: #c82333;
}

/* Typing indicator styles */
.status-text.typing {
    color: #2196f3;
    font-style: italic;
    font-size: 12px;
    display: inline-block;
    animation: typing-pulse 1.4s infinite;
}

@keyframes typing-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}div.dts div.dt-scroll-body table, div.dts div.dataTables_scrollBody table{
    z-index: 0 !important;
}.responsive-btn-group {
    position: relative;
    font-family: inherit;
    font-size: 0.75rem;
}


/* Desktop: Show button group normally */
@media (min-width: 992px) {
    .responsive-btn-group .btn-group {
        display: flex !important;
    }
}

/* Mobile/Tablet: Transform to dropdown-like appearance */
@media (max-width: 991.98px) {
    .responsive-btn-group {
        position: relative;
    }

    .responsive-btn-group .btn-group {
        position: relative;
        display: block !important;
    }

    /* Hide all original buttons/links by default */
    .responsive-btn-group .btn-group .btn {
        display: none !important;
    }

    /* Create "Actions" dropdown button */
    .responsive-btn-group .btn-group::before {
        content: attr(title) "  ";
        display: block;
        width: 100%;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0;
        font-weight: 400;
        line-height: 1;
        /* color: #fff; */
        /* background-color: var(--bs-primary);*/
        border: 1px solid var(--bs-border-color);
        border-radius: 0.375rem;
        cursor: pointer;
        text-align: center;
        position: relative;
        z-index: 0;
        transition: all 0.15s ease-in-out;
        user-select: none;
        text-decoration: none;
    }

    /* Add dropdown arrow */
    .responsive-btn-group .btn-group::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0.25rem;
        transform: translateY(-50%);
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        z-index: 1;
        pointer-events: none;
        transition: transform 0.2s ease;
    }

    /* Hover effect for Actions button */
    .responsive-btn-group .btn-group:hover::before {
        /* background-color: var(--bs-primary);
        border-color: var(--bs-border-color); */
    }

    /* Active/clicked state - rotate arrow */
    .responsive-btn-group.active .btn-group::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Floating popup menu for both buttons and links */
    .responsive-btn-group.active .btn,
    .responsive-btn-group:focus-within .btn {
        display: block !important;
        position: absolute;
        width: auto;
        border-radius: 0;
        text-align: left;
        background-color: #fff !important;
        color: #212529 !important;
        border: 1px solid #dee2e6 !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        z-index: 1;
        margin: 0;
        top: 100%;
        text-decoration: none !important;
        padding: 0.375rem 0.75rem;
        font-weight: 400;
        line-height: 1.5;
        white-space: nowrap;
        
    }

    /* Position each dropdown item (works for both buttons and links) */
    .responsive-btn-group.active .btn:nth-child(1),
    .responsive-btn-group:focus-within .btn:nth-child(1) {
        top: calc(100% + 1px);
        border-top-left-radius: 0.375rem;
        border-top-right-radius: 0.375rem;
    }

    .responsive-btn-group.active .btn:nth-child(2),
    .responsive-btn-group:focus-within .btn:nth-child(2) {
        top: calc(100% + 1px + 25px);
        border-top: 0;
        margin-top: -1px;
    }

    .responsive-btn-group.active .btn:nth-child(3),
    .responsive-btn-group:focus-within .btn:nth-child(3) {
        top: calc(100% + 1px + 50px);
        border-top: 0;
        margin-top: -1px;
    }

    .responsive-btn-group.active .btn:nth-child(4),
    .responsive-btn-group:focus-within .btn:nth-child(4) {
        top: calc(100% + 1px + 75px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }

    .responsive-btn-group.active .btn:nth-child(5),
    .responsive-btn-group:focus-within .btn:nth-child(5) {
        top: calc(100% + 1px + 100px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }

    .responsive-btn-group.active .btn:nth-child(6),
    .responsive-btn-group:focus-within .btn:nth-child(6) {
        top: calc(100% + 1px + 125px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }
    .responsive-btn-group.active .btn:nth-child(7),
    .responsive-btn-group:focus-within .btn:nth-child(7) {
        top: calc(100% + 1px + 150px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }
    .responsive-btn-group.active .btn:nth-child(8),
    .responsive-btn-group:focus-within .btn:nth-child(8) {
        top: calc(100% + 1px + 175px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }
    .responsive-btn-group.active .btn:nth-child(9),
    .responsive-btn-group:focus-within .btn:nth-child(9) {
        top: calc(100% + 1px + 200px);
        border-top: 0;
        margin-top: -1px;
        border-bottom-left-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }

    /* Hover effects for dropdown items */
    .responsive-btn-group.active .btn:hover,
    .responsive-btn-group:focus-within .btn:hover {
        background-color: #f8f9fa !important;
        color: #212529 !important;
        text-decoration: none !important;
    }

    /* Actions button styling when expanded */
    .responsive-btn-group.active .btn-group::before {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

    /* Show title attribute as text in mobile */
    .responsive-btn-group.active .btn[title]::after,
    .responsive-btn-group:focus-within .btn[title]::after {
        content: " (" attr(title) ")";
        font-size: 0.875em;
        color: #6c757d;
        font-weight: normal;
    }

    /* Backdrop to close dropdown when clicking outside */
    .responsive-btn-group.active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        z-index: 999;
    }
}.wxdevformfield , .wxdevformfield_dropdown , .wxdevform_translate{
    opacity: 0.3;
}/* override drawflow.css */
.drawflow .drawflow-node {
    background: #ffffff;
    width: auto !important;
}
.drawflow .drawflow-node.selected {
    background: #007bff;
}

/* Workflow Editor Styles */
.workflow-container {
    display: flex;
    height: 100vh;
    background: #f8f9fa;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.workflow-main {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Node Palette Styles */
.node-palette {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e9ecef;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
}

.node-palette h3 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.node-category {
    margin-bottom: 25px;
}

.node-category h4 {
    margin: 0 0 10px 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.palette-nodes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.palette-node {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none;
    -webkit-touch-callout: none;
}

.palette-node:hover {
    background: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
}

.palette-node:active {
    cursor: grabbing;
    transform: scale(0.98);
}

.palette-node-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 6px;
    margin-right: 12px;
    color: #6c757d;
    font-size: 14px;
}

.palette-node-name {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

/* Workflow Canvas Styles */
#workflow {
    flex: 1;
    position: relative;
    background: #ffffff;
    background-image: 
        radial-gradient(circle, #e9ecef 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
    margin-left: 280px; /* Make room for the fixed palette */
    height: 100vh;
}

/* Let Drawflow handle its own positioning and styling */

/* Minimal node styling that works with Drawflow */
.node-content {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 200px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #e9ecef;
}

.node-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    flex: 1;
    margin-right: 8px;
}

.node-actions {
    display: flex;
    gap: 4px;
}

.btn-edit-node,
.btn-delete-node {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.btn-edit-node:hover {
    background: #007bff;
    color: #ffffff;
}

.btn-delete-node:hover {
    background: #dc3545;
    color: #ffffff;
}

.node-body {
    padding: 16px;
}

.node-type {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.node-description {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

/* Let Drawflow handle node type specific styling */

/* Let Drawflow handle its own connection styling */

/* Let Drawflow handle its own node styling */

/* Let Drawflow handle its own node content styling */

/* Let Drawflow handle its own node type styling */

/* Let Drawflow handle its own input/output and animation styling */

/* Let Drawflow handle its own animations */

/* Toolbar Styles */
.workflow-toolbar {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    border-right: 1px solid #e9ecef;
}

.toolbar-group:last-child {
    border-right: none;
}

.workflow-toolbar button {
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #495057;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 40px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
}

.workflow-toolbar button:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.workflow-toolbar button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.zoom-level {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    color: #495057;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 6px;
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .node-palette {
        width: 100%;
        height: 200px;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    #workflow {
        margin-left: 0;
        height: calc(100vh - 200px);
    }
    
    .palette-nodes {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
    }
    
    .palette-node {
        min-width: 120px;
        flex-shrink: 0;
    }
    
    .workflow-toolbar {
        position: relative;
        top: auto;
        right: auto;
        margin: 10px;
        justify-content: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error States */
.error {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Success States */
.success {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .workflow-container {
        background: #1a1a1a;
    }
    
    .node-palette {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .node-palette h3,
    .node-category h4,
    .palette-node-name {
        color: #e9ecef;
    }
    
    .palette-node {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .palette-node:hover {
        background: #404040;
    }
    
    .workflow-node {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .node-header {
        background: linear-gradient(135deg, #404040 0%, #2d2d2d 100%);
        border-color: #404040;
    }
    
    .node-title,
    .node-type {
        color: #e9ecef;
    }
    
    .node-description {
        color: #adb5bd;
    }
}
