@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

body, html {
    font-family: 'Outfit', sans-serif !important;
}

#toolbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3) !important;
}

.btn-acao {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.btn-acao:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-imprimir {
    background: rgba(13, 110, 253, 0.8) !important;
}

.btn-sql {
    background: rgba(255, 193, 7, 0.8) !important;
}

.btn-usuario {
    background: rgba(108, 117, 125, 0.8) !important;
}

.btn-novo {
    background: rgba(13, 202, 240, 0.8) !important;
}

#canvas {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    background-image: radial-gradient(rgba(102, 126, 234, 0.1) 1.5px, transparent 1.5px) !important;
}

.tabela {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    transition: box-shadow 0.3s ease;
}

.tabela:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

.tabela-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 12px 12px 0 0 !important;
}

.conector {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.atributo {
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.atributo:hover {
    background: #f8fafc;
}

.atributo.pk {
    color: #667eea !important;
}

.atributo.fk {
    color: #764ba2 !important;
}

.label-relacionamento {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#custom-context-menu {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.context-menu-item {
    border-bottom: 1px solid #f1f5f9 !important;
    transition: all 0.2s ease;
}

.context-menu-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.modal-box {
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

.modal-box h3 {
    color: #1e293b !important;
    font-weight: 700;
}

.modal-box input, .modal-box select {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: border-color 0.3s ease;
}

.modal-box input:focus, .modal-box select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-cancelar {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.btn-cancelar:hover {
    background: #e2e8f0;
}

.btn-salvar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.btn-salvar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.item-projeto-lista {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.item-projeto-lista:hover {
    border-color: #667eea !important;
    transform: translateX(4px);
}

.item-projeto-lista.ativo {
    border-color: #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
}

.btn-opcao-rel {
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.btn-opcao-rel:hover {
    border-color: #667eea !important;
    transform: translateY(-2px);
}