.navbar-brand.navbar-brand-center {
    float: none;
    height: 4.715rem;
    padding: 0;
    margin: 0;
    font-size: 1.286rem;
    font-weight: 500;
    line-height: 22px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.site-navbar .navbar-header .navbar-brand-logo {
    height: 50px;

    margin-top: 2px;
}

.author-name {
    color: #006B3F;
    margin-left: 10px;
    margin-bottom: 2px;
    margin-right: 10px;
    font-weight: 600;
}

.form-material.has-warning .form-control-label,
.form-control-feedback,
.error {
    color: #f44336;
}

.form-control-feedback {
    margin-left: 15px;
}

/* Side modal */
.modal-dialog-slideout {
    min-height: 100%;
    margin: 0 0 0 auto;
    background: #fff;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(100%, 0) scale(1);
    transform: translate(100%, 0) scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 100%;
}

.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    width: 100%;
}

.modal-dialog .slidePanel-header {
    position: relative;
    padding: 40px 30px;
    padding-right: 120px;
    color: #fff;
}

.modal-dialog .slidePanel-actions {
    float: right;
    margin: 0;
    margin-left: 15px;
    text-align: right;
    list-style: none;
}

.modal-dialog .slidePanel-header .stage-name {
    margin-top: 11px;
    font-size: 20px;
    font-weight: bold;
}

.text-bold {
    font-weight: 600;
}

.custom-nav-tabs .active {
    display: block;
}

.custom-nav-tabs .hide {
    display: none;
}

/* End Side modal */

.app-contacts table > tbody > tr > td,
.app-contacts table > tbody > tr > th,
.app-contacts table > thead > tr > td,
.app-contacts table > thead > tr > th {
    /* white-space: nowrap;*/
    vertical-align: middle;
    word-break: break-word;
}


.app-contacts table .avatar {
    margin-right: 10px;
    vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_info {
    position: unset;
}

#toast-container > .toast {
    width: 700px;
    /* width: 100% */
}

.navbar-inverse .navbar-toolbar .nav-link {
    color: #006B3F !important;
}

.navbar-inverse .hamburger .hamburger-bar,
.navbar-inverse .hamburger:after,
.navbar-inverse .hamburger:before {
    background: #006B3F;
}

.site-menu > .site-menu-item.active > a {
    color: #006B3F;
}

.page-item.active .page-link {
    color: #fff;
    border-color: #006B3F;
    background: #006B3F;
}

.btn btn-primary {
    color: #fff !important;
    background: #006B3F !important;
}


.swal2-confirm.swal2-styled {
    background: #006B3F !important;
    box-shadow: none !important;
}

.custom-section-class {
    background: #fff;
    padding: 30px 20px 0px;
    margin-bottom: 40px;
}

.custom-section-class .card {
    background-color: #f3f4f5;
}

.sec-title-wp h3.section-title {
    margin: 0px 0px 15px;
}

.long-text {
    word-wrap: break-word;
    max-width: 100px;
}

.badge {
    padding: 6px 8px;
    line-height: normal;
    font-size: 90%;
}

.table-responsive a i {
    color: #757575;
}

.table-responsive a:hover {
    /* background: #006B3F;
    color: white; */
}

.table-responsive a svg {
    padding-top: 5px;
    padding-left: 1px;
    padding-right: 1px;
}

.hover-link {
    position: relative;
}

.hover-link span.hover-text {
    display: inline-block;
    position: absolute;
    bottom: -19px;
    left: 50%;
    background: #006B3F;
    padding: 3px 6px 1px;
    transform: translate(-50%, 10px);
    z-index: 2;
    color: #757575;
    font-size: 11px;
    font-weight: 400;
    transition: all 400ms ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 2px;
    box-shadow: -3px 2px 10px 2px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hover-link:hover span.hover-text {
    opacity: 1;
    visibility: visible;
}

.hover-link span.hover-text:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #006B3F;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.site-menubar-unfold .site-menu > .site-menu-item.hover > .site-menu-sub.sm-sub-down,
.site-menubar-unfold .site-menu > .site-menu-item:hover > .site-menu-sub.sm-sub-down {
    position: static !important;
    left: unset !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.avatar img.img-fluid {
    max-height: 40px;
    object-fit: cover;
}

.minpx-120 {
    min-width: 120px;
}

.minpx-100 {
    min-width: 100px;
}
.z-index-1800{z-index: 1800 !important;}

.minpx-50 {
    min-width: 50px;
}

body table {
    font-size: 14px;
}

.modal-dialog .slidePanel-actions .slidePanel-close.icon.md-close,.modal-dialog .slidePanel-actions .icon.md-delete {
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 25px;
}

.password-toggle-icon {
    position: absolute;
    right: 10px;
    top: 33px;
    cursor: pointer;
    color: #666;
}
.icon.md-more{
    color: #006B3F;
}
span.password-toggle-icon.login-password{
    top: 7px;
    right: 18px;
    z-index: 9;
}
.page-profile{
    min-height: calc(100% - 44px);
    background: #f3f4f5;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.slider.transaction{
    background-color: #ffc107;
}
.modal-sm{
    width: 450px;
    max-width: 450px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

.toggle-switch input:checked + .slider {
    background-color: #006B3F;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(86px);
}

.slider .status-text {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.slider .status-text.suspended {
    left: 10px;
    color: white;
}

.slider .status-text.active {
    right: 10px;
    color: white;
}

.toggle-switch input:checked + .slider .status-text.suspended {
    display: none;
}

.toggle-switch input:not(:checked) + .slider .status-text.active {
    display: none;
}
.badge-success{background-color: #006B3F}

/* SendVatu Admin Panel - Enhanced Select2 User Selection Styling */

/* Select2 Container */
.select2-container {
    width: 100% !important;
    margin-bottom: 1rem;
}

/* Selection box - improved height and padding */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background-color: #fff;
    min-height: 42px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    transition: all 0.2s ease;
}

/* Focus state - more pronounced */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #007854;
    box-shadow: 0 0 0 3px rgba(0, 120, 84, 0.15);
    outline: none;
}

/* Dropdown styling - improved shadows and positioning */
.select2-container--default .select2-dropdown {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    overflow: hidden;
}

/* Search field in dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px;
    width: calc(100% - 12px);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #007854;
    box-shadow: 0 0 0 2px rgba(0, 120, 84, 0.1);
    outline: none;
}

/* Results styling - improved spacing */
.select2-container--default .select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
    transition: background-color 0.15s ease;
}

/* Highlighted result - subtle highlight */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(0, 120, 84, 0.08);
    color: #333;
}

/* Selected result - enhanced color */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #007854;
    color: #fff;
}

/* Selected options (tags) - improved appearance */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 4px 10px;
    margin: 4px 6px 4px 0;
    font-size: 13px;
    color: #444;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

/* Remove button (x) for selected items - better positioning */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    margin-right: 6px;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #d33;
    opacity: 1;
    transform: scale(1.1);
}

/* Placeholder - better visibility */
.select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: #aaa;
    font-size: 14px;
    opacity: 0.8;
}

/* User formatting in dropdown - enhanced user item display */
.select2-user-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.select2-user-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.select2-user-item .user-info {
    display: flex;
    flex-direction: column;
}

.select2-user-item .user-name {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2px;
}

.select2-user-item .user-email {
    font-size: 12px;
    color: #777;
    line-height: 1.2;
}

/* Selected user items - better display for selected tags */
.select2-selection__choice {
    position: relative;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom rendering for selected user tags */
.select2-user-tag {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.select2-user-tag img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
}

.select2-user-tag span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Send button styling - enhanced */
.btn-send {
    background-color: #007854;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 120, 84, 0.2);
}

.btn-send:hover {
    background-color: #006745;
    box-shadow: 0 3px 6px rgba(0, 120, 84, 0.3);
    transform: translateY(-1px);
}

.btn-send:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 120, 84, 0.3);
}

/* Empty state styling */
.select2-results__message {
    color: #888;
    font-style: italic;
    padding: 12px;
    text-align: center;
}


/* Better spacing for multiple items */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    padding-left: 15px;
}
/* Loading animation */
.select2-container--default .select2-results__option.loading-results {
    text-align: center;
    padding: 12px;
}

.select-info-main {
    display: flex;
}

.select-info-main img.rounded-circle {
    width: 35px;
    height: 35px;
}

.select-info-main .select-info-text {
    width: calc(100% - 35px);
    padding-left: 15px;
}

.select-info-main .select-info-text div strong {
    font-size: 14px;
}

.select-info-main .select-info-text div {
    line-height: 1.1;
}


.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    display: flex;
    flex-direction: row-reverse;
}

.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice button.select2-selection__choice__remove {
    position: unset;
    margin-right: 0px;
    margin-left: 6px;
    border-right: none;
    border-left: 1px solid #aaa;
    padding-left: 6px;
}

.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice button.select2-selection__choice__remove:hover {
    color: #000;
    box-shadow: none;
    outline: none;
    border-radius: unset;
    background: transparent;
}
.emoji-picker-container .emoji-menu .emoji-items {
    display: flex;
    flex-wrap: wrap;
}

.emoji-picker-container .emoji-menu .emoji-items a {
    padding: 4px;
}


/* Additional responsive adjustments */
@media (max-width: 576px) {
    .select2-container--default .select2-selection--multiple {
        min-height: 38px;
        padding: 3px 8px;
    }

    .select2-user-item img {
        width: 28px;
        height: 28px;
    }
}
