/* ==============================
   RACE CASINO GAME GRID STYLE
============================== */

.container-fluid {
  width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.games-grid-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* 섹션 타이틀 */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-heading-title {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.section-heading-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F4C76D, #FF5D6C);
  box-shadow: 0 0 18px rgba(244, 199, 109, 0.45);
}

/* ul 기본값 제거 */
.games-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 게임 그리드 */
.games-grid.games-list-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

/* 카드 */
.game-item {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 80% 8%, rgba(244,199,109,0.18), transparent 9rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 16px 42px rgba(0,0,0,0.28);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.game-item:hover {
  transform: translateY(-5px);
  border-color: rgba(244,199,109,0.45);
  box-shadow:
    0 24px 54px rgba(0,0,0,0.42),
    0 0 0 1px rgba(244,199,109,0.08);
}

/* 이미지 감싸는 영역 */
.game-item-content {
  position: relative;
  padding: 12px;
}

/* 이미지 */
.game-item-image {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background-color: #111827;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 12px 24px rgba(0,0,0,0.22);
}

/* 이미지 위 그라데이션 */
.game-item-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.36)),
    radial-gradient(circle at 74% 16%, rgba(255,255,255,0.18), transparent 34%);
  pointer-events: none;
}

/* Play 버튼 영역 */
.game-item-action {
  position: absolute;
  inset: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0,0,0,0.46);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  backdrop-filter: blur(4px);
}

.game-item:hover .game-item-action {
  opacity: 1;
  visibility: visible;
}

/* Play 버튼 */
.game-item-action-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  box-shadow: 0 12px 28px rgba(244,199,109,0.26);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: 0.18s ease;
}

.game-item-action-play:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(244,199,109,0.36);
}

.game-item-action-play span {
  display: inline-block;
}

/* 캡션 */
.game-item-caption {
  padding: 0 12px 16px;
}

.game-item-caption-title {
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.game-item-caption-title a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.18s ease;
}

.game-item:hover .game-item-caption-title a {
  color: #FFE2A0;
}

/* 카드 상단 작은 레이싱 포인트 */
.game-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(244,199,109,0.75), transparent);
  opacity: 0.75;
}

/* 기존 maintenance 클래스가 전부 붙어 있으므로 기본적으로 비활성 스타일은 적용하지 않음 */
.game-item.maintenance {
  opacity: 1;
}

/* 실제 점검 표시가 필요할 때만 li에 is-maintenance 클래스를 추가해서 사용 */
.game-item.is-maintenance {
  opacity: 0.62;
}

.game-item.is-maintenance .game-item-image::after {
  content: attr(data-maintenance-content);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.58);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* ==============================
   RESPONSIVE
============================== */

/* 노트북 */
@media (max-width: 1200px) {
  .games-grid.games-list-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* 태블릿 */
@media (max-width: 1024px) {
  .container-fluid {
    padding-top: 34px;
  }

  .games-grid.games-list-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 모바일: 한 줄 2개 */
@media (max-width: 720px) {
  .container-fluid {
    padding: 28px 0 100px;
  }

  .games-grid-section {
    width: calc(100% - 28px);
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading-title {
    font-size: 30px;
    padding-bottom: 14px;
  }

  .games-grid.games-list-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game-item {
    border-radius: 18px;
  }

  .game-item-content {
    padding: 8px;
  }

  .game-item-image {
    border-radius: 14px;
  }

  .game-item-action {
    inset: 8px;
    border-radius: 14px;
    opacity: 1;
    visibility: visible;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 8px;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55));
    backdrop-filter: none;
  }

  .game-item-action-play {
    min-width: auto;
    height: 30px;
    padding: 0 11px;
    font-size: 11px;
  }

  .game-item-caption {
    padding: 0 8px 12px;
  }

  .game-item-caption-title {
    font-size: 13px;
    line-height: 1.3;
  }
}

/* 아주 작은 모바일도 2개 유지 */
@media (max-width: 420px) {
  .games-grid.games-list-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .game-item-content {
    padding: 7px;
  }

  .game-item-caption-title {
    font-size: 12px;
  }

  .game-item-action-play {
    height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }
}

/* ==============================
   NOTICE / BOARD LIST STYLE
============================== */

.sub-container.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 90px;
  color: #fff;
}

.min-box {
  width: 100%;
}

/* 공지사항 타이틀 */
.sub-title {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F4C76D, #FF5D6C);
  box-shadow: 0 0 18px rgba(244, 199, 109, 0.45);
}

.sub-title span {
  display: block;
  margin-top: 10px;
  color: #A7B0C0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* 테이블 전체 박스 */
.event-list {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 86% 0%, rgba(244,199,109,0.14), transparent 20rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

/* 테이블 기본 */
.event-list table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.event-list th,
.event-list td {
  vertical-align: middle;
}

/* 헤더 */
.table-thead {
  background: rgba(255,255,255,0.065);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.table-thead th {
  height: 58px;
  color: #FFE2A0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
}

/* 바디 */
.table-tbody2 tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s ease;
}

.table-tbody2 tr:last-child {
  border-bottom: 0;
}

.table-tbody2 tr:hover {
  background: rgba(244,199,109,0.07);
}

.table-tbody2 td {
  height: 62px;
  padding: 0 14px;
  color: #D8DEE9;
  font-size: 14px;
  text-align: center;
}

.table-tbody2 td p {
  margin: 0;
  color: #A7B0C0;
  font-weight: 700;
}

/* 제목 칸 */
.table-tbody2 td.left {
  text-align: left;
}

.table-tbody2 .tit {
  display: inline-block;
  max-width: 100%;
  color: #F8FAFC;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.table-tbody2 .tit:hover {
  color: #FFE2A0;
}

/* 번호 강조 */
.table-tbody2 td:first-child p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  font-size: 13px;
  font-weight: 950;
}

/* 날짜 */
.table-tbody2 td:last-child p {
  color: #8F98AA;
  font-size: 13px;
}

/* 페이징 */
.paging_box {
  display: flex;
  justify-content: center;
  padding: 24px 0 4px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li {
  display: inline-flex;
}

.page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #D7DDEA;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: 0.18s ease;
}

.pagination li.active .page-link,
.page-link:hover {
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border-color: transparent;
}

.pagination li.disabled .page-link {
  opacity: 0.42;
  pointer-events: none;
}

/* ==============================
   MOBILE RESPONSIVE
============================== */

@media (max-width: 720px) {
  .sub-container.section {
    width: calc(100% - 28px);
    padding: 28px 0 100px;
  }

  .sub-title {
    margin-bottom: 20px;
    padding-bottom: 14px;
    font-size: 30px;
  }

  .sub-title span {
    margin-top: 8px;
    font-size: 13px;
  }

  .event-list {
    border-radius: 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .event-list table,
  .event-list thead,
  .event-list tbody,
  .event-list tr,
  .event-list th,
  .event-list td {
    display: block;
    width: 100%;
  }

  .table-thead {
    display: none;
  }

  .table-tbody2 tr {
    position: relative;
    margin-bottom: 12px;
    padding: 15px 15px 14px 58px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
      radial-gradient(circle at 86% 0%, rgba(244,199,109,0.12), transparent 12rem);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.24);
  }

  .table-tbody2 tr:hover {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055)),
      radial-gradient(circle at 86% 0%, rgba(244,199,109,0.16), transparent 12rem);
  }

  .table-tbody2 td {
    height: auto;
    padding: 0;
    text-align: left;
  }

  .table-tbody2 td:first-child {
    position: absolute;
    left: 14px;
    top: 16px;
    width: auto;
  }

  .table-tbody2 td:first-child p {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .table-tbody2 td.left {
    margin-bottom: 8px;
  }

  .table-tbody2 .tit {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 14px;
    line-height: 1.45;
  }

  .table-tbody2 td:last-child p {
    font-size: 12px;
    color: #8F98AA;
  }

  .paging_box {
    padding-top: 18px;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* ==============================
   NOTICE DETAIL VIEW STYLE
   공지사항 상세 페이지 추가 CSS
============================== */

.application-style {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 86% 0%, rgba(244,199,109,0.14), transparent 20rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

.application-style dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.application-style dl:last-child {
  border-bottom: 0;
}

.application-style dt,
.application-style dd {
  min-height: 62px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.6;
}

.application-style dt {
  justify-content: center;
  color: #FFE2A0;
  font-weight: 900;
  background: rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.application-style dd {
  color: #E5EAF3;
  font-weight: 650;
  word-break: keep-all;
}

/* 내용 영역 */
.application-style dl:last-child dd {
  display: block;
  min-height: 260px;
  padding: 28px 30px;
  color: #D8DEE9;
  font-size: 15px;
  line-height: 1.9;
}

.application-style dd p {
  margin: 0;
  color: #D8DEE9;
  line-height: 1.9;
}

/* 버튼 영역 */
.form-btn-wrapper {
  margin-top: 28px;
}

.center-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border: 0;
  box-shadow: 0 14px 32px rgba(244,199,109,0.24);
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  transition: 0.18s ease;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(244,199,109,0.34);
}

.btn.primary span {
  display: inline-block;
}

.w240 {
  width: 240px;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 720px) {
  .application-style {
    border-radius: 20px;
  }

  .application-style dl {
    display: block;
  }

  .application-style dt {
    justify-content: flex-start;
    min-height: auto;
    padding: 14px 16px 8px;
    border-right: 0;
    background: transparent;
    font-size: 13px;
  }

  .application-style dd {
    min-height: auto;
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  .application-style dl:last-child dd {
    min-height: 220px;
    padding: 8px 16px 24px;
    font-size: 14px;
    line-height: 1.85;
  }

  .form-btn-wrapper {
    margin-top: 22px;
  }

  .btn.primary {
    width: 100%;
    height: 50px;
    font-size: 14px;
  }

  .w240 {
    width: 100%;
  }
}
/* ==============================
   DEPOSIT PAGE STYLE
   입금신청 / 입금내역 추가 CSS
============================== */

:root {
  --main02: #F4C76D;
}

/* 안내 박스 */
.notandum-box {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 92% 0%, rgba(244,199,109,0.16), transparent 18rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 16px 42px rgba(0,0,0,0.28);
}

.notandum-box .tit {
  position: relative;
  margin: 0 0 14px;
  padding-left: 15px;
  color: #FFE2A0;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.notandum-box .tit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F4C76D, #FF5D6C);
  box-shadow: 0 0 14px rgba(244,199,109,0.45);
}

.notandum-box .txt {
  color: #C8D0DF;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 650;
}

/* 입금 신청 폼 박스 */
.application-style {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 86% 0%, rgba(244,199,109,0.14), transparent 20rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

.application-style dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px minmax(0, 1fr);
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.application-style dl:last-child {
  border-bottom: 0;
}

/* 한 줄에 dt/dd 하나만 있는 경우 dd가 끝까지 차지 */
.application-style dl > dd:nth-child(2):last-child {
  grid-column: 2 / -1;
}

.application-style dt,
.application-style dd {
  min-height: 68px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 20px;
  font-size: 15px;
}

.application-style dt {
  justify-content: center;
  color: #FFE2A0;
  font-weight: 900;
  background: rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.application-style dd {
  gap: 12px;
  color: #E5EAF3;
  font-weight: 650;
  flex-wrap: wrap;
}

.application-style dd + dt {
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* 입력창 */
.application-style input[type="text"],
.application-style input[type="password"],
.application-style input[type="number"] {
  width: min(260px, 100%);
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.12);
  outline: none;
  font-size: 15px;
  font-weight: 750;
  transition: 0.18s ease;
}

.application-style input:focus {
  border-color: rgba(244,199,109,0.62);
  box-shadow: 0 0 0 4px rgba(244,199,109,0.08);
}

.application-style input[readonly] {
  color: #A7B0C0;
  background: rgba(255,255,255,0.055);
  cursor: default;
}

/* 입금계좌 안내 */
.bank_req {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #C8D0DF;
  font-size: 13px;
  line-height: 1.5;
}

.bank_req b {
  color: #FFE2A0;
}

.white {
  color: #DDE3EF;
}

.hide {
  display: none !important;
}

.mt15 {
  margin-top: 15px;
}

.font10 {
  font-size: 12px;
}

/* 버튼 공통 보정 */
.application-style .btn,
.form-btn-wrapper .btn {
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

/* 입금계좌문의 버튼 */
.btn.w143,
.btn.sh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 143px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  box-shadow: 0 12px 28px rgba(244,199,109,0.22);
  font-size: 13px;
  font-weight: 950;
  transition: 0.18s ease;
}

.btn.w143:hover,
.btn.sh:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(244,199,109,0.32);
}

/* 금액 버튼 묶음 */
.btn-all {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn_plus,
.btn_reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #DDE3EF;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.11);
  font-size: 13px;
  font-weight: 850;
  transition: 0.18s ease;
}

.btn_plus:hover {
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border-color: transparent;
}

.btn_reset {
  color: #fff;
  background: rgba(255,93,108,0.22);
  border-color: rgba(255,93,108,0.32);
}

.btn_reset:hover {
  background: rgba(255,93,108,0.38);
}

/* 신청 버튼 */
.form-btn-wrapper {
  margin-top: 28px;
}

.center-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border: 0;
  box-shadow: 0 14px 32px rgba(244,199,109,0.24);
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  transition: 0.18s ease;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(244,199,109,0.34);
}

.w240 {
  width: 240px;
}

/* 입금내역 제목 */
.min-box h2 {
  margin: 34px 0 16px !important;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

/* 입금내역 테이블 */
.deposit-history {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 86% 0%, rgba(244,199,109,0.12), transparent 18rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

.deposit-history table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.deposit-history th,
.deposit-history td {
  vertical-align: middle;
}

.deposit-history .table-thead {
  background: rgba(255,255,255,0.065);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.deposit-history .table-thead th {
  height: 58px;
  color: #FFE2A0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.deposit-history .table-tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s ease;
}

.deposit-history .table-tbody tr:last-child {
  border-bottom: 0;
}

.deposit-history .table-tbody tr:hover {
  background: rgba(244,199,109,0.07);
}

.deposit-history .table-tbody td {
  height: 58px;
  padding: 0 12px;
  color: #D8DEE9;
  font-size: 14px;
  text-align: center;
}

.deposit-history .table-tbody td p {
  margin: 0;
}

/* 내역 없을 때 빈 공간 */
.deposit-history .table-tbody:empty::after {
  content: "입금 신청 내역이 없습니다.";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  color: #8F98AA;
  font-size: 14px;
  font-weight: 700;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 720px) {
  .notandum-box {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 20px;
  }

  .notandum-box .tit {
    font-size: 17px;
  }

  .notandum-box .txt {
    font-size: 13px;
    line-height: 1.75;
  }

  .application-style {
    border-radius: 20px;
  }

  .application-style dl {
    display: block;
  }

  .application-style dt {
    justify-content: flex-start;
    min-height: auto;
    padding: 14px 16px 8px;
    border-right: 0;
    border-left: 0 !important;
    background: transparent;
    font-size: 13px;
  }

  .application-style dd {
    min-height: auto;
    padding: 0 16px 16px;
    font-size: 14px;
    gap: 10px;
  }

  .application-style input[type="text"],
  .application-style input[type="password"],
  .application-style input[type="number"] {
    width: 100%;
    height: 46px;
  }

  .bank_req {
    width: 100%;
    font-size: 12px;
  }

  .btn.w143,
  .btn.sh {
    width: 100%;
    height: 44px;
  }

  .btn-all {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .btn_plus,
  .btn_reset {
    min-width: 0;
    width: 100%;
    height: 36px;
    padding: 0 6px;
    font-size: 12px;
  }

  .form-btn-wrapper {
    margin-top: 22px;
  }

  .btn.primary,
  .w240 {
    width: 100%;
    height: 50px;
  }

  .min-box h2 {
    margin: 30px 0 14px !important;
    font-size: 23px;
  }

  .deposit-history {
    border-radius: 20px;
    overflow-x: auto;
  }

  .deposit-history table {
    min-width: 680px;
  }

  .deposit-history .table-thead th {
    height: 52px;
    font-size: 13px;
  }

  .deposit-history .table-tbody td {
    height: 54px;
    font-size: 13px;
  }
}

/* 아주 작은 모바일 */
@media (max-width: 420px) {
  .btn-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==============================
   QNA LIST STYLE
   문의함 / 문의내역 추가 CSS
============================== */

/* 문의내역 소제목 */
.sub-title2 {
  position: relative;
  margin: 34px 0 18px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sub-title2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F4C76D, #FF5D6C);
  box-shadow: 0 0 16px rgba(244,199,109,0.4);
}

.sub-title2 span {
  display: block;
  margin-top: 8px;
  color: #A7B0C0;
  font-size: 14px;
  font-weight: 700;
}

/* 문의 리스트 박스 */
.qna-list {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
    radial-gradient(circle at 86% 0%, rgba(244,199,109,0.14), transparent 20rem);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

/* 테이블 */
.qna-list table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.qna-list th,
.qna-list td {
  vertical-align: middle;
}

.qna-list .table-thead {
  background: rgba(255,255,255,0.065);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.qna-list .table-thead th {
  height: 58px;
  color: #FFE2A0;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
}

.qna-list .table-tbody2 tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s ease;
}

.qna-list .table-tbody2 tr:last-child {
  border-bottom: 0;
}

.qna-list .table-tbody2 tr:hover {
  background: rgba(244,199,109,0.07);
}

.qna-list .table-tbody2 td {
  height: 62px;
  padding: 0 12px;
  color: #D8DEE9;
  font-size: 14px;
  text-align: center;
}

.qna-list .table-tbody2 td p {
  margin: 0;
}

/* 제목 링크 */
.qna-list .tit,
.qna-list td a {
  color: #F8FAFC;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.18s ease;
}

.qna-list td a:hover {
  color: #FFE2A0;
}

/* 데이터 없음 */
.tb_empty {
  padding: 42px 20px;
  color: #8F98AA;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* 하단 버튼 영역 */
.btn-box {
  padding: 22px 24px 24px;
}

.text-right {
  text-align: right;
}

.mt10 {
  margin-top: 10px;
}

/* 1:1문의 버튼 */
.orange-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border: 0;
  box-shadow: 0 14px 32px rgba(244,199,109,0.24);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: 0.18s ease;
}

.orange-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(244,199,109,0.34);
}

.text-center {
  text-align: center;
}

/* 페이징은 기존 공지사항 pagination CSS와 공유 가능 */
.qna-list .paging_box {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.qna-list .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.qna-list .page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #D7DDEA;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: 0.18s ease;
}

.qna-list .pagination li.active .page-link,
.qna-list .page-link:hover {
  color: #15100A;
  background: linear-gradient(135deg, #F4C76D, #FFE2A0);
  border-color: transparent;
}

.qna-list .pagination li.disabled .page-link {
  opacity: 0.42;
  pointer-events: none;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 720px) {
  .sub-title2 {
    margin: 28px 0 16px;
    font-size: 23px;
  }

  .qna-list {
    border-radius: 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .qna-list table,
  .qna-list thead,
  .qna-list tbody,
  .qna-list tr,
  .qna-list th,
  .qna-list td {
    display: block;
    width: 100%;
  }

  .qna-list .table-thead {
    display: none;
  }

  .qna-list .table-tbody2 tr {
    position: relative;
    margin-bottom: 12px;
    padding: 15px 15px 14px 58px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045)),
      radial-gradient(circle at 86% 0%, rgba(244,199,109,0.12), transparent 12rem);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.24);
  }

  .qna-list .table-tbody2 td {
    height: auto;
    padding: 0;
    text-align: left;
    color: #D8DEE9;
    font-size: 13px;
  }

  /* 번호 */
  .qna-list .table-tbody2 td:nth-child(1) {
    position: absolute;
    left: 14px;
    top: 16px;
    width: auto;
  }

  .qna-list .table-tbody2 td:nth-child(1)::before {
    display: none;
  }

  .qna-list .table-tbody2 td:nth-child(1) p,
  .qna-list .table-tbody2 td:nth-child(1) {
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #15100A;
    background: linear-gradient(135deg, #F4C76D, #FFE2A0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
  }

  /* 모바일 라벨 */
  .qna-list .table-tbody2 td:nth-child(2)::before {
    content: "제목";
  }

  .qna-list .table-tbody2 td:nth-child(3)::before {
    content: "작성일";
  }

  .qna-list .table-tbody2 td:nth-child(4)::before {
    content: "상태";
  }

  .qna-list .table-tbody2 td:nth-child(5)::before {
    content: "읽음";
  }

  .qna-list .table-tbody2 td:nth-child(6)::before {
    content: "삭제";
  }

  .qna-list .table-tbody2 td:not(:first-child)::before {
    display: inline-block;
    min-width: 54px;
    margin-right: 8px;
    color: #FFE2A0;
    font-size: 12px;
    font-weight: 900;
  }

  .qna-list .table-tbody2 td:nth-child(2) {
    margin-bottom: 8px;
  }

  .qna-list .table-tbody2 td:nth-child(2) a {
    display: block;
    margin-top: 2px;
    color: #F8FAFC;
    font-size: 14px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .qna-list .paging_box {
    padding-top: 16px;
  }

  .btn-box {
    padding: 18px 0 0;
  }

  .text-right {
    text-align: center;
  }

  .orange-btn {
    width: 100%;
    height: 50px;
    font-size: 14px;
  }
}
