
/* Multi select Start */
.filter {
    --border-color: #ced4da;
    --inner-padding: 12px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.filter__top:has(input:focus) {
    background-color: #fff;
}

.filter__top .input-group-text {
    border-radius: 0 !important;
    border: 0 !important;
    background-color: transparent;
    font-size: 18px;
}

.filter__top .form-control {
    border: 0 !important;
    border-radius: 0 !important;
    padding-block: 17px !important;


}

.filter__top .form-control:focus {
    border: 0 !important;
    background-color: transparent;
    box-shadow: unset !important;
}

.filter__box {
    display: flex;
    flex-wrap: wrap;
}

.filter__right,
.filter__left {
    width: 100%;
    flex: 1;
    min-width: 300px;
    border-top: 1px solid var(--border-color);

}

.filter__right.empty {
    background-color: rgba(0, 0, 0, 0.01);
}

.filter__left {
    border-right: 1px solid var(--border-color);
}


.filter__box-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    padding: var(--inner-padding);
    border-bottom: 1px solid var(--border-color);
}

.filter__btn {
    background: transparent;
    transition: all 0.2s;
}

.filter__btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.filter__btn:hover {
    text-decoration: underline;
}


.filter__title {
    font-size: 14px;
    font-weight: 600;
}

.filter-list__item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-list__item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


.filter-list__item .name {
    font-size: 12px;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-list__item .user-activity {
    width: 8px;
    height: 8px;
}

.filter__body {
    padding-block: 10px;
    height: 200px;
    overflow-y: auto;
}

.filter__body::-webkit-scrollbar {
    width: 8px;
}

@media screen and (max-width:425px) {

    .filter__right,
    .filter__left {
        min-width: 100%;
    }

    .filter {
        --inner-padding: 8px 10px;
    }
}


/* Table Sticky CSS */
/*! Can't do due to Styling issue */
/* .table-sticky {
    thead {
        position: sticky;
        top: 0;
        z-index: 12;
        transition: all 0.2s ease;
        height: 40px;
    }

     tfoot {
        position: sticky;
        bottom: 0;
    } 
}
*/



/* Filter Dropdown */
.filter-dropdown .filter-dropdown__header,
.filter-dropdown .filter-result__header,
.reporting-filter-dropdown__header,
.reporting-filter-result__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid #dee2e6;
    opacity: 0.8;
}

.filter-dropdown .dropdown-menu {
    padding: 0;
}

.filter-dropdown .filter-dropdown__header-btn,
.filter-dropdown .filter-result__header-btn,
.reporting-filter-dropdown__header-btn,
.reporting-filter-result__header-btn {
    background-color: unset;
    font-size: 12px;
}

.filter-dropdown .filter-dropdown__search,
.filter-dropdown .filter-result__search,
.reporting-filter-dropdown__search,
.reporting-filter-result__search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding: 0 10px;
}

.filter-dropdown .filter-dropdown__search-icon i,
.filter-dropdown .filter-result__search-icon i,
.reporting-filter-dropdown__search-icon i,
.reporting-filter-result__search-icon i {
    line-height: 1;
    transform: rotate(270deg);
}

.filter-dropdown .filter-dropdown__search-input,
.filter-dropdown .filter-result__search-input,
.reporting-filter-dropdown__search-input,
.reporting-filter-result__search-input {
    flex: 1;
    width: auto;
    border: 0;
    font-size: 12px;
    padding: 0px 5px !important;
    line-height: 2.5;
}

.filter-dropdown .filter-dropdown__search-input:focus,
.reporting-filter-result__search-input:focus .reporting-filter-dropdown__search-input:focus {
    box-shadow: unset;
}

.filter-dropdown .filter-dropdown__body,
.filter-dropdown .filter-result__body,
.reporting-filter-dropdown__body,
.reporting-filter-result__body {
    padding-block: 6px;
    max-height: 230px;
    overflow: auto;
}

.reporting-filter-result__body:has(textarea) {
    padding-block: unset;
}


.filter-dropdown .filter-dropdown__body::-webkit-scrollbar,
.filter-dropdown .filter-result__body::-webkit-scrollbar,
.reporting-filter-dropdown__body::-webkit-scrollbar,
.reporting-filter-result__body::-webkit-scrollbar {
    width: 8px;
}

.filter-dropdown .filter-dropdown__items,
.filter-dropdown .filter-result__items,
.reporting-filter-dropdown__items,
.reporting-filter-result__items {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    color: #000;
    opacity: 1;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 12px;
}

.reporting-filter-result__items {
    justify-content: start;
    gap: 5px;
}

.filter-dropdown .filter-dropdown__items:hover,
.filter-dropdown .filter-dropdown__items.active,
.filter-dropdown .filter-result__items:hover,
.reporting-filter-dropdown__items:hover {
    background: rgb(0 0 0 / 5%);
}

.filter-dropdown .filter-dropdown__items.active>.filter-result,
.reporting-filter-dropdown__items.active>.report-filter-menu,
.reporting-filter-dropdown__items.active>.reporting-filter-result {
    display: block;
    opacity: 1;
    animation: FadeIn 0.3s ease-in-out;
    transform: translateX(0);
}

.filter-dropdown .filter-dropdown__items-text,
.filter-dropdown .filter-result__items-text {
    font-size: 12px;
}

.filter-dropdown .filter-dropdown__items-icon {
    font-size: 12px;
    float: inline-end;
    margin-top: 3px;
}

.filter-result,
.report-filter-menu,
.reporting-filter-result {
    position: fixed;
    background: #fff;
    right: 100%;
    top: 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: none;
    opacity: 0;
    animation: FadeOut 0.3s ease-in-out;
    z-index: 1;
}

.reporting-filter-result {
    width: 350px;
}

.report-filter-menu {
    width: 210px;
}

.filter-dropdown.report-filter .filter-result,
.report-filter-menu,
.reporting-filter-result {
    left: 100%;
}

.filter-dropdown.report-filter .report-filter-menu {
    position: fixed;
    left: 100%;
    top: 77px;
    z-index: 999;
    transform: translate(0);
    display: none;
}

.filter-dropdown .active>.report-filter-menu {
    display: block;
}

@media screen and (max-width: 1230px) {
    .reporting-filter-dropdown__items .reporting-filter-result {
        left: 0%;
    }
}

@media screen and (max-width: 1099px) {
    .reporting-filter-dropdown__items .report-filter-menu {
        left: 0%;
    }
}

.filter-dropdown .filter-result {
    width: 375px;
}

.filter-dropdown .filter-result__items {
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    display: block;
}

.filter-dropdown .filter-result__header-btn-group,
.reporting-filter-result__header-btn-group {
    display: flex;
    align-items: center;
}

.filter-dropdown .filter-result__header-btn {
    line-height: 1;
}

.filter-dropdown .filter-result__header-btn.close-menu {
    display: none;
}

@media screen and (max-width: 650px) {
    .filter-dropdown .filter-result__header-btn.close-menu {
        display: block;
    }

    .filter-dropdown .filter-result__header-btn-group .filter-result__header-btn:first-child {
        border-right: 1px solid #dee2e6;
        margin-right: 5px;
        padding-right: 5px;
    }
}

.filter-dropdown .filter-result__items-select,
.reporting-filter-result__items-select {
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.filter-dropdown .filter-result__items:has([type="radio"]:checked) .filter-result__items-select,
.reporting-filter-result__items:has([type="radio"]:checked) .reporting-filter-result__items-select {
    opacity: 1;
    visibility: visible;
}

.filter-dropdown .user-activity {
    width: 8px;
    height: 8px;
}

.filter-dropdown .filter-result__items-status {
    line-height: 1;
}

.filter-dropdown .filter-dropdown__footer {
    display: flex;
    justify-content: center;
    padding: 6px 10px;
    border-top: 1px solid #dee2e6;
    gap: 10px;
}

.filter-dropdown .filter-dropdown__footer .submit-btn {
    height: 30px !important;
}

@media screen and (max-width: 650px) {
    .filter-dropdown .filter-result {
        right: 0;
    }
}

@media screen and (max-width: 425px) {
    .filter-dropdown .filter-result {
        width: 300px;
    }
}

@media screen and (max-width: 1199px) {
    .filter-dropdown .filter-dropdown__tiger-text {
        display: none;
    }

    .filter-dropdown .filter-dropdown__tiger {
        padding-inline: 8px !important;
    }

    .filter-dropdown .filter-dropdown__tiger i {
        margin: 0 !important;
    }
}

.table-action-menu .dropdown-menu {
    width: 220px;
    padding-block: 0;
}

.table-action-menu .table-action__header-title {
    padding: 10px 8px;
    border-bottom: 1px solid #dee2e6;
}

.table-action-menu .table-action__list {
    padding-block: 6px;
    border-bottom: 1px solid #dee2e6;
}

.table-action-menu .table-action__list:last-child {
    border-bottom: 0;
}

.table-action-menu .table-action__items {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    transition: all 0.3s;
    cursor: pointer;
    background-color: unset;
}

.table-action-menu .table-action__items:hover {
    background-color: hsla(0, 0%, 5%, 0.05);
}

.table-action-menu .table-action__items-text {
    font-size: 12px;
}

.table-action-menu .table-action__items-icon {
    font-size: 12px;
}

.table-action-menu .action-result {
    position: absolute;
    background: #fff;
    right: 100%;
    top: 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: none;
    opacity: 0;
    animation: FadeOut 0.3s ease-in-out;
    width: 130px;
}

.table-action-menu .table-action__items.active .action-result {
    display: block;
    opacity: 1;
    animation: FadeIn 0.3s ease-in-out;
}

.table-action-menu .action-result__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    opacity: 0.8;
    gap: 70px;
}

.table-action-menu .table-customization {
    min-width: max-content;
}

.table-action-menu .table-customization .action-result__header {
    padding: 10px 8px;
}

.table-action-menu .table-customization .action-result__item {
    margin: 5px 6px;
    border-radius: 11px;
}

.table-action-menu .action-result__header-btn {
    background-color: unset;
    font-size: 12px;
}

.table-action-menu .action-result__search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding: 0 10px;
}

.table-action-menu .action-result__search-input {
    flex: 1;
    width: auto;
    border: 0;
    font-size: 12px;
    padding: 0px 5px;
    line-height: 2.5;
}

.table-action-menu .action-result__search-input:focus {
    box-shadow: unset;
}

.table-action-menu .action-result__body {
    padding-block: 6px;
}

.table-action-menu .action-result__list {
    max-height: 230px;
    overflow: auto;
}

.table-action-menu .action-result__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 9px;
    opacity: 1;
    transition: all 0.3s;
    cursor: pointer;
    border-color: #dee2e6;
    font-size: 12px;
}

.table-action-menu .action-result__item:hover {
    background-color: rgb(0 0 0 / 5%);
}

.table-action-menu .action-result__item label {
    margin-bottom: 0;
}

.table-action-menu .custom-switch-label:active::after {
    width: 15px;
}

.table-action-menu .custom-switch-label {
    width: 40px;
    height: 20px;
}

.table-action-menu .custom-switch-label:after {
    left: 3px;
}

.table-action-menu .table-action__tiger {
    width: 30px;
}

.table-action-menu .action-result__footer {
    display: flex;
    justify-content: center;
    padding: 6px 10px;
    border-top: 1px solid #dee2e6;
    gap: 10px;
}

.table-action-menu .action-result__footer .submit-btn {
    height: 30px !important;
}


@keyframes FadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes FadeOut {
    0% {
        display: block;
        opacity: 1;
    }

    99% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

.reporting-card {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background-color: #fff;
}


.reporting-card .reporting-card__footer {
    background-color: var(--heading-color);
    border-radius: 0 0 5px 5px;
    padding-block: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reporting-card .reporting-card__body {
    display: flex;
    padding: 5px;
}

.reporting-card .reporting-card__date {
    padding: 10px;
    width: 150px;
    display: flex;
    gap: 6px;
    font-weight: 500;
    height: 55px;
    background: transparent;
}


.reporting-card__filter {

    flex: 1;
    padding: 10px;
    min-height: 100px;
    border-left: 1px solid #dee2e6;
}

.reporting-card__filter-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 5px;
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.reporting-filter-item {
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 5px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reporting-filter-item__close {
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.8;
}

.reporting-filter-item__close:hover {
    opacity: 1;
    transform: scale(1.2);
}

.reporting-card__filter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reporting-card__filter-header-clear {
    background-color: transparent;
    transition: all 0.3s;
}

.reporting-card__filter-header-clear:hover {
    text-decoration: underline;
}

.reporting-card__filter-btn {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
}

.reporting-card__filter-btn__icon,
.reporting-card__date-icon {
    --btn-size: 25px;
    width: var(--btn-size);
    height: var(--btn-size);
    background: #1e3557;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    flex-shrink: 0;
}

.reporting-card .reporting-filter-date-input {
    z-index: -99999;
    position: absolute;
    left: 0;
    top: 0;
    height: 16px;
    width: 10px;
}

.filter-date-text {
    font-weight: bold;
}

.reporting-card__date-date {
    text-align: left;
    padding-left: 5px;
}

.reporting-card__filter-btn__text {
    transition: all 0.2s;
    border-radius: 3px;
    padding: 2px 3px;
}

.reporting-card__filter-btn:hover .reporting-card__filter-btn__text {
    background-color: #00000010;
}

.table-matrix {
    width: 480px !important;
    font-size: 12px;
    z-index: 99;
}

.table-matrix .metric-filer-menu {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

@media screen and (max-width:750px) {
    .table-matrix {
        top: 30px !important;
    }
}

.table-matrix .form-control {
    height: 30px;
}

.table-matrix .action-result__body {
    padding: 10px;
}

.table-matrix__header {
    padding: 10px 8px;
    border-bottom: 1px solid #dee2e6;
}

.filter-date-input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    height: 10px;
    width: 10px;
    z-index: -1;

}

.filter-table-search {
    max-width: 250px;

    .searchForm {
        height: 30px !important;
    }
}

.metric-info-right-symbol {
    display: flex;
    justify-content: space-between;

    label {
        cursor: pointer;
        flex: 1;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:has([type="radio"]:checked) {
            background: #fff;
        }
    }
}

.filterForm textarea {
    min-height: unset;
}

.reporting-filter-table-search button {
    height: 32px !important;
}

/* Custom Tracking Link Design */
.cf-tracking-link__body {
    --border-radius: 8px;
    border-right: 1px solid #ced4da;
}

.cf-custom-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e9ecef;
    border-radius: var(--border-radius, 8px);
}

.cf-custom-tab__li {
    flex: 1;
    text-align: center;
    padding: 3px;
}

.cf-custom-tab__btn {
    background: transparent;
    font-size: 14px;
    padding: 3px 5px;
    white-space: nowrap;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
}

.cf-custom-tab__btn.active,
.cf-custom-tab__input:checked+.cf-custom-tab__btn {
    width: 100%;
    border: 1px solid #0000004d;
    border-radius: 8px;
    background-color: #fff;
}

.cf-custom-tab__input {
    display: none;
}

.cf-custom-child {
    margin-left: 50px;
    position: relative;
}

.cf-custom-child__list {
    border-radius: var(--border-radius);
    padding: 10px;
    margin-top: 20px;
    background: #e9ecef;
}

.cf-custom-child::after {
    content: '';
    position: absolute;
    border: 1px solid #0000004d;
    border-radius: 10px;
    top: -25px;
    left: -20px;
    z-index: -1;
    width: 40px;
    height: 47px;
    border-right-color: transparent;
    border-top-color: transparent;
    border-top-left-radius: 0;

}

@media screen and (max-width:575px) {
    .cf-custom-child::after {
        left: -10px;
    }

    .cf-custom-child {
        margin-left: 20px;
    }

    .cf-custom-child__list {
        margin-top: 10px;
    }
}

@media screen and (max-width:375px) {
    .cf-custom-tab {
        flex-direction: column;
    }

    .cf-custom-tab__li {
        width: 100%;
    }
}

.cf-custom-child .form-control {
    background-color: #fff;
}

.cf-custom-child__item {
    margin-bottom: 8px;
}

.cf-custom-child__item:last-child {
    margin-bottom: 0;
}

.cf-encrypt-url {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.cf-encrypt-url>* {
    max-width: fit-content;
}

.cf-url-placeholder {
    border-radius: 8px;
    background-color: #60a7ef1c;
    padding: 15px;
    color: #000;
    font-size: 12px;
}

.font-italic {
    font-style: italic;
}

.cf-share-url {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.cf-share-url__btn,
.cf-tracking-btn {
    border: 1px solid #0000004d;
    border-radius: 5px;
    height: 30px;
    width: 30px;
    background-color: transparent;
    transition: all 0.2s;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-tracking-btn:hover,
.cf-share-url__btn:hover {
    background-color: #0000000f;
}

.cf-tracking-btn {
    width: auto;
    padding-inline: 20px;
    gap: 10px;
    font-size: 14px;
    height: auto;
    min-height: 30px;
}

.cf-tracking-btn-title {
    font-size: 12px;
    margin-bottom: 8px;
}

.fs-17 {
    font-size: 17px;
}

.fs-12 {
    font-size: 12px;
}

.scale-1 {
    transform: scale(1);
}

.line-numbers .line-numbers-rows {
    left: 0px !important;
    top: 19px;
    background: #2d2d2d;
    position: fixed;
}

.filter-dropdown__tiger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.column-select thead tr {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 99;
}

.pointer-none {
    pointer-events: none;
}

.mw-800 {
    max-width: 800px;
}

.mw-500 {
    max-width: 500px;
}

.cf-custom-modal-closing {
    font-size: 22px;
    right: 4px;
    background: #ffffff !important;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    top: 2px;
    position: absolute;
    z-index: 1;
}

.z-999 {
    z-index: 999 !important;
}

.z-1000 {
    z-index: 1000 !important;
}

.accordion--nav__link {
    display: flex;
    align-items: center;
    gap: 6px;

}

.accordion--nav__link span {
    color: var(--heading-color, #2a2929);
}

.accordion--nav__link:hover span {
    color: #000;
}

.accordion--nav__list {
    border-right: 1px solid #8a96a7;
    padding-right: 15px;
    margin-right: 10px;
}

.accordion--nav__list:last-child {
    border-right: 0px;
    padding-right: 0px;
    margin-right: 0px;
}

.flex-center {
    align-items: center;
    justify-content: center;
}



/* Image Drag and drop css Start */
.cf-custom-upload {
    width: 100%;
    border: 0;
    border-radius: 8px;
    position: relative;
}

.cf-custom-upload.drop-area {
    height: 200px !important;
}

.cf-custom-upload__close {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 1;
    font-size: 20px;
    line-height: 1;
}

.cf-custom-upload__border {
	border: 1px dashed #ccc;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	padding: 10px;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.dragging .cf-custom-upload__border {
    border-color: #000;
    background-color: #00000004;
}

.cf-custom-upload__preview {
    position: relative;
    margin-bottom: 10px;
}

.cf-custom-upload__preview-img {
    width: 260px;
    height: 115px;
    object-fit: contain;
    cursor: pointer;
}

.cf-custom-upload__img-title {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.cf-custom-upload__label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.cf-custom-upload__label-text {
    text-align: center;
}

.cf-custom-upload__label-btn {
    margin-top: 10px;
    background-color: var(--heading-color);
    border-color: var(--heading-color);
}

.cf-custom-upload__label-btn:hover {
    background-color: #101b2d;
    border-color: #101b2d;
}

/* Image Drag and drop css End */
.table-scroll {
    max-height: 77vh;
}

.sticky-name {
    position: sticky;
    left: 0;
}

.has-left-checkbox.sticky-name {
    left: 29px;
}


.cf-custom-child:has(.offer-urls.d-none):has(.creative-lists.d-none) {
    display: none;
}
.reporting-filter-result__body textarea {
    border-radius: 0 !important;
    border: none;
}
