.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.no-padding-right {
  padding-right: 0px !important;
}

/** 게임볼 스타일 */
.balls {
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding-bottom: 0.1rem;
}
.balls .ball {
  align-items: center;
  background-color: #e1e4e7;
  border-radius: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-size: 14px;
  font-weight: 700;
  gap: 0;
  height: 1.5rem;
  justify-content: center;
  width: 1.5rem;
}
.balls .ball.MM {
  background-color: #f6cb35;
  color: #fff;
}
.balls .ball.PB {
  background-color: #db2e40;
  color: #fff;
}
.balls .ball.QP {
  background-color: #fff;
  color: #db2e40;
  border: 1px solid #db2e40;
}
.balls .ball.normal {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}
.required-label::after {
  content: "*";
  color: red;
}

.balls .rank {
  font-size: 12px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}
/* 1등 */
.balls .rank.st-1 {
  color: #fff;
  background-color: #FFB347;
  box-shadow: 0 0 15px #FFB347;
}
/* 2등 */
.balls .rank.st-2 {
  color: #fff;
  background-color: #B0C4DE;
  box-shadow: 0 0 15px #B0C4DE;
}
/* 3등 */
.balls .rank.st-3 {
  color: #fff;
  background-color: #CD853F;
  box-shadow: 0 0 15px #CD853F;
}

/* 4등~9등 */
.balls .rank.st-4,
.balls .rank.st-5,
.balls .rank.st-6,
.balls .rank.st-7,
.balls .rank.st-8,
.balls .rank.st-9 {
  color: #333;
  background-color: #e0e0e0;
}
/* 0등 */
.balls .rank.st-0 {
  color: #c0c0c0;
  background-color: #f8f8f8;
}

/** 메뉴 관리 modal 아이콘 크기 및 정렬 */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 1px;
  max-height: 500px;
  overflow-y: auto;
}
.icon-option {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.icon-option:hover {
  background-color: #f0f0f0;
}

/** 메뉴 관리 테이블의 컬럼 및 아이콘 크기 조정 */
.menu-table th,
.menu-table td {
  padding: 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-table .no-column {
  width: 10%;
}
.menu-table .name-column {
  width: 20%;
}
.menu-table .sortnum-column {
  width: 10%;
}
.menu-table .url-column {
  width: 30%;
}
.menu-table .icon-column {
  width: 15%;
  /* text-align: center;
  vertical-align: middle; */
}
.menu-table .icon-column svg {
  width: 20px;
  height: 20px;
}
.menu-table .action-column {
  width: 25%;
}

/** 페이지 관리 테이블의 컬럼 크기 조정 */
.page-table th,
.page-table td {
  padding: 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-table .menu-column,
.page-table .page-column {
  width: 10%;
  white-space: nowrap;
  overflow: visible;
}
.page-table .sortnum-column {
  width: 5%;
}
.page-table .url-column,
.page-table .suburl-column {
  width: 20%;
}
.page-title .no-column,
.page-table .view-column,
.page-table .list-column,
.page-table .create-column,
.page-table .update-column,
.page-table .delete-column,
.page-table .search-column,
.page-table .download-column {
  width: 3%;
}
.page-table .action-column {
  width: 9%;
}
.page-table td {
  position: relative;
}

/** 권한 관리 테이블의 컬럼 크기 조정 */
.role-table th,
.role-table td {
  padding: 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.role-table .no-column {
  width: 10%;
}
.page-table .name-column {
  width: 20%;
}
.page-table .count-column {
  width: 10%;
}
.page-table .desc-column,
.page-table .date-column {
  width: 25%;
}
.page-table .action-column {
  width: 10%;
}
.page-table td {
  position: relative;
}

.custom-badge {
  display: inline-block !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
  border-radius: 50%;
  background-color: #fd625e;
  position: relative;
  top: -0.25rem;
  right: -0.25rem;
  padding-left: 0 !important;
}

.cursor-not-allowed {
  cursor: not-allowed !important;
}

.two-step-input {
  padding: 0px !important;
  text-align: center !important;
}

.additional-info {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

#ckeditor-wrapper {
  border: none;
  border-radius: 4px;
}

#ckeditor-wrapper.is-invalid {
  border: 1px solid #fd625e;
}

#ckeditor-wrapper.is-valid {
  border: 1px solid #2ab57d;
}

body {
  --ck-z-default: 100;
  --ck-z-modal: calc( var(--ck-z-default) + 999 );
}

.thumbnail-tooltip img {
  transition: transform 0.2s ease;
}
.thumbnail-tooltip img:hover {
  transform: scale(5);
}

.user-detail {
  font-size: 18px;
  color: #555555;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 2px;
}

.user-detail:hover {
  color: #0078d4;
  transform: scale(1.2);
}

.user-detail i {
  margin: 0;
}

.dataTables_scrollBody {
  min-height: 200px; /* 최소 높이 설정 */
  position: relative; /* overflow 숨김 방지 */
}

.center-loading {
  position: absolute;
  left: 48%;
}
