.producto-info {
    line-height: normal;
    display: flex;
    flex-direction: column;
}

.profile-info {
    color: #454545;
    line-height: 0.1 !important;
    text-align: left;
}


#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;
}


div#modal-productos {
    display: flex;
    justify-content: center;
    align-items: center;
}

div#modal-productos h3 {
	margin-bottom: 20px;
    
}

button#modal-close {
    color: #333333;
    border: none;
    padding: 6px;
    border-radius: 8px;
    background: #eee;
    font-weight: bold;
    cursor: pointer;
}

#modal-productos .modal-content {
  background:white;
  border-radius:16px;
  padding:20px;
  width:500px;
  max-height:80vh;
  overflow-y:auto;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

#modal-productos .producto-card {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f9f9f9;
  border-radius:12px;
  padding:10px 15px;
  margin-bottom:8px;
  border: 1px solid #eee;
}

#modal-productos .producto-agregar {
    letter-spacing: normal;
    font-size: 12px;
    font-weight: 600;
    background: #bababa;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

#modal-productos .producto-agregar:hover {
  background:#1d4ed8;
}

button.add-button i.fi.fi-rr-add {
	transform: translateY(2px);
    font-size: 16px;
    flex-direction: row;
}

button.add-button {
    display: flex;
    background-color: #03012d;
    flex-direction: row;
    align-items: center;
}

button#btn-buscar-producto {
    gap: 10px;
    display: flex;
    flex-direction: row;
}

button#btn-buscar-producto:hover, button.btn-save-fomr:hover {
    transform: translateY(-2px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

button#btn-buscar-producto i.fi.fi-rr-search {
    font-size: 16px;
    transform: translateY(1px);
}

#modal-productos .producto-card:hover {
	transform: translateY(-2px);
}

div#modal-productos-lista {
    margin-top: 10px;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

div#tasaCambio i.fi.fi-sr-usd-circle {
	transform: translate(0px, 4px);
    margin: 0px;
    padding: 0pc;
    color: #4CAF50;
}

div#tasaCambio {
    gap: 7px;
    display: flex;
    width: fit-content;
    margin-bottom: 15px;
    flex-direction: row;
    align-items: center;
}

.rate {
    background: #ffffff;
    padding: 5px 15px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-weight: bold;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.text-form-doc {
    width: 30%;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e2e2;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.campos-form1 {
    gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.campos-form1 input[type="text"], input[type="email"] {
    width: 30%;
    padding: 12px;
}

.textarea-box textarea, .textnota-box textarea, .upload-box input[type="file"] {
    margin-top: 12px;
}

.inputs2 {
    margin-bottom: 14px;
    font-size: 14px;
    gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

select#metodo_pago_select, input.tl_input, select.tl_input {
  width: 24%;
  border-radius: 16px;
}

.product-controls button {
    padding: 6px 12px;
    color: white;
    border: none;
    border-radius: 10px;
    background: #03012d;
    font-weight: 600;
    cursor: pointer;
}

.product-controls {
    gap: 10px;
    display: flex;
    margin-bottom: 30px;
    flex-direction: row;
    justify-content: space-between;
}


div#pasajerosContainer {
    display: flex;
    flex-direction: column;
}

.pasajero h3 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
}

.container_pax input[type="text"], .container_pax input[type="date"] {
    border-radius: 10px;
}

.container_pax {
    gap: 20px;
    display: flex;
    flex-direction: row;
}

.pasajero:hover {
    transform: scale(1.01);
}
.pasajero {
    transition: all 0.2s ease;
}

.form-group {
    width: 100%;
}

label.cotabilidad-form-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.upload-box input[type="file"] {
 	  font-size: 14px;
	  background-color: white;
      border: 1px solid #ccc;
      padding: 8px;
      border-radius: 10px;
    }

    .upload-label {
      font-weight: bold;
    }

p.texto-aux  {
	color: #898989;
    font-size: 13px;
    margin-bottom: 12px;
}

div#pasajerosContainer p {
    color: #b9b5b5;
    margin-bottom: 10px;
}

.card-pago i.fi.fi-sr-credit-card {
    margin-right: 16px;
    text-align: center;
    font-size: 26px;
    width: 50px;
    height: 50px;
    color: #03012d;
    border-radius: 10px;
    background: #f2f2f2;
    padding: 9px;
}

.campos-not-tx {
    color: #898989;
    display: flex;
    gap: 6px;
}

table#tabla-productos {
    border: none;
}

table#tabla-productos th, table#tabla-productos td {
    border: none;
}

tbody#productos-body tr, table#tabla-productos thead {
    border-bottom: 1px solid #eee;
}

table#tabla-productos thead {
    background: #d9d8ed47;
}

tbody#productos-body tr:hover {
    background: #e8e8ff36;
}

.titulo_boton {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

button.btn-edit-fact {
    color: #03012d;
    font-weight: 500;
    font-size: 12px;
    padding: 5px 10px;
    background: #e3e3e3;
}


/* Fondo del modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  backdrop-filter: blur(3px);
  background-color: rgba(0,0,0,0.5); 
}

/* Contenido del modal */
.modal-content {
  background-color: #fff;
  margin: 10% auto; 
  padding: 20px 30px;
  border-radius: 12px;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
}

/* Botón de cerrar */
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #333;
}

/* Botón guardar */
.btn-guardar {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
}
.btn-guardar:hover {
  background-color: #0056b3;
}

.form-group {
  margin-bottom: 10px;
}
.cotabilidad-form-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/**/
/* Fondo del modal productos en carrito */
.product-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.45);
}

/* Caja del modal */
.product-modal-box {
    overflow-y: auto;            /* ya lo tienes */
    max-height: 80vh;            /* máximo 80% de la altura de la ventana */
    background-color: #fff;
    margin: 5% auto;
    padding: 20px 30px;
    border-radius: 14px;
    width: 900px;
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: productModalFadeIn 0.3s ease-in-out;
}


@keyframes productModalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Botón de cerrar */
.product-modal-close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.product-modal-close:hover {
  color: #333;
}

/* Título */
.product-modal-title {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
  color: #333;
}

.totales-desgloses-container p {
    margin-bottom: 0.6em;
}

/* Contenedor del formulario */
.product-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.product-modal-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Inputs */
.product-modal-input {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 14px;
}
.product-modal-input.descripcion {
  flex: 1;
}
.product-modal-input.cantidad {
  width: 80px;
}
.product-modal-input.precio {
  width: 120px;
}

/* Botón de añadir */
.product-modal-add-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.2s;
}
.product-modal-add-btn:hover {
  background-color: #0056b3;
}


/* MODA DEL PAGO VENTA*/
/* ======== MODAL DE PAGO ======== */
#overlay-pago {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: pago-overlay-in 0.25s ease forwards;
}

/* Modal principal */
#modal-pago {
  height: 450px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  width: 450px;
  max-width: 750px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  animation: pago-modal-in 0.25s ease forwards;
  transition: all 0.25s ease;
}

/* Título */
#modal-pago h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #333;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

/* Botón de cierre */
#cerrar-modal-pago {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}
#cerrar-modal-pago:hover {
  color: #000;
}

/* Botón principal de "Añadir pago" */
#abrir-modal-pago {
    padding: 6px 12px;
    border-radius: 10px;
    background: #03012d;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s 
ease, transform 0.1s 
ease;
}


#abrir-modal-pago:hover {
  transform: scale(1.02);
}

.product-controls button:hover {
  transform: scale(1.02);
}

/* Inputs dentro del modal */
#modal-pago input,
#modal-pago select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
#modal-pago input:focus,
#modal-pago select:focus {
  outline: none;
  border-color: #007bff;
}

/* Botón "Añadir" dentro del modal */
#modal-pago .add-button {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}
#modal-pago .add-button:hover {
  background: #218838;
  transform: scale(1.02);
}

/* Animaciones */
@keyframes pago-modal-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pago-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}


/*INPUTS DE MODAL PRODUCTOS*/
input#prod-cantidad, input#prod-descripcion, input#prod-comision, input#sub-cantidad,
input#sub-descripcion, input#sub-proveedor, input#sub-precio {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #ccd5d8;
    font-size: 14px;
}

h3.product-modal-title, .product-modal-box h4 {
    font-weight: 600;
    text-align: left;
}

.product-modal-box hr {
    margin-bottom: 20px !important;
    margin-top: 24px !important;
}

.product-modal-box td, .product-modal-box th {
    border: none;
}

.product-modal-box tr {
    border-bottom: 1px solid #e1e1e1;
}

table#tabla-desglose {
    border: none;
}

select.select-tipo-viaje {
    height: 30px;
    padding: 1px 10px;
    border: none;
    color: green;
    width: 170px;
    border-radius: 10px;
}

.select-tipo-viaje option {
  background-color: white;
  color: #333;
}

.container-titulo-pax {
    border-radius: 12px;
    padding: 5px 10px;
    height: 34px;
    background: #00800014;
    width: max-content;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/*CALENDARIO*/
    /* Contenedor general */
    #frnk-calendar {
        max-width: 100%;
        width: 100%;
        margin: 20px auto;
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    /* Asegura que el calendario se expanda correctamente */
    .fc {
        
        font-size: 14px;
    }

    .fc-toolbar-title {
        font-size: 18px;
        font-weight: 600;
    }

    .fc-daygrid-event {
        background: #0073aa !important;
        color: #fff !important;
        border: none !important;
        border-radius: 6px;
        padding: 2px 4px;
        font-size: 13px;
    }

    #frnk-proximos {
        border-radius: 16px;
        background: white;
        list-style: none;
        padding: 30px;
        max-width: 600px;
    }

    #frnk-proximos li {
        background: #f9f9f9;
        padding: 10px 15px;
        margin-bottom: 13px;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    /* Modal */
    #frnk-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    #frnk-modal > div {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        position: relative;
    }

    #frnk-modal button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    ul#frnk-proximos {
        margin: 0;
    }


    #frnk-proximos li:hover {
    transform: translate(0px, -2px);
}