/* Estilos para os botões de ação */
.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--cor-primaria);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
    font-size: 14px;
}

.btn-custom:hover {
    background-color: var(--cor-primaria-escura);
}

.btn-custom.btn-danger {
    background-color: #dc3545;
}

.btn-custom.btn-danger:hover {
    background-color: #c82333;
}

/* Estilos para botões com ícones */
.btn-icon {
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 2px;
}

.btn-icon i {
    font-size: 16px;
}

.csv-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: nowrap;
}

.csv-actions .btn-icon,
.csv-actions .d-inline {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.csv-actions form {
    margin: 0;
    padding: 0;
}

.csv-actions .btn-icon {
    width: 40px;
    height: 40px;
}

.csv-actions .d-inline {
    margin: 0;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

/* Estilos para o container de controles */
.controls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.main-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-bottom: 20px;
}

.search-form {
    flex: 1;
    min-width: 300px;
}

.search-criteria {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.search-criteria label {
    font-weight: 600;
    margin: 0;
}

.search-criteria select {
    width: auto;
    padding: 5px 10px;
}

.search-input {
    display: flex;
    gap: 10px;
}

.search-input input[type="text"] {
    flex: 1;
    padding: 8px 12px;
}

.search-input input[type="submit"],
.search-input .btn-custom {
    padding: 8px 15px;
    margin: 0;
}

/* Estilos para o Modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed; /* Fica por cima de tudo */
    z-index: 1000; /* Z-index alto para garantir que fique na frente */
    left: 0;
    top: 0;
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    overflow: auto; /* Habilita scroll se o conteúdo for muito grande */
    background-color: rgba(0,0,0,0.4); /* Fundo semi-transparente */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.modal-content {
    background-color: #fff;
    margin: auto; /* Centraliza o conteúdo do modal */
    padding: 20px;
    border: 1px solid #ddd;
    width: 80%; /* Largura do modal */
    max-width: 600px; /* Largura máxima */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--cor-fundo);
    color: var(--cor-texto);
}

.main-header {
    background: var(--cor-primaria);
    color: var(--cor-texto-claro);
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px var(--sombra);
}

.main-header h1 {
    margin: 0;
}

.main-header nav a {
    color: var(--cor-texto-claro);
    padding: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: #f0f0f0;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background: #124a80;
    color: #fff;
}

/* Estilos para tabelas */
table {
    width: 100%;
    border-collapse: separate; /* Para border-radius funcionar */
    border-spacing: 0;
    margin-top: 20px;
    border-radius: 8px; /* Cantos arredondados */
    overflow: hidden; /* Garante que o border-radius seja aplicado */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

th, td {
    padding: 15px; /* Aumenta o padding */
    border: 1px solid #e0e0e0; /* Borda mais suave */
    text-align: left;
}

th {
    background-color: #eef2f7; /* Fundo mais claro para o cabeçalho da tabela */
    color: #333;
    font-weight: 600;
}

/* Linhas zebradas */
table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* Destaque ao passar o mouse */
table.table-hover tbody tr:hover {
    background-color: #f0f0f0;
}

form {
    margin-top: 20px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form input[type='text'],
form input[type='email'],
form input[type='password'],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Inclui padding e borda na largura total */
}

/* Estilos para a dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: rgba(0,0,0,0.12);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    color: white;
    font-size: 2rem;
}

.stat-icon.bg-primary { background-color: #007bff; }
.stat-icon.bg-success { background-color: #28a745; }
.stat-icon.bg-info { background-color: #17a2b8; }
.stat-icon.bg-warning { background-color: #ffc107; }
.stat-icon.bg-danger { background-color: #dc3545; }

.stat-content {
    padding: 20px;
    flex: 1;
}

.stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 2rem;
    color: #333;
}

.stat-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.dashboard-section {
    background: #fff;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 20px;
}

.dashboard-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Estilos para os atalhos (cards) */
.atalhos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.atalho-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #124a80;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
}

.atalho-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.atalho-item h3 {
    margin: 15px 0 10px 0;
    color: #124a80;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.atalho-item p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Estilos para os atalhos (cards) */
.atalhos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.atalho-item {
    background-color: #fff;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    color: #124a80;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    width: 180px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    cursor: pointer;
}

.atalho-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(0,0,0,0.15);
}

.atalho-item i {
    font-size: 52px; /* Aumenta o ícone */
    display: block;
    margin-bottom: 15px;
}

.atalho-item span {
    font-size: 18px; /* Aumenta o texto */
    font-weight: 600;
}

/* Estilos para atividades recentes (card) */
.atividades-recentes {
    margin-top: 40px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.atividades-recentes h3 {
    margin-bottom: 20px;
    color: #124a80;
    font-size: 1.8em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Estilos para alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    font-weight: bold;
}

/* Estilos para botões */
.btn {
    display: inline-block;
    padding: 10px 15px; /* Padding padrão para botões */
    border: none; /* Remove borda padrão */
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
}

.btn-primary:hover {
    background-color: var(--cor-primaria-escura);
}

.btn-success {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
}

.btn-success:hover {
    background-color: var(--cor-secundaria-escura);
}

.btn-danger {
    background-color: var(--cor-perigo);
    color: var(--cor-texto-claro);
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-info {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
}

.btn-info:hover {
    background-color: var(--cor-secundaria-escura);
}

.btn-warning {
    background-color: var(--cor-destaque);
    color: var(--cor-texto-claro);
}

.btn-warning:hover {
    background-color: #e67e22;
}

/* Botões menores e mais discretos */
.btn-sm {
    padding: 8px 12px;
    font-size: 0.9em;
    box-shadow: none; /* Remove sombra para discrição */
}

.btn-sm:hover {
    box-shadow: none;
    background-color: #e0e0e0; /* Fundo suave no hover */
    color: #333;
    transform: none; /* Remove transformação para botões pequenos */
}

.btn-custom {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--sombra);
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-custom:hover {
    background-color: var(--cor-secundaria-escura);
    box-shadow: 0 4px 10px var(--sombra-forte);
    transform: translateY(-2px);
}

.btn-custom:active,
.btn-custom.btn-clicked {
    transform: translateY(0);
    box-shadow: 0 1px 3px var(--sombra);
}

/* Estilos específicos para botões dentro de cards */
.card .btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    box-shadow: 0 2px 4px var(--sombra);
}

.card .btn-custom:hover {
    background-color: var(--cor-secundaria-escura);
    box-shadow: 0 4px 8px var(--sombra-forte);
    transform: translateY(-2px);
}

.card .btn-custom:active,
.card .btn-custom.btn-clicked {
    transform: translateY(0);
    box-shadow: 0 1px 3px var(--sombra);
}

/* Espaçamento para ícones de ação */
td a i {
    margin-right: 8px;
}

/* Estilos para o menu de usuário */
.user-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    align-items: center;
}

.user-menu-button {
    background-color: transparent;
    color: var(--cor-texto-claro);
    padding: 8px 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-menu-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff; /* Fundo branco */
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden; /* Para bordas arredondadas */
}

.user-menu-content a {
    color: #333; /* Cor de texto mais escura */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.user-menu-content a:hover {background-color: #f0f0f0}

.user-menu-dropdown:hover .user-menu-content {
    display: block;
}

/* Estilos para o sino de notificação */
.notification-bell {
    position: relative;
    color: var(--cor-texto-claro);
    font-size: 24px;
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.notification-bell:hover {
    color: #f0f0f0;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #e74c3c; /* Vermelho mais moderno */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #fff;
}

.pagination a.active {
    font-weight: bold;
    color: white;
    background-color: #124a80; /* Cor principal */
    border-radius: 5px;
    padding: 8px 12px;
}

.search-form {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-form form {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.search-form .search-criteria {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form .search-input {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form input[type='text'] {
    flex-grow: 1;
}

.items-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.items-header-controls .btn-custom {
    margin-right: 20px;
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.controls-container .btn-custom {
    margin-right: 20px;
}

.controls-container .search-form {
    flex-grow: 1;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.filter-status label {
    margin: 0;
    font-weight: 600;
}

.filter-status select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.main-header nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: 600;
}

.sort-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.sort-arrow.up {
    border-bottom: 4px solid #000;
}

.sort-arrow.down {
    border-top: 4px solid #000;
}

.sort-arrow.none {
    border-top: 4px solid #ccc;
    border-bottom: 4px solid #ccc;
}

/* Estilos para ícones de ação - reduzindo o tamanho do ícone de lixeira */
.action-icon.delete-icon {
    font-size: 1.2em; /* Reduzido de 1.5em para 1.2em */
    color: #dc3545;
}

.action-icon.delete-icon:hover {
    color: #c82333;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Estilos para a documentação */
.documentacao-container {
    font-family: 'Poppins', sans-serif; /* Usa a nova fonte */
    line-height: 1.8;
    color: #333;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.documentacao-container h1, .documentacao-container h2, .documentacao-container h3 {
    color: #124a80; /* Cor principal */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.documentacao-container h1 {
    font-size: 2.4em;
    border-bottom: 2px solid #124a80;
    padding-bottom: 10px;
}

.documentacao-container h2 {
    font-size: 2em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.documentacao-container h3 {
    font-size: 1.6em;
}

.documentacao-container p {
    margin-bottom: 1em;
}

.documentacao-container ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1em;
}

.documentacao-container ul li {
    margin-bottom: 0.5em;
}

.documentacao-container strong {
    color: #124a80;
}

.documentacao-container code {
    background-color: #eef2f7;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95em;
}

.documentacao-container pre {
    background-color: #eef2f7;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95em;
}

.documentacao-container .fas {
    margin-right: 8px;
}

/* Estilos para a caixa de entrada de notificações */
.notification-inbox .notification-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.notification-inbox .notification-item:last-child {
    border-bottom: none;
}

.notification-summary {
    cursor: pointer;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    opacity: 1;
}

.notification-summary:hover {
    background-color: #f0f0f0;
}

.notification-summary.pendente {
    opacity: 1 !important;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.notification-summary.confirmado {
    opacity: 0.7;
    background-color: #d4edda;
}

.assunto-resumo {
    font-weight: normal;
    color: #6c757d;
    margin-left: 5px;
}

.actions-buttons {
    display: flex;
    gap: 10px;
}

/* Estilos para sugestões de autocomplete */
.suggestions-list {
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 100;
    background-color: #fff;
    width: calc(100% - 2px); /* Ajusta à largura do input */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.suggestions-list div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

/* Estilos para ações em massa nas notificações */
.bulk-action-buttons {
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 20px;
}

.bulk-action-buttons .btn {
    margin-right: 10px;
}

.select-all-controls {
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 20px;
}

.select-all-controls .btn {
    margin-right: 10px;
}

#bulkJustificativaForm {
    margin-bottom: 20px;
}

#bulkJustificativaText {
    min-height: 30%;
    min-width: 100%;
    resize: vertical;
}

/* Estilos para checkboxes de itens nas notificações */
.item-checkbox {
    transform: scale(1.3);
    margin-right: 15px;
}

.item-checkbox:checked {
    background-color: #28a745;
}

.notification-filter-controls {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #4aad70;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.notification-filter-controls .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

.suggestions-list div:last-child {
    border-bottom: none;
}

.suggestions-list div:hover {
    background-color: #f0f0f0;
}

.autocomplete-container {
    position: relative;
}

/* Estilos para o login e registro */
.login-wrapper,
.registro-wrapper {
    width: 400px; /* Aumenta um pouco a largura */
    padding: 30px;
    background-color: #fff;
    border-radius: 10px; /* Bordas mais arredondadas */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 80px auto; /* Centraliza e adiciona mais margem superior */
    text-align: center;
}

.login-wrapper h2,
.registro-wrapper h2 {
    color: #124a80;
    margin-bottom: 25px;
    font-size: 2em;
}

.login-wrapper input[type='submit'],
.registro-wrapper input[type='submit'] {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 20px;
}

.login-wrapper p,
.registro-wrapper p {
    margin-top: 20px;
    font-size: 0.95em;
}

.login-wrapper p a,
.registro-wrapper p a {
    color: #124a80;
    text-decoration: none;
    font-weight: 600;
}

.login-wrapper p a:hover,
.registro-wrapper p a:hover {
    text-decoration: underline;
}

.controls-container .search-form input[type='submit'] {
    background-color: #124a80;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.controls-container .search-form input[type='submit']:hover {
    background-color: #0e3a66;
}

.controls-container .search-form .btn-custom {
    background-color: #e0e0e0; /* Cor mais neutra para limpar pesquisa */
    color: #333;
    box-shadow: none;
}

.controls-container .search-form .btn-custom:hover {
    background-color: #d0d0d0;
    box-shadow: none;
}

.pdf-form-container {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.pdf-form-container h5 {
    color: #124a80;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.pdf-form-container .btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease;
}

.pdf-form-container .btn-primary:hover {
    background-color: var(--cor-primaria-escura);
}

/* Badges de status */
.badge {
    display: inline-block;
    padding: .4em .6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-warning {
    color: #856404;
    background-color: #fff3cd;
}

.badge-success {
    color: #155724;
    background-color: #d4edda;
}

.badge-danger {
    color: #721c24;
    background-color: #f8d7da;
}

/* Estilos específicos para o módulo almoxarifado */

/* Estilos para a página principal do almoxarifado */
.almoxarifado-header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.almoxarifado-stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.almoxarifado-stat-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.almoxarifado-stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}

.almoxarifado-stat-label {
    color: #7f8c8d;
    font-size: 1em;
}

/* Estilos para os formulários do almoxarifado */
.almoxarifado-form-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.almoxarifado-form-section h3 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Estilos para as tabelas do almoxarifado */
.almoxarifado-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.almoxarifado-table th {
    background-color: #34495e;
    color: white;
    padding: 15px;
    text-align: left;
}

.almoxarifado-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.almoxarifado-table tr:last-child td {
    border-bottom: none;
}

.almoxarifado-table tr:hover {
    background-color: #f5f5f5;
}

/* Estilos para os cards de materiais */
.material-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.material-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.material-card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
}

.material-card-actions {
    display: flex;
    gap: 10px;
}

.material-card-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.material-card-detail {
    display: flex;
    flex-direction: column;
}

.material-card-detail-label {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.material-card-detail-value {
    font-weight: 600;
    color: #2c3e50;
}

/* Estilos para o modal de pesquisa de itens em movimentações */
.item-option {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.item-option:hover {
    background-color: #f0f0f0;
}

.item-option input[type="checkbox"] {
    margin-right: 10px;
}

.item-option label {
    cursor: pointer;
    display: block;
}

.help-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}


/* Estilos para resultados de busca autocomplete */
.search-results {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
}

.search-result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-result-item:hover {
    background-color: #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}
