/* Event Section Styles */
.event {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: white;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-header {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.update-button {
    padding: 5px 10px;
    font-size: 0.8rem;
    background-color: #2196F3;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    z-index: 1000;
}

.update-button:hover {
    background-color: #1976D2;
}

.delete-button {
    padding: 5px 10px;
    font-size: 0.8rem;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

.delete-button:hover {
    background-color: #d32f2f;
}

.event img {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 10px;
}

/* Responsive Event Styles */
@media (max-width: 600px) {
    .event {
        padding: 10px;
    }

    .update-button,
    .delete-button {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .event img {
        max-width: 100%;
        height: auto;
    }
}
