/* Form container */
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 200%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Grid layout for dropdowns and search bar */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    width: 100%;
}

/* Dropdowns and inputs */
.filter-grid select,
.filter-grid input[type="search"],
.date-range-picker input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

/* Date range picker with calendar icon */
.date-range-picker {
    position: relative;
    display: flex;
    align-items: center;
}

.date-range-picker input {
    padding-right: 40px; /* Space for calendar icon */
}

.date-range-picker .calendar-icon {
    position: absolute;
    right: 10px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

/* Search bar and button */
.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-actions input[type="search"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.filter-actions button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #003263;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filter-actions button:hover {
    background-color: #005177;
}
.gb-loop-item {
    border: 1px solid #000;
    border-radius: 8px; 
    padding: 20px; 
    margin: 20px auto;
    width: 200%;
    max-width: 1200px; 
    box-sizing: border-box;
    background-color: #fff; 
}

.gray-background {
    background-color: #f0f0f0; 
    padding: 15px; 
    border-radius: 4px;
}

.bold-black-text {
    font-size: 20px; 
    font-weight: bold;
    color: #000;
    margin-bottom: 10px; 
    padding-bottom: 0;
}



@media (min-width: 769px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr 2fr; 
    }
	 .gb-loop-item {
        padding: 15px; 
        margin: 15px auto; 
    }

    .gray-background {
        padding: 10px; 
    }

    .bold-black-text {
        font-size: 18px; 
    }
}

/* Responsive styles for phones */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
	
    }

    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }

    .filter-actions input[type="search"],
    .filter-actions button {
        width: 100%; 
    }
	    .gb-loop-item {
        padding: 10px; /* Further reduce padding for small screens */
        margin: 10px auto; /* Adjust margin for compact spacing */
		width: 100%;
    }

    .gray-background {
        padding: 8px; /* Reduce padding for smaller screens */
    }

    .bold-black-text {
        font-size: 16px; /* Reduce font size for better readability on small screens */
    }
}