.frnk-pagos-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.frnk-titulo {
    text-align: center;
    margin-bottom: 20px;
}

.frnk-filtros {
    border-radius: 16px;
    padding: 20px;
    background: white;
    margin-bottom: 50px;
    gap: 20px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    align-items: flex-end;
}

.frnk-btn-filtrar {
    background: #03012d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 16px;
    cursor: pointer;
}

.frnk-pagos-lista {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.pago-more-info {
    padding-left: 20px;
    border-left: 1px solid #eee;
    font-size: 11px;
}

.frnk-card-pago {
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.frnk-card-pago {
    display: flex;
    flex-direction: row;
	align-items: center;
}

.pago-iconx i.fas.fa-credit-card {
	margin-right: 20px;
    font-size: 26px;
    background: #eee;
    padding: 8px;
    border-radius: 10px;
}

.frnk-card-body {
    gap: 20px;
    display: flex;
    flex-direction: row;
}

.frnk-card-body p {
	display: grid;
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.frnk-paginacion {
    text-align: center;
    margin-top: 20px;
}

.frnk-btn-page {
    border: none;
    background: #eee;
    padding: 6px 10px;
    margin: 0 3px;
    border-radius: 4px;
    cursor: pointer;
}

.frnk-btn-page.active {
    background: #0073aa;
    color: white;
}

.frnk-card-pago:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


input#filtro-fecha-inicio, input#filtro-fecha-fin, select#filtro-metodo, select#filtro-moneda {
    height: 40px;
    font-size: 15px;
    border-style: solid;
    border-radius: 14px;
    border-width: 1px;
    padding: 5px;
    background-color: #fff;
    border-color: #e8e8e8;
}

select#filtro-metodo {
    width: 165px;
}

select#filtro-moneda {
    width: 100px;
}

a.btn-ver:hover {
    color: blue;
}

a.btn-ver {
    color: #555555;
}

a.btn-pago-pdf:hover {
    background: #eeee;
}







#frnk-modal-producto {
    display: none; /* oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;           /* ✅ necesario para centrar con flexbox */
    justify-content: center; /* centra horizontal */
    align-items: center;     /* centra vertical */
    z-index: 9999;
}

#frnk-modal-producto > div {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    position: relative;
}

#frnk-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.frnk-productos-cards {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.frnk-producto-card {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.frnk-producto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.frnk-producto-info h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.frnk-producto-info p {
    margin: 3px 0;
    font-size: 14px;
    color: #555;
}

.frnk-producto-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.frnk-producto-actions button {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.frnk-edit-producto {
    background: #4caf50;
    color: #fff;
}

.frnk-delete-producto {
    background: #f44336;
    color: #fff;
}

