:root {
    --azul-escuro: #1a237e;
    --azul-vibrante: #0d47a1;
    --azul-claro: #bbdefb;
    --laranja-vibrante: #ff6d00;
    --verde-vibrante: #00c853;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-escuro: #212121;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--cinza-claro);
    color: var(--cinza-escuro);
    padding-top: 70px; /* Espaço para o menu fixo */
}

/* Menu fixo no topo */
.navbar {
    background-color: var(--azul-escuro) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--azul-vibrante);
    color: white !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-item:hover {
    background-color: var(--azul-claro);
    color: var(--azul-escuro) !important;
}

/* Cores dos botões */
.btn-primary {
    background-color: var(--azul-vibrante);
    border: none;
}

.btn-primary:hover {
    background-color: var(--azul-escuro);
}

.btn-success {
    background-color: var(--verde-vibrante);
    border: none;
}

.btn-warning {
    background-color: var(--laranja-vibrante);
    border: none;
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--azul-escuro);
    color: white;
    font-weight: 500;
    border-radius: 8px 8px 0 0 !important;
}

/* Tabelas */
.table th {
    background-color: var(--azul-escuro);
    color: white;
}

/* Formulários */
.form-control:focus {
    border-color: var(--azul-vibrante);
    box-shadow: 0 0 0 0.25rem rgba(13, 71, 161, 0.25);
}

/* Nota fiscal */
.nota-fiscal {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar-nav {
        padding-top: 10px;
    }
    
    .nav-link {
        margin: 0.25rem 0;
    }
}