body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

h1 {
    margin-bottom: 20px;
}

.l-h-0 {
    line-height: 0 !important;
}

.z-1 {
    z-index: 1;
}

.z-11 {
    z-index: 11;
}

.max-w-con {
    width:  max-content;
}

.round_btn {
    border-radius: 5px !important;
}

.round_btn_style {
    color: #fff;
    background-color: #084149;
    border-color: #084149;
}

.adfreak-logo {
    width: 160px;
    height: 30px;
}

.adfreak-logo img {
    width: 100%;
    object-fit: cover;
}

#disabled-message {
    color: #D3D3D3;
}

.dark-green{
    color:#13171f;
}

/* pagination */
#pagination .page-item.active .page-link {
    color: #fff;
    background-color: #5e797c;
    border-color: #5e797c;
    cursor: default;
}

.page-item:not(:first-child) .page-link {
    color: #084149;
}

#pagination .page-link {
    color: #084149;
}

/* #pagination .page-link:focus {
    box-shadow: 0 0 0 .25rem rgb(8 65 73 / 0%);
} */

#pagination .page-link:focus {
    box-shadow: 0 0 0 .25rem rgb(8 65 73 / 14%);
}

/* end */

/* custom-scroll */
.custom-scroll::-webkit-scrollbar {
    width: 20px;
    height: 10px;
}

/* Track */
.custom-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #ccc;
}

/* Handle */
.custom-scroll::-webkit-scrollbar-thumb {
    background: #084149;
}

/* Handle on hover */
/* .custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #084149;
  } */

/* dropdown */
.fs-14 {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.fs-12 {
    font-size: 12px !important;
}

.bg-gray {
    background-color: #efefef;
    transform: translate(-30px, 46px) !important;
    border-radius: 0.5rem;
}

#report-content .client_report_drp_btn .dropdown-item:focus,
.dropdown-item:hover {
    background-color: #e4f1f3;
    color: #000;
}

.model-style-set .modal-content .modal-footer button:nth-child(1),
.modal-content .modal-footer button {
    padding: 3px 22px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    /* border-radius: 1.5rem; */
    border-radius: 5px;
}

.modal-content .modal-header .btn-close:focus {
    box-shadow: none;
}

.border-1 {
    border: solid #000 1px;
}

.border-gray {
    border-color: #d5d1d1;
}

.list-unstyled li:hover {
    background-color: #d0e4e7;
}

.list-unstyled li a {
    text-decoration: none;
}

.bg-voilet {
    background-color: #e8f0fe;
}

.btn-custom {
    padding: 7px 10px;
    color: #19383F;
    background-color: #fff;
    border: 1px solid #19383F;
}

.btn-custom:hover,
.btn-custom-red:hover {
    color: #fff;
}

.btn-custom:hover {
    background-color: #067c8b;
}

.btn-custom-red {
    padding: 4px 10px;
    color: #fff;
    background-color: #E9431F;
}

.btn-danger {
    background-color: #E9431F !important;
}

.btn-danger:hover,
.btn-custom-red:hover {
    background-color: #c93716 !important;
}

.btn-dark-blue {
    background-color: #13171f;
    color: #fff;
}

.btn-dark-blue:hover {
    background-color: #66696D;
    color: #fff;
}

.notify-point span {
    font-size: 12px !important;
}

.light-purple {
    background-color: #E8DCFC;
}

.light-teal {
    background-color: #CDDFE2;
}

.light-purple:hover {
    background-color: #d4c0f5;
}

.light-teal:hover {
    background-color: #b9d0d4;
}

.size-btn {
    width:  88px;
}

.cus-btn-edit {
    background-color: #E9431F !important;
    color: #FFE7E2 !important;
    padding: .25rem 1.5rem !important;
}

.cus-btn-edit:hover {
    background-color: #e3370a !important;
}

.p-10 {
    padding: 10px 10px;
}

#client option {
    border: solid #ccc 1px;
    color: #ffffff;
}

#client option :hover {
    background-color: #d0e4e7 !important;
}

/* seach_Term */
.seach-term-wrraper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancel-btn {
    background: #084149;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    padding: 3.8px 7px;
}

.refresh-btn {
    background: #084149;
    width: 25px !important;
    height: 25px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    padding: 0.5px 0px;
}

.refresh-btn:hover,
.cancel-btn:hover {
    background: #067c8b;
}

.svg-rotate-270 {
    transform: rotate(270deg);
}

.svg-rotate-0 {
    transform: rotate(1deg);
}

.table-responsive .search-term-table thead tr th {
    min-width:  113px;
    align-content: center;
    font-size: 14px;
    /* white-space: nowrap; */
}

.arrow-hover {
    width: 10px;
    color: #084149;
}

.arrow-hover:hover {
    color: #fe3602;
    cursor: pointer;
}

.Campaign-Labels {
    max-height: 200px;
    overflow-y: auto;
    width: -webkit-fill-available;
}

/* filter */

#On-filter-saved-filter-dropdown .dropdown-toggle::after {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 15px;
    margin-right: 6px;
    font-size: 19px;
}

#On-filter-saved-filter-dropdown .dropdown-menu {
    width: 95%;
}

/* End */

/* Edit Client */
.req-icon .tooltip-edit-clint {
    display: none;
    /* Initially hide the tooltip */
    background-color: #f8f9fa;
    border: 1px solid #6c757d;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    bottom: -39px;
    /* Position it above the input field */
    left: 50%;
    transform: translateX(40%);
    margin-bottom: 5px;
    /* Adjust space between input and tooltip */
    position: absolute;
    z-index: 1000;
}

.tooltip-arrow {
    position: absolute;
    left: 50%;
    top: -15%;
    transform: translateX(251%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #6c757d;
}

.icon-32 {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.icon-20 {
    width: 20px;
    height: 20px;
}

.icon-32-font-size {
    font-size: 32px;
}

/*End */

/* Edit save popup */
#editFilterModal .modal-dialog .modal-content {
    width: max-content;
}

/* end */

.non-clickable {
    cursor: default !important;
}

.display-none {
    display: none;
}

#noFilter {
    width: 100%;
    padding: 7px;
    color: #555;
    /* background: #dfdfdf38; */
    text-align: center;
}

.show {
    visibility: visible;
}

.hide {
    visibility: hidden;
}

.filter-invert {
    filter: invert(1);
}

.text-left {
    text-align: left
}

.clr-green {
    color: #084149;
}

.td-width {
    min-width: 220px !important;
}

div#report-content,
div#report-content button,
div#report-content p,
div#report-content select,
div#report-content label,
div#report-content a,
div#report-content span,
div#report-content input {
    font-size: 14px;
    font-weight: 600;
}

div#report-bar,
div#report-bar ul a {
    font-size: 14px;
}

/* Item tab from */
.field-custom-select {
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    background-image: url('data:image/svg+xml;utf8,<svg stroke="%23999" fill="none" stroke-width="1" height="30" viewBox="0 0 24 24" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 30px;
    /* Makes arrow larger */
    color: gray;
}

.bold-icon svg {
    filter: drop-shadow(0 0 0.8px currentColor);
    color: #000;
}

.new_item_header_btn svg.collapse-icon {
    height: 13px;
}

/* Client Edit */
.client-edit-table {
    padding: 0px;
    border: 1px solid #dee2e6;
}

.client-edit-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #EEF1F7;
}

.client-edit-table table thead {
    background-color: #EEF1F7;
}


.table-header-cell {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    cursor: default;
}

.table-data-cell {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    cursor: default;
}

/* end */

/* media */
@media (max-width:1024px) {
    .seach-term-wrraper {
        flex-wrap: nowrap;
        gap:  10px;
    }
}

@media (max-width:768px) {
    #report-bar {
        display: block;
        position: absolute;
        z-index: 99;
    }

    .m-0 {
        margin: 0 !important;
    }

    .seach-term-wrraper {
        flex-wrap:nowrap;
        gap:11px
    }
}

@media (max-width:576px) {
    .m-0 {
        margin: 0 !important;
    }

    .client-wrraper.dropdown, .dropdown.btn-custom ,.btn-custom,.client-wrraper ,.custom-select-wrapper,.dropdown {
        width: 100%;
    }

    .seach-term-wrraper :first-child div{
        width: 100%;
    }

    .seach-term-wrraper .d-flex{
        width: 100%;
        display: grid !important;
    }

    .for-min-btn{
    min-width: 100% !important;
    width: 100% !important;
    }
    .btn.btn-dark-blue{
        width: 100%;
    }

    .menu-bar.d-md-flex {
        display: grid !important;
        gap: 10px;
    }

    /* budget */
    .set-dropdown .dropdown-toggle{
        width: 100%;
    }

    .client-header .btn-add{
     display:grid;
     gap:10px;
     width:100%;
    }

    .client-header{
        gap:10px !important;
    }
/* mobile End */

    .seach-term-wrraper .client_report_drp_btn {
        display: flex;
        align-items: center;
    }

    #pagination .pagination li a {
        padding: 5px;
    }

    .sm-block {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    .seach-term-wrraper{
        flex-wrap: wrap;
        gap: 11px;
    }
}

@media (min-width: 992px) {
    .model-style-set {
        max-width: 1000px !important;
    }
}

.pointer {
    cursor: pointer;
}

.no-text-cursor {
    cursor: default;
}

.cursor-unset {
    cursor: unset;
}

.fixed-selector {
    overflow-x: auto;
    overflow-y: hidden;
    width: 220px;
    scrollbar-color: rgb(16, 125, 250) rgb(233 233 233);
    scrollbar-width: thin;
}

/* this is the dropdown css  */
div#saved-filter-options {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

/* this is column resizing css  */
/* Table ko fixed layout dene ke liye CSS update */
#resizableTable {
    width: 100%;
    table-layout: fixed;
}

#resizableTable th {
    position: relative;
    width: 150px;
    overflow: hidden;
    padding:8px 10px !important;
}

/* table#resizableTable thead tr th.sorting:first-child {
    width: 280px;
} */

/* table#resizableTable thead tr th.sorting:nth-of-type(1) {
    width:35ch;
} */

table#resizableTable thead tr th.sorting:nth-of-type(2) {
    width:  35ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(3) {
    width:  35ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(4) {
    width:  35ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(5) {
    width:  20ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(6) {
    width:  20ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(7)  {
    width:  35ch;
}

table#resizableTable thead tr th.sorting:nth-of-type(8)  {
    width:  80px;
}

table#resizableTable thead tr th.sorting:nth-of-type(9) {
    width: 105x;
}

table#resizableTable thead tr th.sorting:nth-of-type(10) {
    width:  68px;
}

table#resizableTable thead tr th.sorting:nth-of-type(11) {
    width:  102px;
}

table#resizableTable thead tr th.sorting:nth-of-type(12)  {
    width:  99px;
}

table#resizableTable thead tr th.sorting:nth-of-type(13) {
    width:  102px;
}

table#resizableTable thead tr th.sorting:nth-of-type(14) {
    width:  130px;
}

table#resizableTable thead tr th.sorting:nth-of-type(15) {
    width:  106px;
}

table#resizableTable thead tr th.sorting:nth-of-type(16)  {
    width: 109px;
}

table#resizableTable thead tr th.sorting:nth-of-type(17) {
    width:  106px;
}

table#resizableTable thead tr th.sorting:nth-of-type(18)  {
    width:  130px;
}

table#resizableTable thead tr th.sorting:nth-of-type(19) {
    width: 151px;
}

table#resizableTable thead tr th.sorting:nth-of-type(20) {
    width:  113px;
}

table#resizableTable thead tr th.sorting:nth-of-type(21) {
    width:  100px;
}

table#resizableTable thead tr th.sorting:nth-of-type(22)  {
    width: 119px;
}

table#resizableTable thead tr th.sorting:nth-of-type(23) {
    width:  121px;
}

table#resizableTable thead tr th.sorting:nth-of-type(24) {
    width:  112px;
}

table#resizableTable thead tr th.sorting:nth-of-type(25) {
    width: 130px;
}

table#resizableTable thead tr th.sorting:nth-of-type(26) {
    width: 160px;
}

#resizableTable .resizer {
    position: absolute;
    right: 0;
    width: 5px;
    top: 0;
    bottom: 0;
    cursor: col-resize;
    user-select: none;
}

/* client action */
.client_info_container {
    display: flex;
    margin-bottom: -20px;
}

.client_col_container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-top: 20px;
}

.is-invalid {
    background-color: #f8d7da;
}

.active-tab {
    border-top: solid 1px #e9ecef;
    border-left: solid 1px #e9ecef;
    border-right: solid 1px #e9ecef;
    border-radius: 0.30rem 0.30rem 0rem 0rem !important;
    background-color: #fff;
}

.download-color {
    color: white;
    border-color: #0d6efd;
}

.active-tab .nav-link {
    border-bottom: solid 1px red;
    cursor: default;
}

.nav-link {
    cursor: pointer;
}

.active-tab .nav-link:hover {
    border-bottom: solid 1px red;
}

/* offer tab */
.offer_card {
    border: 1px solid #dee2e6;
    border-radius: 8px
}

.offer_cart_header {
    margin: 5px 0px;
    padding: 5px 12px;
}

/* budget update loader  */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loader img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

#loader p {
    font-size: 18px;
    font-weight: bold;
    color: #444;
}

/* end */

.disabled-dropdown {
    pointer-events: none;
    opacity: 0.6;
}

.dropdown-item.active {
    background-color: #CDDFE2;
    color: #084149;
    pointer-events: none;
}

.client-option {
    color: #084149
}

.sort-icon {
    cursor: pointer;
}

.sorting {
    cursor: pointer;
}

.search-item-box-hidden {
    display: none !important;
}

/* Wrapper for the entire table */
.table-wrapper {
    /* max-height: 500px;  */
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    position: relative;
    border-bottom: 1px solid #e2e2e2;
}

/* Scrollable content for the table (body) */
.table-scroll-top {
    /* max-height: 353px;   */
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    margin-top: 20px; 
}

.table-scroll-top::-webkit-scrollbar {
    width: 8px; 
}

/* Make the table header sticky at the top */
thead th {
    position: sticky;
    top: 0;
    background-color: white; 
    z-index: 10; 
}

/* Optional: Some styling for table */

div#report-content .table-responsive table.table thead, .table-responsive table.table thead {
    position: sticky;
    top: 0;
    background-color: #f1f1f1;
    z-index: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.custom-button-sidebar{
    height: 593px;
    overflow-y: auto;
}

.custom-button-sidebar::-webkit-scrollbar {
    width: 3px; 
}

.custom-button-sidebar::-webkit-scrollbar-thumb {
    background-color: #084149;
}

.custom-button-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

#CompaignsResizableTable {
    width: 100%;
    table-layout: fixed;
}

#CompaignsResizableTable .resizer {
    position: absolute;
    right: 0;
    width: 5px;
    top: 0;
    bottom: 0;
    cursor: col-resize;
    user-select: none;
}