/* ============================================================
   PYINVENTORY - TEMA AZUL MODERNO
   ============================================================ */

/* 1. FUNDO E FONTE GERAL */
body {
    background-color: #f0f4f8; /* Azul cinza bem clarinho (fundo moderno) */
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #334e68;
}

/* 2. BARRA DE NAVEGAÇÃO (NAVBAR) */
.navbar {
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%) !important; /* Degradê Azul Real */
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.navbar .btn-outline-light {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

/* 3. CARTÕES (CARDS) */
.card {
    border: none;
    border-radius: 12px; /* Cantos arredondados */
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px); /* Efeito de flutuar ao passar o mouse */
    box-shadow: 0 12px 28px rgba(149, 157, 165, 0.2);
}

/* Cabeçalho dos Cards */
.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e1e4e8;
    padding: 1.2rem;
    font-weight: 700;
    color: #003366; /* Azul escuro */
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%) !important;
    color: white !important;
    border: none;
}

/* Cards de KPI (Dashboard) */
.bg-primary.text-white {
    background: linear-gradient(135deg, #004e92, #000428) !important; /* Azul Profundo */
}
.bg-success.text-white {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important; /* Verde Moderno */
}
.bg-warning.text-dark {
    background: linear-gradient(135deg, #fce38a, #f38181) !important; /* Laranja Suave */
    color: #fff !important;
}

/* 4. BOTÕES */
.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: scale(1.02);
}

.btn-success {
    background-color: #28a745;
    border-radius: 8px;
}

/* 5. TABELAS */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    color: #555;
    border-bottom: 2px solid #e1e4e8;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
}

.table-hover tbody tr:hover {
    background-color: #f0f8ff; /* Azul bem clarinho ao passar mouse */
}

/* 6. FORMULÁRIOS */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
}

.form-control:focus, .form-select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

/* 7. LOGIN ESPECÍFICO */
.login-card {
    border-top: 5px solid #0056b3;
}

/* 8. DIVERSOS */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 600;
}

.thumb-img {
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}