input#cliente_cedula, input#cliente_nombre, input#cliente_correo, input#cliente_direccion, input#cliente_telefono, input#venta_concepto, input#cliente_total {
	border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2bd;
    padding: 12px;
	font-size: 15px;
    color: #383838
}

select#pago_metodo, input#pago_referencia, input#pago_fecha, input#pago_tasa, .monto-input {
	border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2bd;
    padding: 12px;
	font-size: 15px;
    color: #383838;
}

select#pago_moneda, input#pago_monto{
	width: 100%;
	padding: 0px;
    background: transparent;
    border: 0px;
}

.inputs-grid2 {
    margin-bottom: 40px;
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}


div#recibos-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 16px;
}

form#filtros-recibos {
    margin-bottom: 20px;
    gap: 10px;
    display: flex;
    flex-direction: row;
}

table.min-w-full.text-sm {
    margin-bottom: 40px;
}

thead.bg-gray-100.text-gray-700 {
    background: #f3f3f3;
}

input.tx-fecha1 {
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    padding: 10px;
}

.pagination-content {
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.\32 tex-pagt {
    display: flex;
    gap: 5px;
}

button.btn-filtrar, button#btn-limpiar-filtros {
    background: #03012d;
}

button.btn-anterior.opacity-50.cursor-not-allowed, button.btn-siguiente.opacity-50.cursor-not-allowed {
    background-color: #03012d;
}


#modal-comprobantes {
  display: none;
}
#modal-comprobantes.flex {
  display: flex;
}
.btn-ver-comprobantes {
  background: #2563eb;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-ver-comprobantes:hover {
  background: #1d4ed8;
}

td.text-concep-recibs, td.text-obs-recibs {
    max-width: 280px;
}


/* codigo cards lista recibos*/

.recibos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.recibo-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recibo-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.recibo-correlativo {
  font-weight: bold;
  color: #222;
}

.recibo-fecha {
  color: #666;
}

.recibo-body p {
  margin: 4px 0;
  font-size: 14px;
}

.recibo-comprobantes {
  margin-top: 10px;
  font-size: 13px;
}

.link-ver {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.link-ver:hover {
  text-decoration: underline;
}

.no-comprobante {
  color: #999;
}

.recibo-footer {
  margin-top: 12px;
  text-align: right;
}

.btn-pdf {
  display: inline-block;
  background: #2c3e50;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
}

.btn-pdf:hover {
  background: #1a242f;
}

.recibos-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  margin-top: 10px;
}

.pagination-info {
  font-size: 13px;
  color: #666;
}

.pagination-buttons button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  margin-left: 5px;
}

.pagination-buttons button:hover:not(:disabled) {
  background: #f0f0f0;
}

.pagination-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.recibos-empty {
  background: #eef6ff;
  color: #3178c6;
  border: 1px solid #cce0ff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}



/* CODIGO PARA LISTA DE VENTAS*/

.facturas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.factura-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.factura-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.factura-body p {
  margin: 4px 0;
  font-size: 14px;
}

.factura-status {
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
}
.factura-status.pendiente { background: #fff3cd; color: #856404; }
.factura-status.completado { background: #d4edda; color: #155724; }
.factura-status.anulado { background: #f8d7da; color: #721c24; }

.factura-footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.factura-footer .btn-items,
.factura-footer .btn-ver,
.factura-footer .btn-pdf {
  background: #f7f7f7;
  padding: 6px 12px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}

.factura-footer .btn-pdf {
  background: #2c3e50;
  color: #fff;
  border: none;
}

.factura-footer .btn-ver:hover,
.factura-footer .btn-items:hover {
  background: #f0f0f0;
}

.factura-footer .btn-pdf:hover {
  background: #1a242f;
}

.facturas-pagination {
  margin-top: 20px;
  text-align: center;
}

.page-btn {
  background: #fff;
  border: 1px solid #ccc;
  margin: 0 3px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.page-btn.active {
  background: #2c3e50;
  color: #fff;
  border-color: #2c3e50;
}

.facturas-resumen {
  margin-top: 20px;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

.facturas-resumen .label {
  font-weight: bold;
  margin-right: 6px;
}

.facturas-resumen .value {
  margin-right: 20px;
}

.facturas-empty {
  background: #eef6ff;
  color: #3178c6;
  border: 1px solid #cce0ff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}


/*STATUS DE LISTA DE VENTAS*/
.status-pendiente { color: orange; font-weight: 600; border-radius: 8px; padding: 5px; background: #fff00024; }
.status-completado { color: green; font-weight: 600; border-radius: 8px; padding: 5px; background: #00800017;}
.status-anulado { color: red; font-weight: 600; border-radius: 8px; padding: 5px; background: #ff000012;}


/* Estilo para ventas asociadas */
.venta-asociada {
  background-color: #e6f0ff;   /* azul suave */
  color: #0056b3;              /* azul oscuro para contraste */
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;       /* quitar subrayado */
  font-weight: 500;
}

/* Estilo para ventas NO asociadas */
.venta-no-asociada {
  background-color: #ffe6e6;   /* rojo claro */
  color: #cc0000;              /* rojo oscuro */
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

span.select2-selection.select2-selection--single {
    border-radius: 16px !important;
}

button.btn-remove {
    background-color: #ffe1e1;
}

button#btnAgregarPago, button.btn-save {
    background-color: #03012d;
}

table.tabla-pagos {
    margin-bottom: 50px;
}


select#pago_metodo, .monto-input, input#pago_referencia, input#pago_fecha, input#pago_tasa {
	width: 100% !important;
	height: 50px;
	margin: 0px;
	}


select#pago_moneda {
	margin-top: 0px;
    margin-bottom: 0px;
	width: 1.9em;
    padding-right: 10px;
    border-radius: 0px;
    border-right: 1px solid #d2d2d2;
    margin-right: 13px;
}

div#modalPagarCuota .inputs-grid2 {
    display: flex;
    flex-direction: column;
	}


div#modalPagarCuota button#btnLimpiar {
	display: none;
}

div#tasaCambio {
	width: fit-content;
    margin-bottom: 15px;
}
