body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #3d62a3;
    min-height: 100vh;
}

.crud-menu {
    background: #2a5298;
    color: #fff;
    padding: 1rem;
    display: flex;
    gap: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
}

.crud-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.crud-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.crud-menu a.ativo {
    background: #fff;
    color: #1e3c72;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.crud-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#crud-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#crud-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

#crud-form input,
#crud-form select {
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#crud-form input:focus,
#crud-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.7);
}

#crud-form button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.painel-controle {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.9);

}

.layout-principal1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.layout-principal12 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.layout-principal21 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.container-mapa {
    position: relative;
    height: 735px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

#mapa {
    height: 100%;
    width: 100%;

}

.painel-lateral {
    display: flex;
    flex-direction: column;
}

.botoes-acao {
    display: flex;
    gap: 0.5rem;
}

.botoes-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;

}

.botoes-form button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.container-tabela {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

#crud-tabela {
    width: 100%;
    border-collapse: collapse;
}

#crud-tabela th,
#crud-tabela td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cor-preview {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
    border: 2px solid #ccc;
    vertical-align: middle;
    float: right;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #2196F3;
    color: white;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

select {
    display: flex;
    padding: 0.5rem;
    border: 2px solid #0080ff;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

.nome-usuario {
    font-weight: 600;
    color: #495057;
}

.email-usuario {
    font-family: monospace;
    font-size: 0.9em;
    color: #6c757d;
}

.senha-info {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
}

.acoes {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-editar,
.btn-excluir,
.btn-localizar {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 60px;
}

.btn-editar {
    background: #4CAF50;
    color: white;
}

.btn-excluir {
    background: #f44336;
    color: white;
}

.btn-localizar {
    background: #FF9800;
    color: white;
}

.crud-mensagem {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    max-width: 200px;
}