.table_scrollable {
	width: 100%; 
    padding:0;
	margin:0;
	white-space: nowrap !important;
	border-collapse: collapse;
    overflow-x: scroll; 
	border: 0px solid #000;
/*	background: #fff; */
    scroll-snap-type: x mandatory; /* 강제 스크롤 활성화 */
    overscroll-behavior-x: contain; /* 부모 스크롤 차단 방지 */
  /* Android 13+ 대응 */
  scrollbar-width: none; /* Firefox 대응 */
  &::-webkit-scrollbar { display: none; } /* Chrome/Safari */
}
.table_scrollable::-webkit-scrollbar {
  scrollbar-width: thin;
}
 
.table_scrollable::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 10px;
}
 
.table_scrollable::-webkit-scrollbar-thumb {
  background: #c2c2c2; 
  border-radius: 10px;
}

/* 1. WebKit 기반 브라우저 (Chrome, Safari, Edge 등) */
.table_scrollable::-webkit-scrollbar {
/* 스크롤바의 너비(세로 스크롤) 또는 높이(가로 스크롤) 설정 */
width: 12px;
height: 12px;
}

/* 스크롤바 트랙 (스크롤 막대가 이동하는 배경) */
.table_scrollable::-webkit-scrollbar-track {
/* 트랙 색상 설정 */
background: #f1f1f1;
/* 트랙의 둥근 모서리 설정 (선택 사항) */
border-radius: 10px;
}

/* 스크롤바 썸(Thumb, 드래그 가능한 이동 막대) */
.table_scrollable::-webkit-scrollbar-thumb {
/* 썸 색상 설정 */
background: #888;
/* 썸의 둥근 모서리 설정 */
border-radius: 10px;
/* 썸 주변 테두리 설정 (선택 사항, 트랙과의 구분을 위해) */
border: 3px solid #f1f1f1;
}

/* 썸에 마우스를 올렸을 때의 색상 */
.table_scrollable::-webkit-scrollbar-thumb:hover {
background: #555;
}

/* 2. Firefox 브라우저를 위한 표준 속성 */
/* scrollbar-color: [thumb 색상] [track 색상]; */
.table_scrollable {
/* 스크롤바의 색상 설정 */
scrollbar-color: #888 #f1f1f1;
/* 스크롤바의 너비 설정: 'auto', 'thin', 'none' 중 선택 */
scrollbar-width: thin; /* 또는 얇게 하려면 'thin' */

/* 스크롤 가능하도록 overflow 속성 설정 */
overflow: auto;
}

.rtable {
	float : center;
/*		table-layout:fixed;
	display: inline-block; */
	vertical-align: top;
	max-width: 100%;
	overflow-x : auto;
  // optional - looks better for small cell values
 	white-space: nowrap;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom : 12px;
/*	margin-top:-15px; */
}

.rtable,
.rtable--flip tbody {
  // optional - enable iOS momentum scrolling
  -webkit-overflow-scrolling: touch;
  
  // scrolling shadows
  background: radial-gradient(left, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 55%) 0 center,
	radial-gradient(right, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

// change these gradients from white to your background colour if it differs
// gradient on the first cells to hide the left shadow
.rtable td:first-child,
.rtable--flip tbody tr:first-child {
  background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

// gradient on the last cells to hide the right shadow
.rtable td:last-child,
.rtable--flip tbody tr:last-child {
  background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}

.rtable thead {
        font-weight:bold; 
        background-color: #e8f6f5;
}

.rtable th {
	font-weight: normal;
	text-align: center;
/*  text-transform: uppercase; d1f1ce  .rtable td:first-child*/
	background-color: #e8f6f5;
}

.rtable th, .rtable td {
	font-size: 0.95em; 
	padding: 3px 3px;
	border: 1px solid #d9d7ce;
	padding : 5px;
}

.rtable--flip {
  display: flex;
  overflow: hidden;
  background: none;
}

.rtable--flip thead {
  display: flex;
  flex-shrink: 0;
  text-align: center;
  min-width: min-content;
}

.rtable--flip tbody {
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
}

.rtable--flip tr {
  display: flex;
  flex-direction: column;
  min-width: min-content;
  flex-shrink: 0;
}

.rtable--flip td,
.rtable--flip th {
/*  display: block; */
	vertical-align: middle;
}

.rtable--flip td {
  background-image: none !important;
  // border-collapse is no longer active
  border-left: 0;
}

// border-collapse is no longer active
.rtable--flip th:not(:last-child),
.rtable--flip td:not(:last-child) {
  border-bottom: 0;
}

