/* Events Widget Styles */
.euonia-events-widget {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #eef2ff;
}

.euonia-events-widget .widget-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.euonia-events-widget .header-icon {
    font-size: 22px;
}

.euonia-events-widget .widget-title {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.euonia-events-widget .header-decoration {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.add-event-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.add-event-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.add-event-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.widget-body {
    padding: 20px;
}

.profile-avatar-mini {
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar-mini img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eef2ff;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eef2ff;
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateX(5px);
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.event-card.past-event {
    opacity: 0.7;
    background: #f3f4f6;
}

.event-card.past-event:hover {
    opacity: 0.9;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.event-card.past-event .event-date-badge {
    background: #9ca3af;
}

.event-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.event-today-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 8px;
    font-weight: 700;
    background: #10b981;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.event-past-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 8px;
    font-weight: 700;
    background: #6b7280;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.event-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.event-time,
.event-venue {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-time i,
.event-venue i {
    font-size: 12px;
    color: #667eea;
}

.event-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 4px;
}

.event-actions {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    flex-shrink: 0;
}

.edit-event-btn,
.delete-event-btn {
    background: rgba(0,0,0,0.04);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.edit-event-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.delete-event-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 30px 20px;
    color: #9ca3af;
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    margin: 5px 0;
}

.empty-hint {
    font-size: 13px;
    color: #cbd5e0;
}

.premium-notice {
    padding: 12px 20px;
    background: #fef3c7;
    border-top: 1px solid #fcd34d;
    text-align: center;
    font-size: 13px;
}

.premium-notice a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.premium-notice a:hover {
    text-decoration: underline;
}