﻿/* Header layout */
.filter-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    
}


/* Title */
.filter-title {
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

/* Input wrapper */
.filter-input-wrapper {
    position: relative;
}

/* Icon inside input */
.filter-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #999;
    font-size: 13px;
}

/* Input field */
/* Input field */
.filter-input {
    width: 100%;
    padding: 10px 14px 10px 40px; /* increased padding */
    border-radius: 25px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px; /* slightly bigger text */
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

/* Icon adjustment */
.filter-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

/* Hover effect */
.filter-input:hover {
    border-color: #bbb;
}

/* Focus effect */
.filter-input:focus {
    border-color: #007bff;
    box-shadow: 0 5px 14px rgba(0,123,255,0.25);
}



/* container spacing */
.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 0;
}


/* select2 fix */
.select2-container .select2-selection--single {
    height: 38px;
    border-radius: 25px !important;
    padding: 4px 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}


/* wrapper */



.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-icon i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        color: #888;
        pointer-events: none;
    }

    /* IMPORTANT: give space for icon */
    .input-icon input {
        padding-left: 35px !important;
        height: 38px; /* consistent bootstrap height */
        line-height: 38px;
        box-sizing: border-box;
    }






/* rounded modern input */
.rounded-input {
    border-radius: 25px;
    border: 1px solid #ddd;
    height: 38px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: 0.2s;
}

    /* focus effect */
    .rounded-input:focus {
        border-color: #007bff;
        box-shadow: 0 4px 12px rgba(0,123,255,0.2);
    }

/* pill style buttons */
.rounded-btn {
    border-radius: 30px !important;
    padding: 8px 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* space between icon and text */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

    /* hover effect */
    .rounded-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    /* icon alignment */
    .rounded-btn i {
        font-size: 14px;
    }

/* optional spacing between buttons */
#btn_search {
    margin-right: 10px;
}

/* wrapper */
.select-icon-wrapper {
    position: relative;
}

    /* icon */
    .select-icon-wrapper i {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #888;
        font-size: 14px;
        z-index: 10;
        pointer-events: none;
    }

/* move Select2 inside padding space */
.select2-container--default .select2-selection--single {
    height: 38px;
    border-radius: 25px !important;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding-left: 35px; /* space for icon */
    display: flex;
    align-items: center;
}

    /* remove default arrow alignment issue */
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 38px;
    }

    /* dropdown arrow fix */
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 38px;
    }







/* default ALL columns = single line */
#tbl_epg td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

    /* columns that should wrap */
    #tbl_epg td.wrap-col {
        white-space: normal !important;
        word-break: break-word;
        max-width: 100px;
    }

    /* Actions column */
    #tbl_epg td:first-child {
        white-space: nowrap !important;
        max-width: 120px;
    }

    /* Logo column */
    #tbl_epg td img {
        max-width: 50px;
    }


#tbl_epg thead th {
    position: sticky;
    top: 0;
    background: #1f2a40;
    color: #fff;
    z-index: 5;
}

table.dataTable {
    width: 100% !important;
}



.DTFC_LeftBodyLiner,
.DTFC_LeftHeadWrapper {
    background: #fff;
    z-index: 3;
}


#tbl_epg tbody tr:hover {
    background-color: rgba(0,123,255,0.08);
    transition: 0.2s;
}


.metric-number {
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(45deg, #fff, #cce6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}