/* =============================
   RESET / GLOBAL
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #f8f9fa;
    color: #212529;
}

/* =============================
   LINKS
============================= */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #ffc107; /* cor de destaque ao passar o mouse */
}

/* =============================
   NAVBAR
============================= */
.navbar {
    padding: 0.8rem 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.navbar-brand i {
    font-size: 1.5rem;
}

.subname_site {
    font-size: 0.99rem;
    color: #d1e0ff;
    margin-left: 0.3rem;
}

/* Ajuste do pipe e subtítulo */
.navbar-brand strong {
    display: flex;
    align-items: center;
}

.navbar-brand strong .subname_site::before {
    content: "| ";
}

/* Navbar links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #ffffff;
}

.navbar-nav .nav-link:hover {
    color: #ffc107;
}

/* Dropdown menu */
.dropdown-menu {
    background-color: #0d6efd;
    border-radius: 0.3rem;
}

.dropdown-menu .dropdown-item {
    color: #ffffff;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #0056b3;
}

/* =============================
   MAIN CONTENT
============================= */
main.container-fluid {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* =============================
   RODAPÉ
============================= */
footer {
    background-color: #212529;
    color: #f8f9fa;
    padding: 2rem 0;
    font-size: 0.9rem;
}

footer h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

footer p {
    margin-bottom: 0;
}

footer a {
    color: #ffc107;
}

footer a:hover {
    color: #ffffff;
}

/* =============================
   BOTÕES
============================= */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* =============================
   FORMULÁRIOS
============================= */
input, select, textarea {
    border-radius: 0.25rem;
}

input:focus, select:focus, textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* =============================
   TABELAS
============================= */
table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

table th {
    background-color: #0d6efd;
    color: #ffffff;
    text-align: left;
}

table tbody tr:hover {
    background-color: #e9f2ff;
}

/* =============================
   UTILITÁRIOS
============================= */
.text-primary {
    color: #0d6efd !important;
}

.text-light {
    color: #f8f9fa !important;
}

.text-center {
    text-align: center !important;
}
