﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

:root {
    --primary: #3699FF;
    --success: #14A562;
    --danger: #BF0144;
    --lighter: #FAFAFA;
    --light: #E4E4E4;
    --dark: #00000099;
    --darker: #050505;
    --light-border: lightgrey;
}
/*.page-item {
    color: var(--kt-secondary-inverse) !important;
    border-color: var(--kt-secondary) !important;
    background-color: var(--kt-secondary) !important;
}*/
.font-15 {
    font-size: 15px !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.dotNumber1 {
    height: 16px;
    width: 16px;
    background-color: #89a54e;
    border-radius: 50%;
    display: inline-block;
    color: white;
    font-size: 11px;
    text-align: center;
}

.dotNumber2 {
    height: 16px;
    width: 16px;
    background-color: #4572a7;
    border-radius: 50%;
    display: inline-block;
    color: white;
    font-size: 11px;
    text-align: center;
}

.dotNumber3 {
    height: 16px;
    width: 16px;
    background-color: #7239ea;
    border-radius: 50%;
    display: inline-block;
    color: white;
    font-size: 11px;
    text-align: center;
}

.dotNumber {
    height: 16px;
    width: 16px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    color: white;
    font-size: 11px;
    text-align: center;
}

.form-check-custom {
    width: fit-content !important;
}

.toastr.toastr-success {
    background-color: #51A351 !important;
    color: #fff !important;
}

/*   .form-switch {
        height: 2.25rem;
        background-image: var(--kt-form-switch-bg-image-solid);
        border-radius: 3.25rem
    }*/
.toast-error {
    background-color: #BD362F !important;
    color: #fff !important;
}

.toastr {
    opacity: 1 !important;
}

    .toastr:hover {
        box-shadow: 0 0 12px #000 !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }

a {
    color: #0077cc;
    transition: color .2s ease;
    cursor: pointer;
}

a {
    color: #333333;
    text-decoration: none;
}

.custom-sidebar-logo {
    /*border-right: 1px solid #c2c2c2;*/
    /*border-radius: 6px;*/
    border-bottom: none !important;
}

.custom-sidebar-logo-btn {
    border: 1px solid #c2c2c2 !important;
}

.table-head-custom {
    border: 5px solid var(--lighter);
    padding: 9px;
    border-radius: 10px;
}

.app-notifications-count {
    margin-top: -20px;
    border-radius: 6px;
    padding: 0 4px;
    font-size: 12px;
    background: red;
    color: #fff
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn {
    text-align: center !important;
    font: normal normal normal 14px/22px Helvetica Neue LT Pro !important;
    letter-spacing: 0px !important;
    padding: 6px 24px !important;
}

.forgot-link {
    font-size: 16px !important;
}

.link-primary {
    font-size: 13px !important;
    color: var(--dark) !important;
    text-decoration: underline;
}

    .link-primary:hover {
        color: var(--darker) !important;
    }

    .link-primary:visited {
        font-size: 13px !important;
        color: var(--dark) !important;
        text-decoration: underline;
    }

.col-form-label, .form-label {
    color: var(--dark) !important;
}

.form-control {
    border-bottom: 2px solid var(--dark) !important;
    color: var(--darker) !important;
}

.btn.btn-primary {
    background-color: var(--darker) !important;
}

.tooltip {
    --bs-tooltip-bg: #1d1d1d !important;
    font: normal normal normal 14px Helvetica Neue LT Pro !important;
    --bs-tooltip-color: white !important;
    line-height: 0.5 !important;
}

.btn {
    /* UI Properties */
    text-align: center !important;
    font: normal normal normal 14px/22px Helvetica Neue LT Pro !important;
    letter-spacing: 0px !important;
    padding: 6px 24px !important;
}

a i,
button i {
    margin-bottom: 3px !important;
    padding: 0 !important;
}

.link-primary {
    font-size: 13px !important;
    color: var(--dark) !important;
    text-decoration: underline;
}

    .link-primary:hover {
        color: var(--darker) !important;
    }

    .link-primary:visited {
        font-size: 13px !important;
        color: var(--dark) !important;
        text-decoration: underline;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.borderCustom {
    border: 1px solid lightgrey !important;
    border-radius: 5px;
}

.borderCustomBottom {
    border-bottom: 1px solid lightgrey !important;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.mr-1 {
    margin-right: 0.4em;
}

.mrC-1 {
    margin-right: 0.4em;
}

.mr-2 {
    margin-right: 0.8em;
}

.mr-3 {
    margin-right: 1.1em;
}

.mr-3px {
    margin-right: 3px;
}

.ml-6px {
    margin-left: -6px !important;
}

.ml-8px {
    margin-left: -8px !important;
}

.ml-9px {
    margin-left: -9px !important;
}

.ml-11px {
    margin-left: -11px !important;
}

.w-70 {
    width: 70%;
}

.ml-1 {
    margin-left: 0.4em !important;
}

.ml-radio {
    margin-left: 2.4em !important;
}

.mlr-2 {
    margin-left: 0.8em;
    margin-right: 0.8em;
}

.btn-icon-custom {
    /*    height: 25px;
    padding: 3px 0px !important;
    width: 55px !important;*/
    height: 25px;
    padding: 4px 20px !important;
}

.horizontalScroll {
    overflow: auto;
}

.vhScroll {
    /*width: 425px;*/
    word-wrap: break-word;
    height: 368px;
    overflow-x: hidden;
    overflow-y: auto;
    overflow: auto;
}

.btn-icon-custom2 {
    height: 24px;
    padding: 4px 20.5px !important;
}

.fa {
    margin-bottom: 5px !important;
}

.fa-icon {
    font-size: 15px !important;
}

.fa-primary {
    color: var(--primary) !important;
}

.fa-success {
    color: var(--success) !important;
}

.fa-danger {
    color: var(--danger) !important;
}

.fa-plus {
    margin-bottom: 0px !important;
}

.hidden {
    display: none !important;
}

.filterProperties {
    cursor: pointer;
}

.pull-right {
    float: right;
}

.custom-form-heading {
    font-size: 1.3em;
    font-weight: 500;
}

.custom-form-heading {
    padding-left: 7px;
}

.custom-hc-form .form-group {
    margin-bottom: 0.5em;
}

.custom-first-column {
    font-weight: bold !important;
}

.custom-hc-form h6 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.btn-hover-danger:hover {
    background-color: var(--danger) !important;
    color: white !important;
}

    .btn-hover-danger:hover i {
        color: white !important;
    }

td.custom-td {
    color: #05050599 !important;
    vertical-align: top !important;
}

td span.custom-td {
    color: #05050599 !important;
    vertical-align: top !important;
}

td {
    vertical-align: top !important;
}

/*  Custom widgets  styling*/
.custom-widget-container {
    margin: 0 15px 0 0px;
    /*height: 280px;*/
}

.custom-widget-card-body {
    min-height: 260px !important;
}

.h-575px {
    height: 575px !important;
}

.custom-widget-table {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: scroll;
    height: 253px;
}

.custom-widget-table2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: scroll;
    height: 278px;
}

.pyy-6 {
    padding-top: 1.0rem !important;
    padding-bottom: 1.5rem !important
}

.filterPadding {
    padding-top: 2.0rem !important;
    padding-bottom: 0rem !important
}

.custom-alert-modal {
    padding: 0;
}

    .custom-alert-modal .swal2-styled.swal2-cancel {
        color: var(--darker) !important;
    }

select {
    appearance: revert !important;
    height: 33px;
}

.select2-selection__rendered {
    color: var(--darker) !important;
}

.templateTextarea {
    cursor: pointer;
}

.dataTables_empty {
    text-align: left !important;
}

.nav-custom .nav-link.active {
    color: #050505;
    font-weight: 700 !important;
}

.swal2-cancel:focus {
    /*box-shadow: 0 0 0 3px rgb(100 150 200 / 50%);*/
    box-shadow: 0 0 0 3px rgb(100 150 200 / 50%) !important;
}

.tox-editor-header .tox-promotion {
    display: none !important;
}

.tox-statusbar__right-container .tox-statusbar__branding {
    display: none !important;
}

.tox-dialog__footer-end .tox-button--secondary {
    display: none !important;
}

.tox-dialog__footer-end .tox-button {
    color: #ffffff !important;
    background-color: var(--darker) !important;
    padding: 6px 16px !important;
    text-align: center !important;
    font: normal normal normal 14px/22px Helvetica Neue LT Pro !important;
    letter-spacing: 0px !important;
    border-radius: 7px !important;
    border: 0px !important;
}

.tox-dialog__title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    font-family: Helvetica Neue LT Pro bold, sans-serif !important;
}

.tox-dialog__header .tox-button {
    width: 25px !important;
    height: 25px !important;
    text-align: center !important;
    letter-spacing: 0px !important;
    padding: 6px 16px !important;
    border-radius: 7px !important;
    border: 0px !important;
    background-color: var(--light) !important;
    color: #ffffff !important;
}

    .tox-dialog__header .tox-button .tox-icon {
        color: #A1A5B7 !important;
    }

        .tox-dialog__header .tox-button .tox-icon svg {
            color: #A1A5B7 !important;
            right: 4px !important;
            position: absolute !important;
            bottom: 1px !important;
        }

    .tox-dialog__header .tox-button:hover .tox-icon svg {
        color: #ffffff !important;
    }

    .tox-dialog__header .tox-button:hover {
        background-color: var(--danger) !important;
        color: #ffffff !important;
    }

.tox-dialog {
    border-radius: 7px !important;
}

.tox-dialog__footer {
    padding: 14px !important;
}

.tox-dialog__header {
    padding: 18px !important;
    border-block-end: 1px solid var(--light) !important;
}

.tox .tox-dialog-wrap__backdrop {
    background-color: gray !important;
    opacity: 0.3 !important;
}

.tox-textfield {
    border: none !important;
    border-bottom: 1px solid #050505CC !important;
    border-radius: 0px !important;
    padding: 5px 0px;
    margin-bottom: 15px;
}

    .tox-textfield:focus {
        outline: none !important;
        box-shadow: none !important;
    }

.tox-listboxfield {
    /*border: none !important;*/
    border-bottom: 1px solid #050505CC !important;
    border-radius: 0px !important;
    padding: 5px 0px;
    margin-bottom: 15px;
}

.tox-listbox--select {
    border: none !important;
}

.tox-label {
    color: var(--dark) !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
}

.text-c-dark {
    color: #3F4254 !important;
    font-weight: 500 !important;
}

.form-switch {
    height: 1.7rem !important;
    width: 3.0rem !important;
}

.dropdown-menu {
    z-index: 99999 !important;
}
/*.dataTables_processing {
    margin-top: -100px !important;
}*/
.min-h-160px {
    min-height: 160px !important;
}

.view-report-button {
    position: absolute !important;
    bottom: 10% !important;
    right: 5% !important;
}

.popover {
    width: 24rem;
}

.mb-1px {
    margin-bottom: 1px !important;
}

.mb-2px {
    margin-bottom: 2px !important;
}

.publish-svg {
    background-image: url(~/Publish.svg)
}

.unpublish-svg {
    background-image: url(~/UnPublish.svg)
}

.fa-refresh {
    cursor: pointer;
}

.ml-10-per {
    margin-left: 10%;
}

.ml-5-per {
    margin-left: 5%;
}

.borderRightLG {
    border-right: 1px solid lightgrey !important;
}

.borderLeftLG {
    border-left: 1px solid lightgrey !important;
}

.rowChildBg {
    background-color: #fafafa !important;
}

.min-w-420px {
    min-width: 420px !important;
}

.min-w-465px {
    min-width: 465px !important;
}

.text-11px {
    font-size: 11px;
}

.h-110px {
    height: 110px !important;
}

.h-120px {
    height: 120px !important;
}

.h-104px {
    height: 104px !important;
}

.ml-6px {
    margin-left: -6px !important;
}

.ml-8px {
    margin-left: -8px !important;
}

.ml-5px {
    margin-left: -5px;
}

.ml-15px {
    margin-left: -15px;
}

.ml5px {
    margin-left: 5px;
}

.max250BreakWord {
    max-width: 250px;
    word-wrap: break-word;
}

@media (max-width:991.98px) {
    .hideOnMobile {
        display: none;
    }

    .mrC-1 {
        margin-right: 0;
    }
}

.boy-height {
    height: 125px !important;
}

@media (max-width:1200px) {
    .boy-height {
        display: none;
    }
}

.pr-4 {
    padding-right: 1rem !important;
    padding-left: 0px !important;
}

.active-tr {
    outline: #f79305 solid 1px;
    border-radius: 5px;
}

.active-tr-hover {
    background: #F5F8FA !important;
}

    .active-tr-hover td:first-child {
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }

    .active-tr-hover td:last-child {
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
    }

@media (max-width:992px) {
    .layout2-app-sidebar-logo-default {
        display: none !important;
    }
}

.custom-dashboard-widget-loader {
    position: absolute;
    top: 44%;
    left: 47.5%;
    z-index: 1;
}

.m365Logo {
    vertical-align: bottom !important;
}

.m365LogoLabel {
    margin-top: -5px;
    height: 24px;
}

.m365LogoListing {
    height: 24px;
}

.custom-group-btn {
    padding: 0 6px !important;
    font-size: 10px !important;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 20px;
    /* roundness of the scroll thumb */
    border: 3px solid $dark;
    /* creates padding around scroll thumb */
}












#fullViewModal {
    --bs-modal-zindex: 1053;
}

body > .modal.show:not(#fullViewModal) {
    --bs-modal-zindex: 1080;
}

#fullViewModal .modal-content {
    position: relative;
}

    #fullViewModal .modal-content::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out;
        z-index: 20;
    }

body:has(.modal.show:not(#fullViewModal))
#fullViewModal .modal-content::after {
    opacity: 1;
}

.button-row {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.col-1-5 {
    width: 4.333%;
}

.tox-tinymce {
    border: 1px solid lightgrey !important;
}

.ribbon-container {
    border-bottom: 1px solid var(--light-border);
    padding: 8px 10px 10px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 4px;
    margin-top: -1px;
    min-height: 156px;
}

.ribbon-container-templates {
    border-bottom: 1px solid var(--light-border);
    padding: 8px 10px 10px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 4px;
    margin-top: -1px;
    min-height: 156px;
}

.myCustomToolbar.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    margin: 0;
    gap: 5px;
}


.myCustomToolbar .toolbar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
    position: relative;
    flex-grow: 0;
    max-width: 100%;
}

    .myCustomToolbar .toolbar-group .active {
        background-color: #e0e0e0;
    }

.myCustomToolbar .group-separator {
    position: absolute;
    right: -3px;
    top: 0px;
    bottom: 30px;
    width: 1px;
    background-color: var(--light-border);
    display: block !important;
}

.myCustomToolbar .toolbar-group:last-child .group-separator {
    display: none;
}

.myCustomToolbar .group-label {
    font-weight: bold;
    font-size: 0.7rem;
    color: #666;
    margin-top: 28px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    position: static;
}

.myCustomToolbar .toolbar-group > .row {
    width: 100%;
    margin: 0;
    flex-grow: 1;
    align-items: center;
}

.myCustomToolbar .toolbar-item-wrapper {
    padding: 0 1px !important;
    margin: 0;
}

.myCustomToolbar .toolbar-button {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 3px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--darker);
    font-size: 14px;
    width: 100%;
    box-shadow: none;
    transition: background-color 0.1s, border-color 0.1s;
}

.myCustomToolbar button.toolbar-button {
    padding: 3px !important;
}

.myCustomToolbar .toolbar-button:hover {
    background-color: #e9e9e9;
    border-color: var(--light-border);
}

.myCustomToolbar .vertical-button {
    flex-direction: column;
    height: 52px;
    padding: 5px 3px;
    font-size: 0.8rem;
}

    .myCustomToolbar .vertical-button i {
        font-size: 2.2rem;
        margin-bottom: 2px;
    }

.myCustomToolbar .toolbar-group i {
    color: var(--darker);
}

.myCustomToolbar .large-paste-button {
    height: 57px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .myCustomToolbar .large-paste-button i {
        font-size: 2.2rem;
        margin: 0;
    }

.myCustomToolbar .clipboard-group-row {
    display: flex;
    flex-direction: row;
}

.myCustomToolbar .clipboard-undo-redo-col {
    flex: 1 0 33.33%;
    display: flex;
    flex-direction: column;
}

    .myCustomToolbar .clipboard-undo-redo-col .toolbar-item-wrapper {
        height: 50%;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .myCustomToolbar .clipboard-undo-redo-col .toolbar-button {
        height: 100%;
        padding: 0 3px;
    }

.myCustomToolbar .clipboard-paste-col {
    flex: 1 0 33.33%; /* Paste button takes up one third of the width */
    padding: 0 1px !important;
}

.myCustomToolbar .clipboard-cut-copy-col {
    flex: 1 0 33.33%; /* Cut/Copy column takes up one third of the width */
    display: flex;
    flex-direction: column; /* Stack Cut/Copy vertically */
    /*padding: 0 1px !important;*/
}

    .myCustomToolbar .clipboard-cut-copy-col .toolbar-item-wrapper {
        /* Ensure cut/copy buttons fill their vertical space */
        height: 50%;
        display: flex;
        align-items: center;
        padding: 0;
    }

    /* Make Cut/Copy buttons match the standard icon-only height within their wrapper */
    .myCustomToolbar .clipboard-cut-copy-col .toolbar-button {
        height: 100%;
        padding: 0 3px;
    }


/* Placeholder button (full width, icon-only style) */
.myCustomToolbar .full-width-button .toolbar-button {
    height: 28px;
    font-size: 0.8rem;
    padding: 0 5px;
}

/* Alignment Group Specific Styling (Generic) */
.myCustomToolbar .small-grid .toolbar-item-wrapper {
    /* Reduce column padding for the denser alignment grid */
    padding: 0 0px !important;
}

.myCustomToolbar .small-grid .toolbar-button {
    height: 22px; /* Slightly smaller buttons */
    font-size: 13px;
}

/* --- STYLES TO ACHIEVE REQUESTED ALIGNMENT GRID LOOK --- */
.myCustomToolbar .alignment-grid-wrapper {
    /* Outer border and rounding */
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding: 0px;
    background-color: #e9e9e9; /* Light background similar to image */
    box-shadow: none;
    overflow: hidden;
}

    .myCustomToolbar .alignment-grid-wrapper .row {
        margin: 0;
        flex-wrap: wrap;
    }

    /* Button wrappers (grid cells) */
    .myCustomToolbar .alignment-grid-wrapper .toolbar-item-wrapper {
        padding: 0 !important;
        flex-grow: 1;
        height: 28px; /* Fixed height for the grid cell */
    }

    /* The actual alignment button */
    .myCustomToolbar .alignment-grid-wrapper .toolbar-button {
        /* Reset base styles for the seamless grid look */
        border: none;
        border-radius: 0;
        height: 100%;
        width: 100%;
        background-color: white; /* Default background for the grid cell */
        transition: background-color 0.1s;
    }

    /* Apply Internal Dividers */
    /* Vertical Divider: Right side of Left Align (Index 1) and Center Align (Index 3) */
    .myCustomToolbar .alignment-grid-wrapper .toolbar-item-wrapper:nth-child(1) .toolbar-button,
    .myCustomToolbar .alignment-grid-wrapper .toolbar-item-wrapper:nth-child(3) .toolbar-button {
        border-right: 1px solid var(--light-border);
    }

    /* Horizontal Divider: Bottom side of Left Align (Index 1) and Right Align (Index 2) (Top Row) */
    .myCustomToolbar .alignment-grid-wrapper .toolbar-item-wrapper:nth-child(1) .toolbar-button,
    .myCustomToolbar .alignment-grid-wrapper .toolbar-item-wrapper:nth-child(2) .toolbar-button {
        border-bottom: 1px solid var(--light-border);
    }

    /* Active/Hover State */
    .myCustomToolbar .alignment-grid-wrapper .toolbar-button:hover:not(.active-alignment) {
        background-color: #f3f3f3; /* Lighter shade than the active state */
    }

    .myCustomToolbar .cell.active-alignment,
    .myCustomToolbar .alignment-grid-wrapper .toolbar-button.active-alignment {
        background-color: #e0e0e0; /* Darker shade for active state (matching the image) */
    }

    /* Fix icon size for alignment group */
    .myCustomToolbar .alignment-grid-wrapper i {
        font-size: 13px; /* Slightly smaller icons for the grid */
    }
/* --- END ALIGNMENT STYLES --- */

/* --- Dropdown List Styles (for Group 5: Listing) --- */
.myCustomToolbar .dropdown-menu {
    min-width: 10rem; /* Standard size */
    padding: 5px !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.myCustomToolbar .list-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.myCustomToolbar .list-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 3px;
    transition: background-color 0.15s;
}

    .myCustomToolbar .list-item:hover {
        background-color: #e9e9e9;
    }

.myCustomToolbar .list-left {
    width: 30px; /* Space for numbers/bullets */
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #444;
    line-height: 1;
    align-items: flex-end;
    margin-right: 5px;
    text-align: right;
}

    .myCustomToolbar .list-left.bullets div {
        font-size: 0.6rem; /* Make bullets smaller */
        margin-bottom: 2px;
    }

.myCustomToolbar .list-lines {
    flex-grow: 1;
}

.myCustomToolbar .line {
    height: 4px;
    background-color: #999;
    border-radius: 1px;
    margin-bottom: 4px;
}

    .myCustomToolbar .line.sm {
        width: 80%;
    }

    .myCustomToolbar .line:last-child {
        margin-bottom: 0;
    }

/* Dropdown button styling (inherits toolbar-button look) */
.myCustomToolbar .list-btn.dropdown-toggle {
    height: 29px;
    font-size: 14px;
    padding: 3px;
    /* Override Bootstrap's focus style that removes padding */
    box-shadow: none !important;
}

/* --- STYLES FOR FONT SIZE & COLOR PICKERS (Text Style Group) --- */

/* Custom utility for tighter spacing between rows in a group */
.myCustomToolbar .mb-05 {
    margin-bottom: 2px !important;
}

/* Style for the new select boxes (Font Size) */
.myCustomToolbar .toolbar-select {
    height: 28px;
    padding: 2px 4px;
    border: 1px solid var(--light-border);
    border-radius: 3px;
    background-color: white;
    font-size: 0.7rem;
    width: 100%;
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.1s;
    /* Custom appearance for the select box */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px;
}

    .myCustomToolbar .toolbar-select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 1px #007bff;
    }

/* Style for color pickers (input type=color) */
.myCustomToolbar .color-picker-wrapper {
    position: relative;
    width: 100%;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* Hide the default color input UI and use the label as the visual button */
    .myCustomToolbar .color-picker-wrapper .color-picker {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 10;
        top: 0;
        left: 0;
    }

    .myCustomToolbar .color-picker-wrapper .color-label {
        /* This acts as the visual button, mimicking toolbar-button */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: var(--darker);
        border: 1px solid transparent;
        border-radius: 3px;
        cursor: pointer;
        background-color: transparent;
        transition: background-color 0.1s, border-color 0.1s;
        font-size: 14px;
        position: relative;
    }

        .myCustomToolbar .color-picker-wrapper .color-label:hover {
            background-color: #e9e9e9;
            border-color: var(--light-border);
        }


.myCustomToolbar .highlight-color-wrapper .color-label {
    color: var(--darker); 
}

@media (max-width: 992px) {
    .myCustomToolbar.row {
        flex-wrap: wrap;
        gap: 10px 0;
    }

    .myCustomToolbar .toolbar-group {
        width: auto;
        flex-grow: 1;
    }

    .myCustomToolbar .group-separator {
        display: none;
    }

    .menubar {
        font-size: 1rem;
    }
}

.ribbon-template-container {
    position: relative;
    display: flex;
    overflow: hidden;
    padding-left: 40px;
    padding-right: 40px;
}

.ribbon-template-row {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ribbon-template {
    width: 550px;
    zoom: 45%;
    flex-shrink: 0;
}

.scroll-button {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    font-size: 11px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

    .scroll-button i {
        color: white;
    }

    .scroll-button.left {
        left: 0px;
    }

    .scroll-button.right {
        right: 0px;
    }

.ribbon-template-row::-webkit-scrollbar {
    height: 8px; /* Customize scrollbar height */
}

.ribbon-template-row::-webkit-scrollbar-thumb {
    background-color: #888; /* Custom scrollbar color */
    border-radius: 4px;
}

    .ribbon-template-row::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }


.fullview-container .chat-container {
    width: 100%;
    height: 440px;
    /*border: 1px solid #ccc;
    border-radius: 10px;*/
    display: flex;
    flex-direction: column;
    /*background: #f5f5f5;*/
}

.fullview-container .chat-window {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.fullview-container .message {
    max-width: max-content;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 12px;
    font-size: 14px;
    /*display: inline-block;*/
}

    /* Message from user (right side) */
    .fullview-container .message.me {
        margin-left: auto;
    }

    /* Message from AI/Receiver (left side) */
    .fullview-container .message.other {
        background: #e0e0e0;
        margin-right: auto;
    }

.fullview-container .chat-input {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 10px;
    background: white;
}
