.tasas-tabla {
    width: 50%;
    margin-top: 10px;
    font-family: Roboto;
    border-collapse: collapse;
}

/* Encabezado como tarjetas */
.tasas-tabla thead {
    display: contents;
}

.tasas-tabla thead tr {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tasas-tabla thead th {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.tasas-tabla thead th:first-child {
    background-color: #e95126;
    color: white;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    margin-right: 4px;
}

.tasas-tabla thead th:last-child {
    background-color: #e95126;
    color: white;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Cuerpo */
.tasas-tabla tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tasas-tabla tbody tr {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}

.tasas-tabla tbody td {
    padding: 10px 14px;
    flex: 1;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

/* Columna izquierda: PLAZO */
.tasas-tabla tbody td:first-child {
    background-color: #e84e1b;
    color: #333333;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    margin-right: 4px;
}

/* Columna derecha: TASA */
.tasas-tabla tbody td:last-child {
    background-color: #ececec;
    color: #333333;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Nota inferior */
.tasas-nota {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    text-align: center;
}


@media (max-width: 480px) {
  .tasas-tabla {
    width: 98% !important;
    min-width: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
}

