.funnelBtnHold{
    display: flex;
    justify-content: end;
}

.table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling */
    max-width: 100%; /* Ensure it doesn’t exceed viewport width */
}

.table-header tr{
    background: rgba(22, 65, 185, 0.14);
}

.table-header, .table-body {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensure a minimum width for the table */
}

.table-header th {
    background-color: #1641B924;
    padding: 12px 10px;
    text-align: left;
    cursor: pointer;
    line-height: 120%;
    border-bottom: 1px solid #E6E5E9;
    border-right: 1px solid #1641B924;
    font-size: 14px;
}
.table-header th a{
    color: black!important;
    display: flex;
    justify-content: space-between;
    width: 100%!important;
}
.table-header th a i{
    color: #9999A8;
}

.table-body tr {
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.table-body tr:hover {
    background-color: #F4F7FF;
}

.table-body td {
    padding: 13px 10px;
    text-align: left;
    font-size: 14px;
}

.highlight {
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

.highlight.low {
    background-color: #fcbdbd; /* Light red */
}

.highlight.medium {
    background-color: #d97979; /* Medium red */
}

.highlight.high {
    background-color: #c33c3c; /* Dark red */
}

.actions {
    text-align: center;
}

.edit-icon {
    cursor: pointer;
}

/* Table column widths */
.table-header th, .table-body td {
    min-width: 60px;
    max-width: 60px;
    width:     60px;
    text-align: center;
}

/* name column */
.table-header th:nth-child(1), .table-body td:nth-child(1) {
    min-width: 100px;
    max-width: 100px;
    width:     100px;
    text-align: center;
}
/* status column */
.table-header th:nth-child(2), .table-body td:nth-child(2){
    min-width: 80px;
    max-width: 80px;
    width:     80px;
    text-align: center;
}
/* button column */
.table-header th:nth-last-child(2), .table-body td:nth-last-child(2) {
    min-width: 70px;
    max-width: 70px;
    width:     70px;
    text-align: center;
}
/* select all column */
.table-header th:nth-last-child(1), .table-body td:nth-last-child(1) {
    min-width: 40px;
    max-width: 40px;
    width:     40px;
    text-align: center;
}

/* other table styles */
.table-body td:nth-child(1) {
    color: #1D56F7;
    text-decoration: underline;
}

.table-body td {
    border-right: 1px solid #091A4A14;
}

.table-body td:nth-last-child(1) {
    padding: 0;
}

/* A/B test variant row styles */
.darkHover {
    background-color: #1D56F70D;
    transition: all .3s ease;
}

.darkHover td:nth-child(1) {
    color: #1D56F7;
}

.darkHover td:nth-child(1) span {
    text-decoration: underline;
}

.darkHover td:nth-child(1) i {
    text-decoration: none;
}

.darkHover:hover {
    background-color: #1d57f729 !important;
}
.newFunnBtn{
    position: relative;
    /* top: 65px; */
}
.select_contain{
    width: fit-content;
}

/* Select dropdown */
.select-dropdown {
    position: relative;
    display: inline-block;
}

.select-dropdown-button:focus {
    outline: none;
}

.select-dropdown:focus-within .select-dropdown-menu {
    display: block;
}

.select-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    min-width: 260px;
    z-index: 10;
    text-align: left;
}

.select-dropdown-menu a {
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
    color: #111827;
    font-size: 14px;
}

.select-dropdown-menu a:hover {
    background-color: #f3f4f6;
}

.select-dropdown-button .select-dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid white;
    transition: transform 0.2s ease;
    margin-left: 1.0em;
}
.select-dropdown:focus-within .select-dropdown-button .select-dropdown-arrow {
    transform: rotate(180deg);
}

#bulkActionsBar {
    display: none;
    font-size: 0.8em;
}
#bulkActionsBar i {
    cursor: pointer;
}
#selectedCount {
    background-color: cornflowerblue;
    opacity: 0.5;
    border-radius: 3em;
    color: white;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .r-15{
        right: 15px;
        position: relative;
    }
    .select_contain{
        width: 100%;
        display: flex;
    }
    .mobile-max-50{
        max-width: 50%;
        margin-right: auto;
    }
    .full-w-flex{
        display: flex;
        width: 100%!important;
    }
    .newFunnBtn{
        top: 0px;
    }
    .day-stats-change{
        justify-content: center;
        padding-top: 10px;
    }
    #funnels_daygap{
        margin: auto!important;
        width: 95%!important;
    }
    .select_wrap{
        padding: 3%;
        margin: 0px!important;
    }

    .funnelBtnHold {
        padding-right: 30px!important;
        max-width: 59%;
    }
    .funTextHold{
        max-width: 35%;
        margin-right: auto;
    }
}
