body {
    background-color: #f8f9fa;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #343a40;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px 20px;
    font-size: 1.1em;
    display: block;
    color: #fff;
    text-decoration: none;
}

#sidebar ul li a:hover {
    background: #495057;
}

#sidebar ul li.active > a {
    background: #495057;
}

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#statusContainer {
    padding: 10px;
}

#systemStatus {
    font-weight: 600;
    color: #0d6efd;
}

#eventsList {
    max-height: 300px;
    overflow-y: auto;
}

.event-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    border-bottom: none;
}

.status-active {
    color: #198754;
}

.status-inactive {
    color: #dc3545;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}

/* Estilos para os ícones no menu */
.bi {
    margin-right: 10px;
}

/* Estilos para os botões de ação */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Estilos para as listas de conteúdo */
#clientesList, #sistemasList, #eventosList {
    max-height: 600px;
    overflow-y: auto;
}

/* Estilos para os eventos */
.evento-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 1rem;
}

.evento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.evento-tipo {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.evento-tipo.novo {
    background-color: #dc3545;
    color: white;
}

.evento-tipo.restauracao {
    background-color: #28a745;
    color: white;
}

.evento-data {
    color: #6c757d;
    font-size: 0.875rem;
}

.evento-detalhes {
    font-size: 0.875rem;
}

.evento-detalhes p {
    margin: 0.25rem 0;
}

.evento-detalhes strong {
    color: #495057;
}

.no-events {
    text-align: center;
    color: #6c757d;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.error-message {
    text-align: center;
    color: #dc3545;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
} 