/* 실시간 입금/출금 현황 */
.realtime_transaction_box {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 13px;
}
.realtime_deposit_area, .realtime_withdrawal_area {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px 5px 0px 0px;
    overflow: hidden;
}
.realtime_ttl {
    background: linear-gradient(180deg, var(--color-start), var(--color-end));
    padding: 6px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 3px rgb(0 0 0 / 76%);
    height: 38px;
    line-height: 20px;
}
/* 모바일 실시간 입금/출금 현황 */
@media (max-width: 768px) {
    .realtime_transaction_box {
        display: block;
        margin: 10px 0;
        gap: 0;
    }
    .realtime_deposit_area, .realtime_withdrawal_area {
        margin-bottom: 10px;
    }
    .realtime_ttl {
        font-size: 14px;
    }
    .realtime_ttl i {
        font-size: 14px;
    }
    .realtime_list {
        height: 440px;
    }
    .realtime_list th,
    .realtime_list td {
        padding: 8px 10px;
        font-size: 12px;
        text-align: center;
    }
    .realtime_list .rt_time {
        font-size: 11px;
    }
    .realtime_list .rt_amount {
        font-size: 12px;
    }
}
.realtime_ttl i {
    color: #fff;
    font-size: 16px;
}
.realtime_list {
    position: relative;
}
.realtime_list table {
    width: 100%;
    border-collapse: collapse;
}
.realtime_list thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #252525;
}
.realtime_list .scroll-container {
    height: 440px;
    overflow: hidden;
    position: relative;
}
.realtime_list .scroll-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    animation: scrollUp 5s linear infinite;
}
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.realtime_list::-webkit-scrollbar {
    width: 5px;
}
.realtime_list::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.realtime_list::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
.realtime_list table {
    width: 100%;
    border-collapse: collapse;
}
.realtime_list th {
    background: linear-gradient(180deg, #262626 0%, #191919 49%, #000 51%, #181818 100%);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .1), 0px 1px 3px rgba(0, 0, 0, 0.9);
    padding: 10px 12px;
    font-size: 13px;
    color: #fff;
    font-weight: normal;
    text-align: left;
    border-bottom: 1px solid #333;
    text-align: center;
}
.realtime_list td {
    padding: 10px 12px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid #242424;
    background: linear-gradient(180deg, #181818 87%, #101010);
    text-align: center;
}
.realtime_list tr:hover {
    background: #222;
}
.realtime_list .rt_time {
    color: #fff;
    font-size: 12px;
}
.realtime_list .rt_type {
    font-weight: 600;
}
.realtime_list .rt_type.deposit {
    color: #fff;
}
.realtime_list .rt_type.withdrawal {
    color: #fff;
}
.realtime_list .rt_amount {
    text-align: right;
    font-weight: 600;
    color: #fff;
}
.realtime_list .no_data {
    text-align: center;
    padding: 50px 20px;
    color: #666;
    font-size: 14px;
}


/* 실시간 입출금 테이블 너비 설정 */
.realtime_list table {
    width: 100%;
    table-layout: fixed; /* 열 너비 강제 고정 */
}

/* 공통 열 너비 (퍼센트로 환산) */
.realtime_list th:nth-child(1),
.realtime_list td:nth-child(1) { width: 40%; }  /* 205px → 약 40% */
.realtime_list th:nth-child(2),
.realtime_list td:nth-child(2) { width: 20%; }  /* 100px → 약 20% */
.realtime_list th:nth-child(3),
.realtime_list td:nth-child(3) { width: 20%; }  /* 100px → 약 20% */
.realtime_list th:nth-child(4),
.realtime_list td:nth-child(4) { width: 20%; }  /* 100px → 약 20% */

/* 모바일 대응 */
@media (max-width: 768px) {
    .realtime_list th:nth-child(1),
    .realtime_list td:nth-child(1) { width: 40%; text-align: left; }
    .realtime_list th:nth-child(2),
    .realtime_list td:nth-child(2) { width: 20%; }
    .realtime_list th:nth-child(3),
    .realtime_list td:nth-child(3) { width: 20%; }
    .realtime_list th:nth-child(4),
    .realtime_list td:nth-child(4) { width: 30%; }
}



