
/* Event Cards - New Design */
#response {
    gap: 5px;
    margin: 0 -12px;
}

#response > div {
    padding: 0 12px;
    margin-bottom: 25px;
}

.eventCardWrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.eventCardWrapper:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.eventCardImage {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.eventCardImage img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eventCardContent {
    padding: 20px;
}

.eventBadge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 12px;
}

.eventTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.eventMeta {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.eventMeta > div {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.eventDate {
    display: flex;
    align-items: flex-start;
}

.eventDate i {
    margin-right: 8px;
    margin-top: 4px;
}

.eventDate .dates-wrapper {
    display: flex;
    flex-direction: column;
}

.eventDate .dates-wrapper span {
    margin-bottom: 4px;
}

.eventMeta i {
    margin-right: 8px;
    width: 16px;
}

.eventDescription {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
}

.eventDescription.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description-toggle-btn {
    color: #FA8B01;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.description-toggle-btn:hover {
    color: #e67e01;
}

.description-toggle-btn i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.description-toggle-btn.expanded i {
    transform: rotate(180deg);
}

.eventDescription {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.eventDescription.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.eventCardFooter {
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.registerBtn {
    width: 100%;
    padding: 10px;
    background: #FA8B01;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.registerBtn:hover {
    background: #e67e01;
}

.eventPlatform {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    margin-bottom: 8px;
}

.eventPlatform.live,
.eventPlatform.physical {
    background: #e3f2fd;
    color: #2B81FB;
}

.eventPlatform.online,
.eventPlatform.digital {
    background: #e8f5e9;
    color: #2DAC4A;
}

/* Registration Modal */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-body {
    padding: 24px;
}

.event-registration-form .form-group {
    margin-bottom: 20px;
}

.event-registration-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.event-registration-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
}

.event-registration-form .form-control:focus {
    border-color: #FA8B01;
    box-shadow: 0 0 0 0.2rem rgba(250, 139, 1, 0.25);
}

.participants-info {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.registration-disabled,
.event-fully-booked {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.registration-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px;
    border-radius: 4px;
    margin-top: 20px;
}

.registration-error {
    background: #ffebee;
    color: #c62828;
    padding: 16px;
    border-radius: 4px;
    margin-top: 20px;
}

.no-events-message {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-events-message p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Event Card - Legacy */
#events-container .col-md-4 {
    margin-bottom: 30px;
}
.event-card {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.5s;
    box-shadow: 3px 0 10px 0 rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card:hover {
    box-shadow: 3px 0 10px 0 rgba(0, 0, 0, 0.4);
}
.event-card--information {
    padding: 15px 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.event-card--time {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    color: #717171;
    margin: 0 0 10px;
    letter-spacing: -0.2px;
}
.event-card--time span.space {
    margin: -2px 5px 0;
}
.event-card--type {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 1px 10px 0 0;
}
.event-card--type.digital {
    background: #2DAC4A;
}
.event-card--type.physical {
    background: #2B81FB;
}
.event-card--title {
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 10px;
}
.event-card--location {
    font-size: 14px;
    margin: 0 0 30px;
}
.event-card--register,
.event-card--register:hover,
.event-card--register:visited {
    background: #FA8B01;
    color: #fff;
    display: block;
    text-align: center;
    padding: 10px 10px;
    border-radius: 50px;
    max-width: 200px;
    text-decoration: none;
}
#events-container {
    position: relative;
    min-height: 540px;
}
#events-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}
.spinner-border {
    display: none;
}
#events-container.loading + .spinner-border {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
}
.events-calendar {
    position: relative;
}
.calendar-navigation {
    display: flex;
    margin: 20px 0 40px;
    align-items: center;
    justify-content: space-between;
}
.calendar-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
span#prevMonth {
    border-radius: 50%;
    color: #fff;
    background: #1f1f1f;
    width: 26px;
    height: 26px;
    padding: 2px 4px;
}
span#nextMonth {
    border-radius: 50%;
    color: #fff;
    background: #1f1f1f;
    width: 26px;
    height: 26px;
    padding: 2px 6px;
}
.calendar-labels span {
    font-size: 14px;
    color: #464646;
    position: relative;
    margin: 0 0 0 15px;
    padding: 0 0 0 15px;
}
.calendar-labels span.digital::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2DAC4A;
    margin: -5px 0 0;
}
.calendar-labels span.physical::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2B81FB;
    margin: -5px 0 0;
}
h2.calendar-month-year {
    margin: 0 20px;
    font-size: 18px;
    font-weight: bold;
    min-width: 140px;
    text-align: center;
}
.filterModalOpen {
    margin: 0 20px 0 0!important;
}
@media screen and (max-width: 768px) {
    .calendar-navigation {
        flex-wrap: wrap;
    }
    .calendar-labels span {
        margin: 0 15px 0 0;
    }
    .calendar-labels {
        margin: 15px 0;
    }
}