﻿
/* Google Recaptcha V3 logo  */
.grecaptcha-badge {
    visibility: hidden;
}

/* K-Grid Last page button */
.customGridClass .k-pager-last {
    display: none !important;
}

/* Custom CSS for salary highlight */
.salary-highlight-text {
    color: #dc640e !important;
    font-weight: bold;
}

/* Custom CSS for salary highlight */
.salary-poverty-highlight-text {
    color: #5e9296 !important;
    font-weight: bold;
}

/* Custom CSS Span click change to pointer */
.clickable-span {
    cursor: pointer;
}


/*  Custom CSS - Telerik textbox */
.highlighted-textbox.k-textbox {
    background-color: #fffff4; /* Light yellow background */
    border: 2px solid #fbc02d; /* Defined gold border */
}

/*  Custom CSS - Telerik textbox - Change color when the user clicks inside */
.highlighted-textbox.k-textbox.k-focus {
    background-color: #ffffff;
    border-color: #f57f17;
    box-shadow: 0 0 5px rgba(245, 127, 23, 0.5);
}

/*  Custom CSS - Telerik tooltip */
.k-tooltip-content {
    padding: 10px;
}

.k-tooltip { 
    background-color: steelblue !important; 
}

/*  Custom CSS - Fade-In */

.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Info Layout ===== */
/* Container for intro */
.intro-container {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}


/* Fixes alignment inside the Grid Toolbar */
.intro-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Important for mobile responsiveness */
    width: 100%;
    align-items: center; /* Vertical centering */
    justify-content: center;
}

/* Filter CSS */

/* ===== Toolbar Layout ===== */
.toolbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    padding: 8px;
}

/* ===== Each Filter Group ===== */
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* ===== Slider Fix ===== */
.slider-container {
    display: flex;
    align-items: center;
    width: 260px;
    min-width: 220px;
    padding: 0 20px 16px 20px; /* 👈 more bottom padding */
}

.salary-slider {
    width: 100% !important;
    overflow: visible;
}

/* ===== Buttons ===== */
.filter-group:last-child {
    gap: 10px;
}


/* ================= MOBILE  ================= */
/* ===== Mobile Layout ===== */
@media (max-width: 768px) {

    .toolbar-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .filter-group {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; /* wrap only if needed */
        gap: 8px;
    }

 

        .filter-group > *:not(span) {
            flex: 0 0 auto; /* keep original widths for textbox/dropdown */
        }

    /* ===== SLIDER GROUP ===== */
    .toolbar-wrapper .filter-group:nth-child(3) {
        flex-wrap: nowrap; /*  prevent breaking into 2 lines */
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 6px; /* tighter spacing */
    }

        .toolbar-wrapper .filter-group:nth-child(3) span {
            flex: 0 0 auto;
            white-space: nowrap;
        }

    .slider-container {
        flex: 1 1 0; /* take remaining space */
        min-width: 0; /* CRITICAL: allows shrinking */
        max-width: 100%;
        padding: 0 8px 18px 8px; /* reduce side padding */
        display: flex;
    }

    .salary-slider {
        width: 100% !important;
    }

    /* Buttons stay on own row, centered */
    .filter-group:last-child {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
        gap: 10px;
    }
}

/* ===== Very Small Screens (<480px) ===== */
@media (max-width: 480px) {
    .toolbar-wrapper {
        gap: 16px;
    }

    .filter-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .slider-container {
        max-width: 100%;
        padding: 12px 16px 28px 16px;
    }
}