.modal-real-trade {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(34,197,94,0.03));
    border: 1px solid rgba(74,222,128,0.15);
    border-radius: 16px;
}

.modal-rt-title {
    font-size: 16px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 14px;
}

.modal-rt-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-rt-table thead tr {
    border-bottom: 1px solid rgba(74,222,128,0.2);
}

.modal-rt-table th {
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--surface-400);
    text-align: center;
}

.modal-rt-table td {
    padding: 9px 6px;
    font-size: 13px;
    color: var(--surface-300);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.modal-rt-table td.rt-td-price {
    font-weight: 700;
    color: #4ade80;
    text-align: right;
    white-space: nowrap;
}

.modal-rt-summary {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(74,222,128,0.15);
    font-size: 13px;
    color: var(--surface-400);
    text-align: center;
    font-weight: 500;
}

.real-trade-section {
    scroll-margin-top: 100px;
    padding: 80px 0 60px;
}

.rt-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.rt-dong-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}
.rt-dong-filters::-webkit-scrollbar { display: none; }

.rt-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--surface-300);
    margin-right: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rt-dong-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-dong-tab:hover {
    color: var(--surface-200);
    background: rgba(255,255,255,0.06);
}

.rt-dong-tab.active {
    color: #fff;
    background: var(--accent-500);
    border-color: var(--accent-400);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(var(--rgb-accent-500),0.3);
}

.rt-filters {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}

.rt-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-tab:hover {
    color: var(--surface-300);
    background: rgba(255,255,255,0.06);
}

.rt-tab.active {
    color: #fff;
    background: #4ade80;
    border-color: #22c55e;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(74,222,128,0.3);
}

.rt-type-filters {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}
.rt-type-filters::-webkit-scrollbar { display: none; }

.rt-type-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-type-tab:hover {
    color: var(--surface-200);
    background: rgba(255,255,255,0.08);
}

.rt-type-tab.active {
    color: #fff;
    background: var(--primary-500);
    border-color: var(--primary-400);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.rt-table-wrapper {
    border-radius: 16px;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    max-height: 600px;
    overflow-y: auto;
    width: 100%;
}

.rt-table {
    width: 100%;
    border-collapse: collapse;
}

.rt-table thead tr {
    background: linear-gradient(135deg, rgba(74,222,128,0.1), rgba(34,197,94,0.06));
    border-bottom: 1px solid rgba(74,222,128,0.15);
}

.rt-table th {
    padding: 14px 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--surface-300);
    text-align: center;
    letter-spacing: 0.5px;
}

.rt-table td.rt-td-date {
    color: var(--surface-200);
    font-weight: 500;
}

.rt-table td.rt-td-floor {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--surface-100);
}

.rt-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}

.rt-table tbody tr:hover {
    background: rgba(74,222,128,0.04);
}

.rt-month-divider {
    background: var(--hp-nav-strong);
    backdrop-filter: blur(4px);
    font-weight: 600;
    color: var(--accent-400);
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.rt-group-divider {
    background: rgba(37, 99, 235, 0.15);
    font-weight: 700;
    color: var(--surface-50);
    text-align: left;
    border-bottom: 2px solid var(--primary-500);
}
.rt-group-divider td {
    padding: 18px 20px !important;
    font-size: 17.5px;
    letter-spacing: 0.5px;
}
.rt-month-divider td {
    padding: 16px 20px !important;
    font-size: 16.5px;
    letter-spacing: 0.5px;
}

.rt-table td {
    padding: 13px 12px;
    font-size: 14px;
    color: var(--surface-400);
    text-align: center;
    vertical-align: middle;
}

.rt-table td.rt-td-apt {
    text-align: left;
    color: var(--surface-200);
    font-weight: 500;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hide-apt-col .rt-th-apt,
.hide-apt-col .rt-td-apt {
    display: none;
}

.hide-apt-col td {
    font-size: 15.5px;
}

.hide-apt-col .rt-price-value {
    font-size: 17px;
}

.rt-table td.rt-td-price {
    text-align: right;
    font-weight: 700;
    color: #4ade80;
    font-size: 14px;
    white-space: nowrap;
}

.rt-table td.rt-td-type {
    font-size: 12.5px;
}

.rt-table td.rt-td-atype {
    text-align: center;
    font-size: 12px;
    color: var(--surface-500);
}

.rt-atype-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.rt-th-atype {
    width: 70px;
}

.rt-td-dong {
    white-space: nowrap;
    font-size: 12px;
    color: var(--surface-400);
    font-weight: 500;
    text-align: center;
}

.rt-th-dong {
    width: 60px;
}

.rt-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.rt-type-badge.sale {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

.rt-type-badge.presale {
    background: rgba(168,85,247,0.12);
    color: #c084fc;
}

.rt-type-badge.jeonse {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}

.rt-type-badge.wolse {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

.rt-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rt-badges-wrapper {
    display: flex;
    gap: 4px;
}

.rt-direct-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.rt-cancel-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.rt-high-badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.rt-highest-row {
    background: rgba(255, 215, 0, 0.04) !important;
}

.rt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.rt-more-btn {
    padding: 10px 32px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 12px;
    color: #4ade80;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rt-more-btn:hover {
    background: rgba(74,222,128,0.15);
    border-color: rgba(74,222,128,0.4);
    transform: translateY(-1px);
}

.rt-info {
    font-size: 12px;
    color: var(--surface-600);
}





