/* Variables & Reset Local */
.tx-section {
    background-color: #ffffff;
    padding: 96px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #171717;
    overflow: hidden;
}

.tx-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 992px) {
    .tx-container {
        grid-template-columns: 0.9fr 1.1fr;
        /* Widget Izquierda, Contenido Derecha */
        gap: 80px;
    }
}

/* --- LADO IZQUIERDO: WIDGET --- */
.tx-widget-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.tx-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tx-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tx-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0c516e;
    background-color: #ccfbf1;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.tx-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #0f172a;
}

.tx-input-group {
    margin-bottom: 12px;
}

.tx-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.tx-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tx-input-wrapper:focus-within {
    border-color: #267698;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.tx-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
}

.tx-currency-select {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    user-select: none;
}

/* Botón de Intercambio (Swap) */
.tx-swap-container {
    display: flex;
    justify-content: center;
    margin: -6px 0;
    position: relative;
    z-index: 2;
}

.tx-swap-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tx-swap-btn:hover {
    transform: rotate(180deg) scale(1.1);
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.tx-rate-info {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 16px 0 24px 0;
}

.tx-btn-submit {
    width: 100%;
    background-color: #171717;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.tx-btn-submit:hover {
    background-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.25);
}

.tx-btn-submit svg {
    transition: transform 0.2s ease;
}

.tx-btn-submit:hover svg {
    transform: translateX(4px);
}


/* --- LADO DERECHO: CONTENIDO --- */
.tx-heading {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.8px;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .tx-heading {
        font-size: 44px;
    }
}

.tx-gradient-text {
    background: linear-gradient(135deg, #0d9488 0%, #318ebd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tx-description {
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 32px 0;
    max-width: 520px;
}

/* Lista de Beneficios */
.tx-benefits-list {
    display: flex;
    flex-direction: column;
}

.tx-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.tx-benefit-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.tx-benefit-item:hover {
    transform: translateX(6px);
}

.tx-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #51cee0;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.tx-benefit-item:hover .tx-icon-box {
    background-color: #51cee0;
    color: #ffffff;
    border-color: #ffffff;
}

.tx-benefit-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.tx-benefit-text p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}