/* Header Styles */
#page_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

#page_header h1 {
    margin: 0;
    font-size: 2.5rem;
}

#user_profile {
    display: flex;
    align-items: center;
}

#user_profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

#user_profile button {
    margin: 0.25em 0.5em;
    padding: 0.5em 1em;
    font-size: 1rem;
    border-radius: 2em;
    color: white;
    border: none;
    cursor: pointer;
}

/* User State Specific Styles */
.logged-in-content,
.logged-out-content {
    display: none;
}

body.is-logged-in .logged-in-content {
    display: flex;
}

body.is-logged-in div {
    align-items: center;
}

body.is-logged-out .logged-out-content {
    display: flex;
}

body .logged-out-content {
    flex-direction: column;
}

/* Search Bar Styles */
#search_bar {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 2em 0;
}

#search_bar input {
    width: 50%; /* Adjust the width as needed */
    padding: 0.5em;
    font-size: 1.2rem;
    border-radius: 2em;
    border: 1px solid #ccc;
}

/* Recommendations Section Styles */
#recommendations {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2em 0;
}

.post {
    background-color: #150578;
    padding: 1em;
    margin: 1em 0;
    border-radius: 1em;
    width: 60%;
    cursor: pointer;
    color: white;
}

.post h3 {
    margin: 0;
    font-size: 1.5rem;
}

.post p {
    margin: 0.5em 0;
}

/* Make Post Button Styles */
#make_post {
    text-align: center;
    margin: 2em 0;
}

#make_post button {
    padding: 0.5em 1em;
    font-size: 1.2rem;
    border-radius: 2em;
    color: white;
    border: none;
    cursor: pointer;
}

ul li a.topics { 
    color: white !important;
}

#admin_button {
    background-color: #d9534f; /* Red color to distinguish admin button */
    color: white;
    padding: 8px 16px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#admin_button:hover {
    background-color: #c9302c;
}