/* Event Display Card Widget Styles */
.event-display-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-display-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.event-display-card.clickable {
    cursor: pointer;
}

.event-display-card.clickable:hover {
    text-decoration: none;
    color: inherit;
}

.event-display-card.no-event {
    text-align: center;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border: 1px dashed #ccc;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.event-icon {
    font-size: 16px;
    color: #007cba;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Font Awesome icon support */
.event-icon.fa,
.event-icon[class^="fa-"],
.event-icon[class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Emoji support */
.event-icon[data-icon-type="emoji"] {
	font-size: 18px;
	line-height: 1;
}

/* SVG icon support */
.event-icon .svg-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

/* Icon font support */
.event-icon i {
	font-size: 16px;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
}

.event-text {
    flex: 1;
}

/* Icon specific styles */
.event-icon-calendar {
    /* Calendar with clock overlay icon */
}

.event-icon-venue {
    /* Barrier/stanchion icon */
}

.event-icon-location {
    /* Map pin icon */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-display-card {
        padding: 15px;
    }
    
    .event-title {
        font-size: 16px;
    }
    
    .event-info-item {
        font-size: 13px;
    }
    
    .event-icon {
        font-size: 14px;
        width: 18px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .event-display-card {
        background: #2a2a2a;
        border-color: #404040;
        color: #ffffff;
    }
    
    .event-title {
        color: #ffffff;
    }
    
    .event-info-item {
        color: #cccccc;
    }
    
    .event-icon {
        color: #4a9eff;
    }
}
