/* General Section Styles */
.past-projects-section {
    margin: 0 auto;
    padding: 30px;
    background-color: #f4f6f7;
}

.past-projects-section h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
}

/* Menu Panel Styles */
.menu-panel {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-actions input,
.menu-actions select {
    font-size: 14px;
}

.menu-actions input {
    width: 200px;
}

.menu-actions select {
    width: 160px;
}

.menu-actions button {
    font-size: 14px;
}

/* Search Input with Icon */
.search-container {
    position: relative;
    display: inline-block;
    width: 200px; /* Match input width */
}

.search-input {
    width: 100%;
    padding-left: 30px; /* Space for the search icon */
}

.search-icon {
    position: absolute;
    right: 10px; /* Position inside the input box */
    top: 50%;
    transform: translateY(-50%);
    color: #46211A; /* Customize color */
    font-size: 16px;
    pointer-events: none; /* Prevent clicking on the icon */
}

/* Past Projects List Styles */
.list-group {
    max-height: 400px;
    overflow-y: scroll;
    padding-left: 0;
}

.list-group-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #e6f7ff;
}

/* Project Details Styles */
.project-details {
    display: flex;
    flex-direction: column;
}

.project-details strong {
    color: #003366;
}

.project-details span {
    color: #666;
}

.project-details .project-icons {
    font-size: 18px;
    margin-top: 5px;
}

.project-details .project-icons i {
    color: #007bff;
    margin-right: 8px;
}

/* Pagination Controls */
#paginationControls {
    margin-top: 20px;
    text-align: center;
}

#paginationControls button {
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-actions {
        flex-direction: column;
        gap: 10px;
    }

    .menu-actions input,
    .menu-actions select {
        width: 100%;
    }

    .search-container {
        width: 100%; /* Expand the search box to full width on smaller screens */
    }

    
}
/* Menu Actions: Input and Button Alignment */
.menu-actions input,
.menu-actions button {
    height: 38px; /* Ensure both input and button are the same height */
    line-height: 1.5; /* Ensure consistent vertical alignment */
    padding: 6px 12px; /* Adjust padding for a balanced look */
    font-size: 14px;
    border-radius: 5px; /* Consistent rounded corners */
    border: 1px solid #ccc; /* Same border for input and button */
}

.menu-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
}
