/* --- Estilos Gerais do Dashboard --- */
.sevo-dashboard-container {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f0f2f5;
}

.sevo-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sevo-dashboard-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
}

/* --- Grid e Cards --- */
.sevo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

/* Card do Tipo de Evento */
.sevo-card.tipo-evento-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.sevo-card.tipo-evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sevo-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sevo-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}

.sevo-card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.sevo-card-content {
    padding: 20px;
    flex-grow: 1;
}

.sevo-card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px;
}

.sevo-card-description {
    font-size: 0.9em;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 15px;
}

.sevo-card-meta {
    margin-bottom: 15px;
}

.sevo-card-meta p {
    margin: 0 0 5px;
    color: #475569;
    font-size: 0.85em;
}

.sevo-card-link {
    font-weight: 600;
    color: #3b82f6;
    transition: color 0.2s;
}

/* Botões de ação dos cards */
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: flex-end;
    align-items: center;
}

.sevo-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.status-ativo { background-color: #22c55e; }
.status-inativo { background-color: #ef4444; }

/* --- Modal --- */
/* Estilos de modal removidos - agora usando modal-unified.css */
.hidden { display: none; }
.sevo-modal-footer-form {
    padding: 10px 15px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    gap: 5px;
    flex-wrap: wrap;
}

.sevo-modal-footer {
    padding: 10px 15px;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    flex-shrink: 0;
}

/* --- Formulário --- */
.sevo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sevo-form-group { display: flex; flex-direction: column; margin-bottom: 5px; }
.sevo-form-group-full { grid-column: 1 / -1; }
.sevo-form-group label { font-weight: 500; margin-bottom: 5px; font-size: 14px; }
.sevo-form-group input, .sevo-form-group select, .sevo-form-group textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
}

/* --- Estilos específicos do modal de tipo de eventos --- */
.sevo-modal-header {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    min-height: 200px;
}

.sevo-modal-image {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Estilos específicos do modal de tipo de eventos --- */
.sevo-modal-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.sevo-modal-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.sevo-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sevo-modal-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
}

.sevo-modal-list li:last-child {
    border-bottom: none;
}

.sevo-modal-list i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sevo-modal-list strong {
    color: #1f2937;
    font-weight: 600;
}

.sevo-modal-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 25px;
}

/* --- Botões --- */
/* Estilos de botão movidos para button-colors.css para reutilização */

.sevo-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- Responsividade para dispositivos móveis --- */
@media (max-width: 768px) {
    .sevo-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .sevo-modal-footer-form,
    .sevo-modal-footer {
        flex-direction: column;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .sevo-modal-footer-form button,
    .sevo-modal-footer button {
        width: 100%;
        margin: 2px 0;
    }
    
    .sevo-modal-body {
        padding: 15px 20px;
    }
    
    .sevo-form-group {
        margin-bottom: 8px;
    }
    
    /* Estilos de botão responsivos movidos para button-colors.css */
}

/* === ESTADO VAZIO === */
.sevo-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1; /* Ocupa toda a largura do grid */
    max-width: 500px;
    margin: 0 auto;
}

.sevo-empty-icon {
    font-size: 64px;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.sevo-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.sevo-empty-state p {
    font-size: 16px;
    color: #718096;
    margin-bottom: 0;
}
