/* ========================================
   Mobile Promotion Page
   ======================================== */

.promo-page-container {
  position: relative;
  left: 0;
  transition: all .3s ease;
  padding: 10px 10px 70px;
}

.promo-page-container.active-sidebar {
  left: 165px;
}

.promo-page-container .promotion-page {
  padding-bottom: 0;
}

.promo-page-container .promotion-button {
  padding: 2px 0;
  position: relative;
}

.promo-page-container .promotion-button:first-child {
  padding-top: 0;
}

.promo-page-container .promotion-img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-page-container .promotion-list-title {
  padding: 8px 10px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  background: #99D1F9;
}


/* ========================================
   Mobile Promotion Popup (Full Page)
   ======================================== */

.ngdialog-theme-default.ngdialog-promotion {
  padding: 0;
}

.ngdialog.ngdialog-theme-default.ngdialog-promotion .ngdialog-content {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
}

.ngdialog-promotion-page {
  min-height: 100vh;
  background: #009FE3;
}

.ngdialog-promotion-page .ngdialog__header {
  padding: 10px 20px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #39BAF2;
  background: #0082BA;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.ngdialog-promotion-page .ngdialog__content {
  background: #009FE3;
  padding: 15px;
}

.ngdialog-promotion-page .ngdialog__content > img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.ngdialog-promotion-page .promo-text-container {
  padding: 0;
}

.ngdialog-promotion-page .promotion-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFEA00;
  margin-bottom: 10px;
}

.ngdialog-promotion-page .promotion-desc {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
  word-break: break-word;
}

.ngdialog-promotion-page .promotion-desc img {
  max-width: 100%;
  height: auto;
}

/* 프로모션 본문 내 표 (상금표 / 지급율표) */
.ngdialog-promotion-page .promotion-desc .promo-table {
  width: 100%;
  margin: 10px 0 14px;
  border-collapse: collapse;
  white-space: normal;
  table-layout: fixed;
}

.ngdialog-promotion-page .promotion-desc .promo-table th,
.ngdialog-promotion-page .promotion-desc .promo-table td {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  word-break: break-word;
}

.ngdialog-promotion-page .promotion-desc .promo-table th {
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.ngdialog-promotion-page .promotion-desc .promo-table td {
  background: rgba(0, 0, 0, 0.12);
  font-weight: 400;
}

.ngdialog-promotion-page .promotion-desc .promo-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.2);
}

.ngdialog.ngdialog-theme-default.ngdialog-promotion .ngdialog-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ngdialog.ngdialog-theme-default.ngdialog-promotion .ngdialog-close:before {
  font-size: 30px;
  color: #fff;
}


/* ========================================
   기존 스타일 주석처리 (롤백용)
   ========================================

.promo-page-container h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
  margin-bottom: 10px;
  margin-left: 11px;
}

.promo-container {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #2D2D2D;
}

.promo-container img {
  width: 100%;
}

.promo-name-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  height: 60px;
  background: linear-gradient(180deg, #1C1D1E 0%, #111212 100%);
}

.promo-name-container .promo-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 29px;
  color: #FFFFFF;
}

.promo-name-container .promo-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  height: 40px;
  background: #0F0F0F;
  border: 1px solid #F5AA18;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}
*/
