/* Make myevents page container transparent */
.container {
    background: transparent !important;
}

/* Ensure the events grid container is also transparent */
.events-grid {
    background: transparent !important;
}

/* Make all text white and remove shadows */
.with-background h1 {
    color: white !important;
    text-shadow: none !important;
}

.container p {
    color: white !important;
}

/* Make sure all text elements are white */
h1, h2, h3, h4, h5, h6, p, span, div {
    color: white !important;
}

/* Adjust table background for better visibility on transparent background */
.my-events-table thead {
    background-color: rgba(44, 62, 80, 0.9);
    color: #fff;
}

.my-events-table tbody tr:nth-child(even) {
    background-color: rgba(244, 246, 248, 0.8);
}

.my-events-table tbody tr:hover {
    background-color: rgba(233, 236, 240, 0.9);
}

/* Styles for myevents.html */
.my-events-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 800px;
}

.my-events-list-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    line-height: 1.4;
}

.my-events-list-item strong {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .my-events-list-item {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}

/* Table styles for the organised view */
.table-responsive {
    overflow-x: auto;
    margin: 2rem auto;
    max-width: 900px;
}

.my-events-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.my-events-table th,
.my-events-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
}

@media (max-width: 700px) {
    .my-events-table {
        font-size: 0.9rem;
    }
} 