body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical; /* permite redimensionar verticalmente */
    font-family: inherit;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 1;
    bottom: 110%; /* acima do card */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9em;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.menu-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.menu-dashboard a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: #007bff !important;  /* fundo azul */
    color: #fff !important;          /* texto branco */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-dashboard a:hover {
    background: #0056b3 !important;   /* azul escuro ao passar o mouse */
    transform: translateY(-2px);
    color: #fff !important;           /* mantém branco */
}

.menu-dashboard .icon {
    font-size: 1.2em;
}

/* Responsivo para mobile */
@media(max-width: 768px) {
    .menu-dashboard {
        flex-direction: column;
    }
    .menu-dashboard a {
        justify-content: center;
    }
}

.status-pago { color: green; font-weight:bold; }
.status-vencida { color: red; font-weight:bold; }
.status-pendente { color: blue; font-weight:bold; }

.btn-excluir {
    display:inline-block;
    padding:5px 10px;
    background:#dc3545;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-size:0.9em;
    margin-left:5px;
}
.btn-excluir:hover { background:#a71d2a; }

.btn-editar {
    display:inline-block;
    padding:5px 10px;
    background:#28a745;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-size:0.9em;
}
.btn-editar:hover {
    background:#1e7e34;
}


.container {
    max-width: 600px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.tipo-entrada { color: green; font-weight:bold; }
.tipo-saida { color: red; font-weight:bold; }

h1, h2 {
    text-align: center;
    color: #333;
}

form input, form select, form button {
    width: 30%;
    padding: 5px;
    margin: 8px 0;
    border-radius: 30px;
    border: 1px solid #ccc;
}

form button {
    background: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #218838;
}

.erro {
    color: red;
}

.sucesso {
    color: green;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
}

.btn-baixa {
    display:inline-block;
    padding:5px 10px;
    background:#dc3545;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-size:0.9em;
}
.btn-baixa:hover {
    background:#a71d2a;
}

