/* Estilos para o shortcode personalizado vsel-custom-widget */
.vsel-custom-widget {
    margin: 20px 0;
    padding: 1px 15px 15px 15px;
    background: #3d1e6e;
    border-radius: 5px;
}

.vsel-custom-event {
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid #41e0dd;
}

.vsel-custom-event:last-child {
    margin-bottom: 0;
}

.vsel-custom-title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #0073aa;
}

.vsel-custom-title a {
    color: #0073aa !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.vsel-custom-title a:hover {
    color: #005a87;
    text-decoration: underline;
}

.vsel-custom-dates {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.vsel-custom-start-date,
.vsel-custom-end-date {
    display: inline-block;
    margin-right: 15px;
    font-weight: 500;
}

.vsel-no-events {
    text-align: center;
    color: #999;
    font-style: italic;
    margin: 10px 0;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 3px;
}

/* Responsivo */
@media (max-width: 600px) {
    .vsel-custom-widget {
        padding: 10px;
        margin: 15px 0;
    }
    
    .vsel-custom-event {
        padding: 8px;
    }
    
    .vsel-custom-title {
        font-size: 15px;
    }
    
    .vsel-custom-dates {
        font-size: 13px;
    }
    
    .vsel-custom-start-date,
    .vsel-custom-end-date {
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
    }
}

/* Tema escuro opcional */
.dark-theme .vsel-custom-widget {
    background: #2c2c2c;
    border-color: #555;
    color: #fff;
}

.dark-theme .vsel-custom-event {
    background: #3c3c3c;
    border-left-color: #0096d6;
}

.dark-theme .vsel-custom-title {
    color: #fff;
}

.dark-theme .vsel-custom-title a {
    color: #4db8ff;
}

.dark-theme .vsel-custom-title a:hover {
    color: #7fcbff;
}

.dark-theme .vsel-custom-dates {
    color: #ccc;
}

.dark-theme .vsel-no-events {
    background: #1a1a1a;
    color: #888;
}

/* Ícone para o título do widget quando usado */
.widget-title.with-event-icon::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f073";
    margin-right: 8px;
    color: #007cba;
}

/* Ícones alternativos caso queira personalizar mais */
.vsel-event-icon-brain::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f5dc"; /* brain */
    color: #007cba;
}

.vsel-event-icon-heart::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f004"; /* heart */
    color: #dc3545;
}

.vsel-event-icon-clock::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f017"; /* clock */
    color: #28a745;
}

/* Estilos para o container como link */
.vsel-custom-event-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.vsel-custom-event-link:hover {
    text-decoration: none;
    color: inherit;
}

.vsel-custom-event-link:hover .vsel-custom-title {
    color: #02557d;
}

.vsel-custom-event-link:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Garantir que o cursor seja pointer em todo o container */
.vsel-custom-event-link,
.vsel-custom-event-link * {
    cursor: pointer;
}

/* Evitar problemas de link aninhado */
.vsel-custom-event-link .vsel-custom-title a {
    display: none;
}
