/* /enhanced-job-search/css/ejs-base.css */
/* This file is for new, module-specific styles with the "ejs-" prefix. */

/* --- Mobile Filter Side Panel --- */

/* Mobile Filter Button */
.mobile-filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    padding: 12px 18px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

/* Side Panel Container */
.filter-side-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    max-width: 320px;
    background-color: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.filter-side-panel.show {
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.side-panel-header h5 {
    margin: 0;
    font-weight: 600;
}

.side-panel-header .close-panel-btn {
    background: #f0f0f0;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.side-panel-content {
    overflow-y: auto;
    padding: 1rem;
    flex-grow: 1;
}

/* Backdrop for the side panel */
.panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.panel-backdrop.show {
    opacity: 1;
    visibility: visible;
}
