/* ===== FINANZAS ===== */

.card{
    max-width:600px;
    margin:auto;
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.card h2{
    margin-top:0;
}

input, textarea{
    width:100%;
    font-size:18px;
    padding:10px;
    margin-top:6px;
    border:1px solid #ccc;
    border-radius:8px;
    box-sizing:border-box;
}

#monto{
    text-align:right;
    font-size:20px;
}

.btn{
    width:100%;
    padding:14px;
    font-size:18px;
    border:none;
    border-radius:8px;
    background:#43A047;
    color:#fff;
    margin-top:14px;
    cursor:pointer;
}

.btn:hover{
    background:#388E3C;
}

.msg{
    margin-top:10px;
    font-size:16px;
    color:#d32f2f;
}
/* ===== TABLA GASTOS ===== */

table th:nth-child(2),
table td:nth-child(2){
    padding-right:40px;   /* separa descripción del monto */
}

table th:nth-child(3),
table td:nth-child(3){
    text-align:right;
    width:150px;          /* fija ancho del monto */
    font-weight:bold;
}
table td:last-child{
    width:80px;
    text-align:center;
}

table td:last-child a{
    text-decoration:none;
    font-size:18px;
    margin:0 4px;
}
