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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.event 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;
}

.event 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;
}

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

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

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

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

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

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

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

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

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

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

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

.addEvent 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;
}

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

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

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

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

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

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

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

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

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

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

.event button[value="delete_event"]{

}

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

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