.container {
    max-width: 800px;
    margin: 0 auto;
}

form {
    margin-bottom: 30px;
}

.search-results {
    margin-top: 20px;
}

.search-results table {
    width: 100%;
    margin-top: 20px;
}

.search-results th, .search-results td {
    text-align: left;
    padding: 10px;
}

.btn.btn-primary.btn-block {
    color: #fff;
    background-color: #1d2e73 !important;
    border-color: #1d2e73 !important;
}

/* Basic styling for pagination container */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

/* User Search Pagination links */
.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px 5px;
    text-decoration: none;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #007bff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* Hover effect for pagination links */
.pagination a:hover {
    background-color: #c0954b;
    color: white;
}

/* Active page link styling */
.pagination a.active {
    background-color: #1d2e73;
    color: white;
    border: 1px solid #1d2e73;
}

/* Disabled (non-clickable) page link */
.pagination a.disabled {
    background-color: #f1f1f1;
    color: #ccc;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

/* Add space for each page item */
.pagination li {
    margin: 0 5px;
}


/* Make the table scrollable on mobile devices */
@media only screen and (max-width: 768px) {
    .search-results table {
        display: block; /* Make table behave as block to enable scrolling */
        overflow-x: auto; /* Enables horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }

    .search-results table th, .search-results table td {
        white-space: nowrap; /* Prevent text from wrapping */
    }
}