body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}
/* Estilo para la lista de pagos */
.payment-list {
    list-style-type: none;
    padding-left: 0;
}
.payment-list li {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}
/* Estilo para el contenedor de la página */
.container {
    margin: 20px;
}
/* Estilo para el encabezado */
h1 {
    color: #333;
}
/* stylesPayment.css */
.navbar {
    /* Fuerza la altura para ver si esto resuelve el problema visual */
    height: 80px !important; /* Ajusta este valor según la altura deseada para tu barra */
    min-height: 80px !important; /* Asegura que no se haga más pequeña */
    /* Propiedades de fondo para tu imagen */
    background-image: url('imgs/header.png');
    background-size: cover; /* o '100% 100%' si quieres que se estire exactamente */
    background-position: center center; /* Centrar la imagen */
    background-repeat: no-repeat;
    /* Asegurarte de que el padding contribuye a la altura */
    padding: 0 20px !important; /* Quita el padding vertical y controla solo la altura con height/min-height */
                                /* O si quieres el padding, asegúrate de que el total se sume a la altura.
                                   Por ahora, pon 0 vertical para que height lo controle. */
    background-color: #007bff; /* Esto puede ser visible si la imagen no cubre bien */
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Cambiado a 100% */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden; 
    font-weight: bold;
}
.navbar a {
      font-size: 1.2em !important;
    margin: 0 35px;
    line-height: normal;
    color: #FFFFFF !important; 
    text-decoration: none !important;
}
        .navbar a:hover {
            text-decoration: underline;
        }
        .navbar .username {
            margin-left: auto; 
        }
        .container {
            max-width: 1500px;
            width: 90%;
            margin: auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-top: 100px;
        }
.payment-table th, .payment-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
.payment-table th {
    background-color: #f4f4f4;
    color: #333;
}
.payment-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.payment-table tr:hover {
    background-color: #ddd;
}
         .buttonExcel {
            display: inline-block;
            padding: 10px 20px;
            font-size: 16px;
            color: #fff;
           background: linear-gradient(to bottom, #1f990f 50%, #116207 100%);
            border: none;
            border-radius: 22px;
            text-decoration: none;
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
        }
        .buttonExcel:hover {
             background: linear-gradient(to bottom, #116207 50%, #0a3b03 100%);
        }
          
.payment-table {
    width: 100%;
    border-collapse: collapse; 
    margin-bottom: 20px;
    table-layout: fixed;/* ¡AÑADE O CONFIRMA ESTA LÍNEA! */
}
.payment-table th, .payment-table td {
    border: 1px solid #dddddd;
    padding: 8px; 
    word-wrap: break-word; 
}
.payment-table th:nth-child(1), .payment-table td:nth-child(1) { width: 40px; } /* IDPO */
.payment-table th:nth-child(2), .payment-table td:nth-child(2) { width: 100px; } /* Reference */
.payment-table th:nth-child(3), .payment-table td:nth-child(3) { width: 105px; } /* Invoice No. */
.payment-table th:nth-child(4), .payment-table td:nth-child(4) { width: 55px; } /* BUDGET */
.payment-table th:nth-child(5), .payment-table td:nth-child(5) { width: 200px; } /* Provider Name */
.payment-table th:nth-child(6), .payment-table td:nth-child(6) { width: 30px; } /* Program ID */
.payment-table th:nth-child(7), .payment-table td:nth-child(7) { width: 50px; } /* Total */
.payment-table th:nth-child(8), .payment-table td:nth-child(8) { width: 60px; } /* Due Date */
.payment-table th:nth-child(9),
.payment-table td:nth-child(9) {
    width: 30px !important;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
}
.payment-table td:nth-child(9) .form-check-input {
    margin: 0 auto !important; 
    display: block !important; 
}
.payment-table td:nth-child(9) .form-check-label {
    display: none !important;
}
.payment-table th:nth-child(10), .payment-table td:nth-child(10) {
    width: 80px; 
    text-align: center; 
}