.xemail-to {
    width: 120px;
    /*Giới hạn chiều rộng */
    max-height: 3em;
    /* Giới hạn chiều cao để vừa 2 dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Giới hạn hiển thị 2 dòng */
    -webkit-box-orient: vertical;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.eye-icon {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
}

.btn_actions {
    text-align: center;
}

.btn_actions i {
    cursor: pointer;
}

div[data-animate] {
    height: 100%;
}

div[data-animate] button i,
div[data-animate] button svg {
    color: var(--dynamic-cti-icon-color);
    fill: var(--dynamic-cti-icon-color);
}



div[data-animate] button {
    border-radius: 0px;
    padding: 1px 5px;
    background-color: white;
    /* Light gray background */
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 100%;
    color: black;
}

div[data-animate] button:hover {
    background-color: var(--dynamic-cti-color);
    color: white;
}

div[data-animate] button span {
    margin-left: 4px;
    font-size: 12px;
}

div[data-animate] {
    margin-right: 0px !important;
}

.x-status {
    font-weight: bold;
    /* text-shadow: 10px 15px rgba(255, 255, 255, 0.6), -1px 1px rgba(0, 0, 0, 0.2); */
    -webkit-text-stroke: 0.03px white;
    display: flex;
    align-items: center;
    background-color: #1a237e;
    padding: 0px 5px;
    height: 100%;
}


@font-face {
    font-family: "Jakarta";
    src: url("#appResource.PlusJakartaSans-VariableFont_wght.ttf#") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SAP-icons';
    src: url('#appResource.SAP-icons-1.woff2#');
    src: url('#appResource.SAP-icons-1.woff2#?#iefix') format('woff'),
        url('#appResource.SAP-icons.ttf#') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SAP-icons-business';
    src: url('#appResource.BusinessSuiteInAppSymbols.woff2#');
    src: url('#appResource.BusinessSuiteInAppSymbols.woff2#?#iefix') format('woff'),
        url('#appResource.SAP-icons.ttf#') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SAP-icon2';
    src: url('#appResource.SAP-icon-v3.woff#');
    src: url('#appResource.SAP-icon-v3.ttf#') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'icomoon2';
    src: url('#appResource.icomoon2.eot#?9g6517');
    src: url('fonts/icomoon2.eot#?9g6517#iefix') format('embedded-opentype'),
        url('#appResource.icomoon2.ttf#?9g6517') format('truetype'),
        url('#appResource.icomoon2.woff#?9g6517') format('woff'),
        url('#appResource.icomoon2.svg#?9g6517#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'icomoon';
    src: url('#appResource.icomoon.eot#?9g6517');
    src: url('fonts/icomoon.eot#?9g6517#iefix') format('embedded-opentype'),
        url('#appResource.icomoon.ttf#?9g6517') format('truetype'),
        url('#appResource.icomoon.woff#?9g6517') format('woff'),
        url('#appResource.icomoon.svg#?9g6517#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/*body{*/
/*    zoom: 0.8;*/
/*}*/

body .dataList {
    padding: 10px;
}

body .dataList th a,
body .dataList th {
    font-weight: bold;
}

.x-admin-sm body .dataList .empty {
    display: none;
}

.dataList form table tbody tr:nth-child(even) {
    background: #FAFAFA;
}

.dataList .filters .filter-cell input[type="submit"] {
    display: none;
}

.dataList .setFilterToSeeData,
.print-button {
    display: none;
}

body .dataList .filters .filter-cell:last-child:after {
    content: '' !important;
}

.dataList .filters a:hover,
.dataList .filters i:hover,
.dataList .filters button:hover,
.dataList .filters span:hover,
.dataList .actions a:hover,
.dataList .actions i:hover,
.dataList .actions button:hover,
.dataList .actions span:hover {
    color: black !important;
}

#Logoo {
    height: 20px;
}

/* Column filter */
.table-wrapper {
    position: relative;
}

.column-filter {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    border-radius: 4px;
    min-width: 250px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 5px;
    /* Space between elements */
}

.filter-option select,
.filter-option input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    /* Smaller font size */
    font-weight: normal;
    /* Normal font weight */
}

.filter-option input[type="text"]::placeholder,
.filter-option select option {
    font-size: 12px;
    /* Smaller font size for placeholder and select options */
    font-weight: normal;
    /* Normal font weight */
}

.filter-option input[type="text"],
.filter-option #sortOptions {
    margin: 0;
}

.sort-btn,
.search-btn {
    background-color: #6e361a;
    /* Updated background color */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sort-btn:hover,
.search-btn:hover {
    background-color: #4b2414;
    /* Darker shade for hover state */
}

body .dataList th a,
body .dataList th,
body .dataList td a,
body .dataList td {
    white-space: nowrap;
    max-width: unset;
}

footer[class=""] {
    display: none;
}

/* ---------------------------------------- test transfer cti */
.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.inner-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    text-align: center;
}

#htmlevent {
    margin-top: 20px;
    text-align: left;
}

.pull-right.badge.rowCount {
    display: none;
}

/* Default width settings */
.chosen-container.chosen-container-single {
    width: 50%;
    /* Default 50% */
    max-width: 400px;
    /* Maximum width */
    min-width: 200px;
    /* Minimum width */
    transition: width 0.3s ease;
    /* Smooth transition when resizing */
}

/* Screen smaller than 1200px */
@media (max-width: 1200px) {
    .chosen-container.chosen-container-single {
        width: 70%;
        /* Increase width */
    }
}

/* Screen smaller than 992px (tablet landscape) */
@media (max-width: 992px) {
    .chosen-container.chosen-container-single {
        width: 80%;
        /* Increase width */
    }
}

/* Screen smaller than 768px (tablet portrait) */
@media (max-width: 768px) {
    .chosen-container.chosen-container-single {
        width: 100%;
        /* Full width for smaller screens */
    }
}

/* Screen smaller than 576px (mobile) */
@media (max-width: 576px) {
    .chosen-container.chosen-container-single {
        width: 100%;
        /* Full width */
        max-width: none;
        /* Remove max-width restriction */
        min-width: 0;
        /* Remove min-width restriction */
        padding: 5px;
        /* Add small padding */
    }
}

.my-responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1000px;
    border: none;
}

/* Notification for missing CTI 3CX */
.unavailable-message {
    margin-left: 10px;
    color: red;
    /* Red color */
    font-weight: bold;
    font-size: 1.2em;
    animation: blink 1s infinite;
    /* Blinking effect */
    text-shadow: 0px 0px 5px rgba(255, 0, 0, 0.5);
    /* Soft shadow effect */
}

/* Blinking animation effect */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}