.main-search-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.main-search-input {
    flex-grow: 1;
    border: none;
    padding: 8px;
    font-size: 16px;
}

.main-search-button {
    background-color: #c74443;
    color: white;
    border: none;
    padding: 10px 15px;
}

.filter-btn {
    background-color: white;
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    width: 100%;
}

.filter-btn .value {
    font-weight: normal;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}

.filter-btn::after {
    content: '▼';
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

#project-status-wrapper {
    display: none;
}

#gosearch {
    width: 100%;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

#gosearch .md {
    margin-right: 8px;
    font-size: 20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
}

.modal-overlay.open {
    display: block;
}

.modal-container {
    position: absolute;
    top: 0;
    left: 50%;
    background: white;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    transform: translateX(-50%) translateY(-100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-overlay.open .modal-container {
    transform: translateX(-50%) translateY(5%);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 30px;
}

.modal-body {
    padding: 15px;
}

.quick-options-list .option-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.quick-options-list .option-item:last-child {
    border-bottom: none;
}

.quick-options-list label {
    flex-grow: 1;
    font-size: 15px;
    cursor: pointer;
}

.quick-options-list input[type="radio"] {
    accent-color: #c74443;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    flex-shrink: 0;
}

.custom-range-inputs {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.custom-range-inputs .input-label {
    margin-bottom: 3px;
    font-size: 14px;
    color: #666;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.range-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 5px;
}

.input-pair {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-top: 5px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #c74443;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #c74443;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-input-group .arrow {
    margin: 0 8px;
    font-size: 16px;
    color: #555;
}

.modal-footer {
    padding: 12px 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    background-color: #f7f7f7;
    flex-shrink: 0;
    justify-content: space-between;
}

.modal-footer button {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
}

.reset-btn {
    background: white;
    border: 1px solid #ccc;
    color: #666;
}

.apply-btn {
    background-color: #c74443;
    border: 1px solid #c74443;
    color: white;
}

.status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.status-pills .pill {
    background-color: #f0f2f5;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.status-pills .pill.active {
    background-color: #c74443;
    color: white;
    border-color: #c74443;
}