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


#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 {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e2e2;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.campos-form1 {
    gap: 10px;
    display: flex;
    width: 50%;
    flex-direction: column;
}

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

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

.form-group {
    width: 80%;
}

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