/* =================== GERAL =================== */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f6fa; /* Cinza claro neutro */
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: #444;
}

/* Container principal */
.container {
    margin-top: 50px;
}

/* =================== NAVBAR =================== */
.navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #555;
    font-size: 1.1rem;
    transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
    color: #000;
}

.navbar-brand img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* =================== DROPDOWNS =================== */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.dropdown-item {
    color: #333;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f2f2f2;
    color: #000;
}

/* =================== TABELAS =================== */
.table {
    font-size: 14px;
    border-spacing: 0;
}

.table thead th {
    background-color: #dcdcdc;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover td {
    background-color: #e9ecef;
}

/* Ações da tabela */
.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-actions .btn {
    margin-right: 10px;
}

.table-actions .btn:last-child {
    margin-right: 0;
}

/* =================== BOTÕES =================== */
.btn-primary,
.btn-success {
    background-color: #6c757d; /* Cinza Bootstrap */
    border-color: #6c757d;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-outline-primary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-primary:hover {
    background-color: #e2e6ea;
    border-color: #6c757d;
}

.btn-outline-danger:hover {
    background-color: #f8d7da;
    border-color: #dc3545;
}

/* =================== MODAL =================== */
.modal-header {
    background-color: #6c757d;
    color: white;
}

.modal-footer .btn-secondary {
    background-color: #adb5bd;
    border-color: #adb5bd;
}

.modal-footer .btn-secondary:hover {
    background-color: #ced4da;
    border-color: #ced4da;
}

/* =================== LOGIN =================== */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f6fa;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #555;
}

.login-container img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* =================== UTILITÁRIOS =================== */
.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.btn-close {
    background: none;
    border: none;
}

.card {
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}