/* ====== TRANSAKSI TERAKHIR MEMBER (redesign v2 - dark theme) ====== */
.txn-wrap {
    margin: 0 0 18px;
    font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
}

.txn-title {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .6px;
    margin: 0 auto 18px;
    color: #e6b93f;
    position: relative;
    width: max-content;
    max-width: 100%;
}

.txn-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 58%;
    margin: 8px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #e6b93f, transparent);
}

.txn-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.txn-panel {
    position: relative;
    background: linear-gradient(160deg, #0b1533 0%, #070d22 100%);
    border: 1px solid rgba(212, 175, 55, .32);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}

.txn-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
}

.txn-deposit::before {
    background: linear-gradient(90deg, #2ecc71, #1e9e57);
}

.txn-withdraw::before {
    background: linear-gradient(90deg, #f5d77a, #d4af37);
}

.txn-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .4px;
    color: #ffffff;
    border-bottom: 1px solid rgba(212, 175, 55, .20);
}

.txn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 11px;
    color: #fff;
}

.txn-deposit .txn-ico {
    background: linear-gradient(135deg, #2ecc71, #1e9e57);
}

.txn-withdraw .txn-ico {
    background: linear-gradient(135deg, #f5d77a, #d4af37);
    color: #5a4500;
}

.txn-live {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    color: #3ddc84;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.txn-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
    animation: txnPulse 1.4s infinite;
}

@keyframes txnPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.txn-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    overflow: hidden;
}

.txn-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 11px;
    animation: txnIn .5s ease;
}

.txn-row:nth-child(odd) {
    background: rgba(255, 255, 255, .04);
}

@keyframes txnIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.txn-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.txn-deposit .txn-avatar {
    background: linear-gradient(135deg, #34d27c, #178f4c);
}

.txn-withdraw .txn-avatar {
    background: linear-gradient(135deg, #f7dd8c, #cfa429);
    color: #5a4500;
}

.txn-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.txn-id {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.txn-sub {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #8aa0c8;
}

.txn-method {
    font-weight: 700;
    color: #e6b93f;
    background: rgba(212, 175, 55, .14);
    border: 1px solid rgba(212, 175, 55, .32);
    padding: 1px 7px;
    border-radius: 999px;
    line-height: 1.5;
}

.txn-amt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.txn-amt .txn-arrow {
    font-size: 9px;
    font-style: normal;
}

.txn-deposit .txn-amt {
    color: #3ddc84;
}

.txn-withdraw .txn-amt {
    color: #f0c64a;
}

@media (max-width: 600px) {
    .txn-section {
        grid-template-columns: 1fr;
    }
}
