.events-calendar {
    max-width: 100%;
    margin: 32px auto;
    backdrop-filter: blur(.6);
    background-image: url("../images/calendar-bg.png");
    background-size: cover;
    border-radius: 10px;
    padding: 15px;
}

.calendar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calendar-navigation a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.calendar-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.calendar-table th {
    padding: 10px;
    text-align: center;
    color: white;
    font-weight: 500;
}

.calendar-table td {
    height: 60px;
    vertical-align: top;
    padding: 5px;
    position: relative;
    border: none !important;
}

.calendar-table td.other-month {
    opacity: 0.5;
}

.calendar-table td:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.day-number {
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
    text-align: center;
}

.event-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    min-height: 15px;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.event-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    color: white;
}

.popup-content {
    margin-bottom: 15px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}
.event-dot {
    background-color: #fff; !important;
}



.today {
    text-align: center;
}
.today .day-number {
    position: relative;
    display: inline-block;
    text-align: center;
}

.today .day-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #7B4FC1;
}

.today .day-number {
    font-weight: bold;
}

.day-events-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.day-events-list {
    margin-top: 30px;
}

.day-event {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.day-event h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.event-time {
    font-weight: bold;
    color: #333;
}

.event-type {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    color: white;
}

.back-to-calendar {
    display: inline-block;
    margin-top: 20px;
    color: #0073aa;
    text-decoration: none;
}

.back-to-calendar:hover {
    text-decoration: underline;
}

