/*** START EVENTS PAGE ***/
.activityFeed .activityFeedComments .highlight {
    background-color: #ffff96;
}

.activityFeed ul.rsvpList {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activityFeed .description {
    font-size: 1.1em;
}

.activityFeed .direct-link {
    font-size: 0.5em;
}

.activityFeed ul.rsvpList li {
    display: inline-block; /* Or block depending on your layout needs */
}

.activityFeed h3 {
    font-weight: bold;
}
.activityFeed .duration_user_friendly, .activityFeed .link {
    font-weight:bold;
    font-size: 1.1em;
}

.activityFeed .location {
    font-weight: bold;
    font-size: 1.1em;
}
.activityFeed ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.activityFeed .comment-thread ul {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #eee;
}

.activityFeed .comment-thread li {
    margin-bottom: 20px;
}

.activityFeed .comment-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    position: relative;
}

.activityFeed .poster-info a.viewProfile img {
    width: 16px;
    height: 16px;
}

.activityFeed .poster-info i {
    color: gray;
    font-size: 0.8em;
}

.activityFeed .comment-box .profile-picture {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 8px;
}

.activityFeed .comment-box strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.activityFeed .comment-box .comment {
    margin-top: 4px;
    font-size: 15px;
    color: #333;
}

.activityFeed .comment-box .timeAgoSpan {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    display: inline-block;
}

.activityFeed .comment-box a.reply-link {
    font-size: 13px;
    color: #3498db;
    text-decoration: none;
    display: inline-block;
    margin-top: 6px;
}

.activityFeed .comment-box a.reply-link:hover {
    text-decoration: underline;
}

/* Forms */
.activityFeed form[data-no-ajax="true"] {
    margin-top: 10px;
}

.activityFeed form textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: sans-serif;
    box-sizing: border-box;
}

.activityFeed form button {
    background-color: var(--button-bg-color);
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.activityFeed form button:hover {
    background-color: var(--button-hover-bg-color);
}

.activityFeed form .fetched-link-image img {
    max-width: 200px !important;
    width: 100%;
}

/* Comment section header */
.activityFeed h4 {
    margin-top: 20px;
    font-size: 18px;
    color: #2c3e50;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

/* Activity Feed Container Itself (already used but enhanced here) */
.activityFeed {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
    margin-left: 10px;
}

.activityFeed h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-top: 0;
}

.activityFeed p {
    font-size: 15px;
    color: #555;
    margin: 5px 0;
}

.addActivityFeedPost {
    border: 1px solid #666;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    background-color: #fdfdfd;
    max-width: 700px;
    margin-left: 10px;
}

.addActivityFeedPost h3 {
    margin-top: 0;
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.addActivityFeedPost form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.addActivityFeedPost form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    display: block;
}

.addActivityFeedPost form input[type="text"],
.addActivityFeedPost form input[type="url"],
.addActivityFeedPost form input[type="date"],
.addActivityFeedPost form input[type="datetime-local"],
.addActivityFeedPost form textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: sans-serif;
    box-sizing: border-box;
}

.addActivityFeedPost form textarea {
    resize: vertical;
    min-height: 80px;
}

.addActivityFeedPost form button[type="submit"] {
    align-self: flex-start;
    background-color: var(--button-bg-color);
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.addActivityFeedPost form button[type="submit"]:hover {
    background-color: var(--button-hover-bg-color);
}

.activityFeed .commentInfo {
    display: inline-block;
}

.activityFeed .commentOwnerOptions {
    display: inline-block;
}

.activityFeed .commentItem {
    font-size: 0.8em;
}

.activityFeed .commentOwnerOptions button {
    font-size: 0.8em;
    padding: 3px;
}

.activityFeed .commentOwnerOptions form {
    display: inline;
    margin: 0;
    padding: 0;
}

.activityFeed .commentOwnerOptions .myOptionsLbl {
    display: none; /* not needed, don't show for now */
    color: silver;
    font-size: 0.85em;
}

.activityFeed .commentOwnerOptions button, .activityFeed button, button[type=submit].link-button{
    text-decoration: underline;
    border: none;
    background-color: transparent;
    margin-top: 0;
    padding-top: 0;
    background: none;
    color: gray;
}

button.danger{
    background-color: red;
    color: white;
    border-radius: 10px;
    padding: 10px;
    height: 42px;
}

button.link-button.danger{
    color: maroon;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

button.link-button.danger:hover{
    color: #cc2626;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.activityFeed button[value="submit_rsvp"] {
    font-size: 0.8em;
    text-decoration: none;
}

.activityFeed .commentOwnerOptions button[value="delete_comment"]{
    color: maroon;
}

.activityFeed button[value="delete_event"]{

}

.activityFeed .commentOwnerOptions button[value="delete_comment"]:hover{
    background-color: maroon;
    color: white;
}

.activityFeed .your_rsvp {
    display: inline-block;
}
.activityFeed select[name="rsvp"] {
    display: inline-block;
    max-width: 300px;
}

.activityFeed.deleted {
    background-color: whitesmoke;
    opacity: 0.5;
}