.search-container {
    max-width: 85%;
    margin: 100px auto;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

/* Desktop styles for search box */
@media (min-width: 992px) {
    .search-box {
        width: 50%;
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #4a5a4b;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #5b6e5c;
    box-shadow: 0 0 10px rgba(74, 90, 75, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a5a4b;
    font-size: 20px;
}

.search-input::placeholder {
    color: #999;
    opacity: 1;
}

.search-title {
    color: #4a5a4b;
    margin-bottom: 30px;
    text-align: center;
}

.search-description {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

/* Styles for search results */
.post-img {
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}

.post-img img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.post-img img:hover {
    transform: scale(1.05);
}

.post-category {
    font-size: 14px;
    font-weight: 600;
    color: #4a5a4b;
    margin-bottom: 5px;
}

.post-subcategory {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.title {
    font-size: 18px;
    margin-bottom: 10px;
}

.title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title a:hover {
    color: #4a5a4b;
}

.description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Pagination styles */
.pagination-controls {
    margin-top: 30px;
}

.pagination-controls button {
    margin: 0 3px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-controls button:hover:not([disabled]) {
    background-color: #4a5a4b;
    color: white;
}

.pagination-controls button.btn-primary {
    background-color: #4a5a4b;
    border-color: #4a5a4b;
}

.pagination-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* User card styles */
.user-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Search type selector styles */
.search-type-selector .btn-group {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.search-type-selector .btn {
    padding: 10px 20px;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-type-selector .btn:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.search-type-selector .btn:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.search-type-selector .btn.active {
    background-color: #4a5a4b;
    color: white;
    box-shadow: 0 2px 5px rgba(74, 90, 75, 0.3);
}

/* Desktop styles for search type selector */
@media (min-width: 992px) {
    .search-type-selector .btn-group {
        width: 50%;
        margin: 0 auto;
    }
}