/**
 * Estilos personalizados para o Sistema de Gestão Financeira
 */

/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Definições para o layout responsivo */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    
    .hide-on-mobile {
        display: none;
    }
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Cards */
.card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: bold;
}

/* Botões */
.btn {
    border-radius: 5px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* Tabelas */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table td, .table th {
    vertical-align: middle;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Ícones */
.icon-check {
    color: #198754;
}

.icon-warning {
    color: #ffc107;
}

.icon-danger {
    color: #dc3545;
}

/* Footer */
footer {
    margin-top: 50px;
}

/* Dashboard stats */
.dashboard-stat {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dashboard-stat:hover {
    transform: translateY(-5px);
}

.dashboard-stat h3 {
    margin-bottom: 10px;
    font-weight: 700;
}

.dashboard-stat p {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.stat-primary {
    background-color: #e6f2ff;
    color: #0d6efd;
}

.stat-success {
    background-color: #e6fff2;
    color: #198754;
}

.stat-danger {
    background-color: #ffe6e6;
    color: #dc3545;
}

.stat-warning {
    background-color: #fffde6;
    color: #ffc107;
}

/* Login page */
.login-page {
    background-color: #f8f9fa;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

/* Modals */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Alert para risco de protesto */
.alert-protesto {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Item verificado (boleto check) */
.checked-item {
    position: relative;
}

.checked-item::after {
    content: "\f06e";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #0d6efd;
    font-weight: 900;
}

/* Estilo para boletos arquivados */
.archived-item {
    opacity: 0.7;
}

/* Página de erro */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-page h1 {
    font-size: 8rem;
    font-weight: bold;
    color: #dc3545;
}

.error-page h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Animações */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
