* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f5f7fb;
}
.horizontal-menu .top-navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini img {
    width: 70px !important;
    max-width: 100%;
    margin: auto;
}
.nav-tabs {
    border-bottom: 1px solid #ebedf2;
    background: #e4e9f099;
    border-radius: 5px;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #eeeeee !important;
    background-color: #131740;
    border-color: #333333;
}
.nav-tabs {
    border-bottom: 1px solid #ebedf2;
    background: #e4e9f099;
    border-radius: 5px;
}
div.dataTables_wrapper div.dataTables_length select {
    width: 60px;
}
.card1 .card-title {
    color: #313131;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    background-color: #131740 !important;
    color: #ffff !important;
    padding: 30px !important;
}
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
    margin-right: 10px !important;
}
.my-3 .btn-primary {
    background-color: #3a1cdc !important;
    border-color: #3a1cdc !important;
}
.my-3 .btn-primary:hover {
    background-color: transparent !important;
    border-color: #3a1cdc !important;
    color: #3a1cdc !important;
}
.input-group .form-control:focus {
    border-color: #3a1cdc;
}
.auth .login-half-bg {
    background-position: center !important;
}
.horizontal-menu .bottom-navbar {
    background: transparent !important;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}
.horizontal-menu .bottom-navbar .page-navigation > .nav-item > .nav-link {
    padding: 22px 12px 22px 7px !important;
    line-height: 1;
    font-weight: 400;
}
.horizontal-menu .bottom-navbar .page-navigation > .nav-item > .nav-link,
.horizontal-menu .bottom-navbar .page-navigation > .nav-item:hover > .nav-link i,
.horizontal-menu .bottom-navbar .page-navigation > .nav-item:hover > .nav-link .menu-title {
    color: #000000;
}
.horizontal-menu .bottom-navbar .page-navigation > .nav-item {
    line-height: 1;
    text-align: left;
    border-right: none;
}
.horizontal-menu .bottom-navbar .page-navigation > .nav-item.active > .nav-link .menu-title,
.horizontal-menu .bottom-navbar .page-navigation > .nav-item.active > .nav-link .menu-arrow {
    color: #000000;
    font-weight: 600;
}
.filter-status {
    margin-top: 10%;
    margin-left: 2% !important;
}
.filter-lable {
    display: flex;
    align-items: center;
}
.total-card {
    margin: 5%;
    padding: 5%;
    background: #ffff;
    text-align: center;
    border-radius: 10px;
}

.total-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}
.card-border {
    border-radius: 10px;
}
.main-panel .content-wrapper .header-right a {
    float: left;
}
.main-panel .content-wrapper .header-right a:first-child {
    border-right: 2px solid transparent !important;
}
.container-scroller .content-wrapper {
    max-width: 100% !important;
}
.welcome-container {
    padding-left: 5%;
}
.per_green {
    color: rgb(12, 95, 12);
}
.per_red {
    color: rgb(201, 26, 26);
}
.no-padding {
    padding: 0% !important;
}
p.ana_footet_text {
    margin-top: 10%;
    margin-bottom: 0%;
}
.label-padding {
    padding: 2.5% 1% !important;
}
.filter_container {
    /* width: 50% !important; */
}
.align-center {
    align-items: center;
    text-align: center;
}

.container-scroller .page-body-wrapper {
    /*background: url(../images/background-pattern.jpg);*/
    background-size: cover;
    background-position: 100% 100%;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #eeeeee !important;
    background-color: #565656;
    border-color: #565656;
}
.nav-tabs .nav-item.show .nav-link:hover {
    color: #ffffff !important;
    background-color: #565656;
    border-color: #565656;
}
.nav-tabs {
    background-color: #ffffff !important;
}
.nav-tabs a {
    color: #565656 !important;
}
#lead-listing_processing,
#lead-listing_filter,
.alert-success,
#review-listing_length,
#review-listing_filter {
    display: none !important;
}
select.form-control,
.select2-container--default select.select2-selection--single,
.select2-container--default .select2-selection--single select.select2-search__field,
select.typeahead,
select.tt-query,
select.tt-hint {
    margin-top: 0;
}
/* header logo */
.brand-logo img {
    width: 60%;
    align-items: center;
    display: grid;
    margin: auto;
    margin-bottom: 9%;
}
/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  color: #000;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  /*display: inline-block;*/
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown-notification {
    color: #000;
    padding: 12px 16px 5em;
    text-decoration: none;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    bottom: 0;
}
.show,
#footer_notification.active {
    display:block;
}
.table thead th {
    font-weight: 600;
}
.table th, .table td {
    border: none;
    border-bottom: 1px solid #e4e9f0;
}
.table th, .table td {
    /*white-space: unset;*/
}
.table td img {
    width: auto;
}
.no-border th, .no-border td {
    border-bottom: none !important;
}
.schedule-modal .modal-dialog {
    max-width: 800px;
}
.notification_dropdown {
    cursor: pointer;
}
.notification_dropdown .input-group-addon {
    position: relative;
    z-index: 9;
}
.notification_dropdown .notification-number {
    position: absolute;
    right: 3px;
    top: -10px;
    background-color: red;
    border-radius: 50%;
    color: #fff;
    font-weight: 400;
    width: 20px;
    height: 20px;
}
.footer #footer_notification a {
    color: #071d87;
    font-size: 17px;
    font-weight: 500;
}
.footer #footer_notification p {
    color: #eeaa0b;
    font-size: 15px;
}
form input[type="radio"], input[type="checkbox"] {
    appearance: auto !important;
    width: auto;
}
.w-15 {
    width: 15%;
}
#formsAddMore a {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}
.main_logo img,
.main_logo i {
    padding: 10px 20px;
    border: 1px solid #6a348a;
    border-radius: 10px;
    margin-right: 20px;
}
.main_logo img {    
    width: 200px;
}
.main_logo i {
    font-size: 30px;
}
.content-box {
    background: #fff;
    width: 87%;
    margin: auto;
    padding: 1em 2em;
    margin-top: 3em;
}
.account-header {
    width: 87%;
    margin: auto;
    padding: 1em 2em 0 0;
    margin-top: 3em;
}
.btn {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.btn-account {
    background-color: #0b1f90;
    color: #fff;
}
.btn-account:hover,
.btn-account:active,
.btn-account:focus {
    background-color: transparent;
    color: #0b1f90;
    border: 1px solid #0b1f90;
}
.btn-chatbot {
    background-color: #0aa0be;
    color: #fff;
}
.btn-chatbot:hover,
.btn-chatbot:active,
.btn-chatbot:focus {
    background-color: transparent;
    color: #0aa0be;
    border: 1px solid #0aa0be;
}
.btn-more {
    background-color: #499208;
    color: #fff;
    float: right;
}
.btn-more:hover,
.btn-more:active,
.btn-more:focus {
    background-color: transparent;
    color: #499208;
    border: 1px solid #499208;
}
.btn-save {
    background-color: #7c108c;
    color: #fff;
    width: auto;
    margin: auto;
}
.btn-save:hover,
.btn-save:active,
.btn-save:focus {
    background-color: transparent;
    color: #7c108c;
    border: 1px solid #7c108c;
}
.submit-button {
    background-color: #0b1f90;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.page-details {
    flex: 1;
}
.footer {
    background-color: #f8f9fa;
    padding: 10px 0;
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: 3em;
}
.mandatory-star {
    color: red;
}
.hidden {
    display: none;
}
.option-box {
    margin-top: 10px;
}
.chatbot-item {
    background: #f8f9fa;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.message {
    flex: 1;
    margin-right: 10px;
}
.chatbot-item i {
    font-size: 15px;
    margin-left: 5px;
}
.edit {
    color: #bd871b;
}
.delete {
    color: #940e53;
}
.chatbot-options {
    border: 1px solid #000;
    border-radius: 12px;
    padding: 1em;
}
.chatbot-options h4 {
    margin-bottom: 1em;
    color: #394f74;
}
.chatbot-options .col-md-4 {
    border-right: 1px solid #bdc0c5;
}
.element-item {
    cursor: pointer;
    border: 1px solid #394f74;
    border-radius: 5px;
    margin: 8px;
    width: fit-content;
    padding-right: 0px !important;
    padding-left: 0px !important;
    float: left;
}
.element-item label {
    line-height: 1;
    font-weight: 500 !important;
    color: #3e3e3e;
    width: calc(6vw - 1px - 0px) !important;
    height: calc(9vh - 1px - -4px) !important;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8px !important;
    margin-top: 0px !important;
    font-size: 14px !important;
}
/* Bot message bubble */
.bot-message {
    background: #e0e0e0;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 5px;
}

/* User reply bubble */
/*.user-reply {
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 60%;
    text-align: right;
    align-self: flex-end;
}*/

.user-reply {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align to left */
    margin-top: 5px;
}

.chatbot-option {
    background: #e0e0e0;
    padding: 8px 12px;
    border-radius: 15px;
    margin: 4px 0;
    display: inline-block;
    max-width: 80%;
}

/* Message alignment */
#chatbot-builder {
    display: flex;
    flex-direction: column;
}
#editModal .modal-dialog {
    max-width: 800px;
}
#chat-window {
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    background: #f9f9f9;
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
#chat-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-message {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    word-wrap: break-word;
}
.chat-message.bot {
    background: #d1e7ff;
    align-self: flex-start;
    border-top-left-radius: 5px;
}

.chat-message.user {
    background: #b9f6ca;
    align-self: flex-end;
    border-top-right-radius: 5px;
}

.chat-message.user-options {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-message.user-options button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-message.user-options button:hover {
    background: #0056b3;
}

.chatbot-text {
    font-weight: 500;
}
.chatbot-listing {
    width: 87%;
    margin: auto;
    padding: 1em 0;
    margin-top: 3em;
}
.chatbot-list i {
    color: #d59017;
}
.box-item {
    border: 1px solid #b1aeb7;
    border-radius: 10px;
    padding: 1em;
}
.box-item p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: #2d0785;
    margin-top: 5px;
}
.chatbot_history {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}
.chatbot_history .sidebar {
    flex: 1;
    max-width: 360px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chatbot_history .content {
    flex: 3;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chatbot_history .header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #51bdba;
    color: white;
}
.chatbot_history .header h2 {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.chatbot_history .header h2 i {
    margin-right: 10px;
}
.chatbot_history .conversation-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}
.chatbot_history .conversation-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}
.chatbot_history .conversation-item:hover {
    background-color: #f9f9f9;
}
.chatbot_history .conversation-item.active {
    background-color: #e6f7f6;
    border-left: 3px solid #51bdba;
}
.chatbot_history .conversation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.chatbot_history .session-id {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.chatbot_history .conversation-time {
    font-size: 12px;
    color: #999;
}
.chatbot_history .conversation-preview {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chatbot_history .transcript {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
.chatbot_history .message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.chatbot_history .message-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.chatbot_history .message-sender {
    font-weight: 500;
    margin-right: 10px;
}
.chatbot_history .message-time {
    font-size: 12px;
    color: #999;
}
.chatbot_history .message-content {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.4;
}
.chatbot_history .message.bot .message-content {
    background-color: #f1f1f1;
    align-self: flex-start;
}
.chatbot_history .message.user .message-content {
    background-color: #51bdba;
    color: white;
    align-self: flex-end;
}
.chatbot_history .user-data {
    margin-top: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 3px solid #51bdba;
}
.chatbot_history .user-data h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}
.chatbot_history .user-data-item {
    display: flex;
    margin-bottom: 8px;
}
.chatbot_history .user-data-item strong {
    min-width: 120px;
    font-weight: 500;
}
.chatbot_history .no-conversations {
    padding: 30px;
    text-align: center;
    color: #999;
}
.chatbot_history .no-transcript {
    padding: 30px;
    text-align: center;
    color: #999;
}
.chatbot_history .filter-bar {
    padding: 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.chatbot_history .search-box {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}
.chatbot_history .search-box:focus {
    border-color: #51bdba;
}
.chatbot_history .pagination {
    display: flex;
    justify-content: center;
    padding: 15px;
    border-top: 1px solid #eee;
}
.chatbot_history .pagination a {
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 3px;
    text-decoration: none;
    color: #51bdba;
}
.chatbot_history .pagination a.active {
    background-color: #51bdba;
    color: white;
}
/*account listing css*/
.account-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.account-listing .header,
.chatbot-listing .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.account-listing .header h1 {
    color: var(--primary);
    font-weight: 600;
}

.account-listing .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.account-listing .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.account-listing .btn-success {
    background-color: var(--success);
}
.btn-delete,
.btn-delete:hover,
.btn-delete:focus,
.btn-delete:active {
    background-color: #e689b3 !important;
    color: #fff;
}
.btn-edit,
.btn-edit:hover,
.btn-edit:focus,
.btn-edit:active {
    background-color: #a889e6 !important;
    color: #fff;
}
.btn-sm {
    padding: 5px 10px;
    font-size: 18px !important;
}
.account-listing .accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.account-listing .account-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.account-listing .account-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.account-listing .account-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.account-listing .account-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.account-listing .account-status {
    position: absolute;
    top: 20px;
    right: 20px;
}

.account-listing .status-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.account-listing .status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.account-listing .status-inactive {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.account-listing .account-info {
    margin-bottom: 20px;
}

.account-listing .info-item {
    margin-bottom: 8px;
    display: flex;
}

.account-listing .info-label {
    font-weight: 500;
    color: var(--secondary);
    width: 120px;
}

.account-listing .info-value {
    color: var(--dark);
    word-break: break-all;
}

.account-listing .account-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.account-listing .pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 40px;
}

.account-listing .pagination li {
    margin: 0 5px;
}

.account-listing .pagination a {
    display: block;
    padding: 8px 15px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 5px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.account-listing .pagination a:hover, .pagination li.active a {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}
/*add account css*/
.create-account {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.create-account .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.create-account .header h1 {
    color: var(--primary);
    font-weight: 600;
}
.create-account .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.create-account .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.create-account .btn-secondary {
    background-color: var(--secondary);
}
.create-account .form-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}
.create-account .form-group {
    margin-bottom: 20px;
}
.create-account .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}
.create-account .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.create-account .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
    outline: none;
}
.create-account .checkbox-group {
    display: flex;
    align-items: center;
}
.create-account .checkbox-group input {
    margin-right: 10px;
}
.create-account .error-text {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 5px;
}
.create-account .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}
.create-account .flash-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.create-account .flash-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: var(--success);
}
.create-account .flash-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: var(--danger);
}
/*chatbot listing*/
.chatbot-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.chatbot-listing .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.chatbot-listing .chatbot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.chatbot-listing .chatbot-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}
.chatbot-listing .chatbot-card:hover {
    transform: scale(1.02);
}
.chatbot-listing .chatbot-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.chatbot-listing .chatbot-title-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-listing .chatbot-title-status h3 {
    margin: 0;
    font-size: 22px;
}
.chatbot-listing .chatbot-details {
    margin-bottom: 15px;
}
.chatbot-listing .chatbot-actions {
    display: flex;
    justify-content: space-between;
}
.chatbot-listing .badge {
    padding: 5px 10px;
    border-radius: 4px;
}
.chatbot-listing .badge-success {
    background-color: #28a745;
    color: white;
}
.chatbot-listing .badge-warning {
    background-color: #ffc107;
    color: black;
}
.chatbot-listing .no-chatbots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
/* Main styles for chatbot editor */
.edit-chatbots {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* Nav tabs styling */
.edit-chatbots .nav-tabs .nav-link {
    color: #667080;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-chatbots .nav-tabs .nav-link:hover {
    color: #51bdba;
    border-bottom-color: rgba(81, 189, 186, 0.5);
}

.edit-chatbots .nav-tabs .nav-link.active {
    color: #51bdba;
    background-color: transparent;
    border-bottom: 3px solid #51bdba;
}

/* Chatbot options section */
.edit-chatbots .chatbot-options {
    margin-top: 20px;
}

.edit-chatbots .chatbot-options h5 {
    color: #51bdba;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Element box */
.edit-chatbots .element-box {
    background-color: #f6fcfc;
    border: 1px solid rgba(81, 189, 186, 0.2);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(81, 189, 186, 0.1);
    display: flex;
}

.edit-chatbots .element-item {
    background-color: white;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
    cursor: move;
    transition: all 0.2s ease;
    border-left: 3px solid #51bdba;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.edit-chatbots .element-item:hover {
    background-color: rgba(81, 189, 186, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(81, 189, 186, 0.15);
}

.edit-chatbots .element-item label {
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 500;
    gap: 8px;
    float: none;
}

.edit-chatbots .element-item i {
    color: #51bdba;
}

/* Chatbot builder */
.edit-chatbots #chatbot-builder {
    min-height: 300px;
    background-color: #f8fafa;
    border: 1px dashed rgba(81, 189, 186, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.edit-chatbots .chatbot-item {
    background-color: white;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid #51bdba;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.edit-chatbots .chatbot-item:hover {
    box-shadow: 0 5px 15px rgba(81, 189, 186, 0.15);
}

.edit-chatbots .chatbot-item[data-type="statement"] {
    border-left-color: #51bdba;
}

.edit-chatbots .chatbot-item[data-type="single-option"] {
    border-left-color: #41a7a4; /* Slightly darker variation */
}

.edit-chatbots .chatbot-item[data-type="form-options"] {
    border-left-color: #61cdc9; /* Slightly lighter variation */
}

.edit-chatbots .chatbot-item .message {
    padding-right: 70px;
    word-break: break-word;
    font-size: 14px;
}

.edit-chatbots .chatbot-item .item-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

/* Buttons styling */
.edit-chatbots .chatbot-item .btn.edit {
    background-color: #f0f9f9;
    color: #51bdba;
    border: none;
    transition: all 0.2s ease;
}

.edit-chatbots .chatbot-item .btn.edit:hover {
    background-color: #51bdba;
    color: white;
}

.edit-chatbots .chatbot-item .btn.delete {
    background-color: #fff0f0;
    color: #ff5555;
    border: none;
    transition: all 0.2s ease;
}

.edit-chatbots .chatbot-item .btn.delete:hover {
    background-color: #ff5555;
    color: white;
}

/* Save button */
.edit-chatbots #saveChatbot {
    background-color: #51bdba;
    border-color: #51bdba;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.edit-chatbots #saveChatbot:hover {
    background-color: #45a5a2;
    border-color: #45a5a2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(81, 189, 186, 0.3);
}

/* Chat preview section */
.edit-chatbots #flow-structure {
    padding: 10px;
}

.edit-chatbots #chat-window {
    background-color: #f8fafa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(81, 189, 186, 0.2);
}

.edit-chatbots .chat-message {
    max-width: 80%;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 14px;
    position: relative;
}

.edit-chatbots .chat-message.bot {
    background-color: #e3f5f5;
    color: #2e7c7a;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.edit-chatbots .chat-message.user {
    background-color: #51bdba;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.edit-chatbots .user-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.edit-chatbots .chat-option {
    background-color: white;
    border: 1px solid #51bdba;
    color: #51bdba;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-chatbots .chat-option:hover {
    background-color: #51bdba;
    color: white;
}

/* Modal styling */
.edit-chatbots .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.edit-chatbots .modal-header {
    background-color: #f6fcfc;
    border-bottom: 1px solid rgba(81, 189, 186, 0.2);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.edit-chatbots .modal-title {
    color: #51bdba;
    font-weight: 600;
}

.edit-chatbots .modal-footer {
    border-top: 1px solid rgba(81, 189, 186, 0.2);
}

.edit-chatbots .form-label {
    color: #555;
    font-weight: 500;
}

.edit-chatbots .form-control:focus {
    border-color: #51bdba;
    box-shadow: 0 0 0 0.2rem rgba(81, 189, 186, 0.25);
}

/* Option rows in modal */
.edit-chatbots .option-row {
    background-color: #f8fafa;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.edit-chatbots .option-row:hover {
    background-color: #edf7f7;
}

/* Form field rows */
.edit-chatbots .form-field-row {
    background-color: #f8fafa;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.edit-chatbots .form-field-row:hover {
    background-color: #edf7f7;
}

/* Add buttons */
.edit-chatbots #addOptionBtn, #addFormFieldBtn {
    background-color: #e3f5f5;
    color: #51bdba;
    border: none;
    transition: all 0.2s ease;
}

.edit-chatbots #addOptionBtn:hover, #addFormFieldBtn:hover {
    background-color: #51bdba;
    color: white;
}

/* Primary button in modal */
.edit-chatbots .btn-primary {
    background-color: #51bdba;
    border-color: #51bdba;
}

.edit-chatbots .btn-primary:hover {
    background-color: #45a5a2;
    border-color: #45a5a2;
}

/* Form switch styling */
.edit-chatbots .form-check-input:checked {
    background-color: #51bdba;
    border-color: #51bdba;
}

/* Form options section */
.edit-chatbots .dropdown-options {
    background-color: rgba(81, 189, 186, 0.05);
    padding: 10px;
    border-radius: 6px;
}
/* User Management Styles */
.user-details .table td,
.user-details .table th {
    vertical-align: middle;
}

#usersTable .badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

.user-details .btn-sm {
    margin-right: 5px;
}

/* Modal form styles */
.user-details .modal-body {
    padding: 20px;
}

#password_help {
    font-size: 0.75rem;
    display: none;
}

.user-details .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}
@media (max-width: 767px) {
    .horizontal-menu .top-navbar .navbar-brand-wrapper {
        width: 65% !important;
    }
    .horizontal-menu .top-navbar .navbar-brand-wrapper .navbar-brand {
        width: 100% !important;
    }
    .horizontal-menu .top-navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini img {
        width: 65% !important;
    }
    .chatbot_history {
        flex-direction: column;
    }
    .chatbot_history .sidebar {
        max-width: none;
    }
    .account-listing .accounts-grid {
        grid-template-columns: 1fr;
    }
    .edit-chatbots .chatbot-item .message {
        padding-right: 0;
    }    
    .edit-chatbots .chatbot-item .item-controls {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 10px;
        justify-content: flex-end;
    }    
    .edit-chatbots .chat-message {
        max-width: 90%;
    }
    #usersTable {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}