@charset "UTF-8";
/* ===============================
    movie_reser.scss
   =============================== */
/* Reset 및 공통 폰트 */
/* 폰트 */
/* 노토 산스 kr */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Noto+Sans+KR:wght@100..900&display=swap');

/* 나눔고딕 */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nanum+Gothic&family=Noto+Sans+KR:wght@100..900&display=swap');

/* 안톤  */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

@media (min-width:1024px){
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #333;
  font-family: "Noto sans kr";
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  text-decoration: none;
}

.category {
  width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}



/* 공통 컨테이너 (예: reservation.php) */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

h1 {
  text-align: center;
  margin: 20px 0;
  font-size: 2rem;
  color: #333;
}

h2,
h3 {
  margin-bottom: 10px;
}

/* ==============================
   스크롤바 공통커스텀: scroll-list, .option-list
   ============================== */
.scroll-list::-webkit-scrollbar,
.option-list::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background: #fff;
}

.scroll-list::-webkit-scrollbar-track,
.option-list::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 10px;
}

.scroll-list::-webkit-scrollbar-thumb,
.option-list::-webkit-scrollbar-thumb {
  background-color: #634E14;
  border-radius: 10px;
  border: 2px solid #fff;
}

.scroll-list::-webkit-scrollbar-button,
.option-list::-webkit-scrollbar-button {
  background-color: transparent;
  border: none;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
}

.scroll-list::-webkit-scrollbar-button:vertical:decrement,
.option-list::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><polygon points='8,4 12,10 4,10' fill='%23634E14'/></svg>");
}

.scroll-list::-webkit-scrollbar-button:vertical:increment,
.option-list::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><polygon points='4,6 12,6 8,12' fill='%23634E14'/></svg>");
}

.scroll-list::-webkit-scrollbar-corner,
.option-list::-webkit-scrollbar-corner {
  background-color: #fff;
}

/* =========================================
   [reservation.php] 전용 스타일
   ========================================= */
/* 영화 선택 (슬라이더) */
.movie-selection {
  text-align: center;
  margin-bottom: 40px;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  cursor: grab;
}

.slider button {
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  width: 40px;
  height: 40px;
}
.slider button:hover {
  color: #634E14;
}

.slider-window {
  width: 572px;
  height: 264px;
  overflow: hidden;
  margin: 0 10px;
  position: relative;
}

.poster-list {
  position: absolute;
  top: 0;
  left: 0;
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.poster-list li {
  width: 183px;
  height: 264px;
  margin-right: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #fff;
  flex-shrink: 0;
}
.poster-list li.selected {
  border-color: #e7131a;
}
.poster-list li img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}


/* 선택영역(날짜/시간, 지역, 스페셜관) */
.selection-area {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.selection-box {
  width: 30%;
  background: #080808;
  color: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
}
.selection-box h3 {
  margin-top: 0;
}

.selected-display {
  margin-top: 10px;
  font-weight: bold;
}

/* 달력에서 선택된 날짜 스타일 */
#calendar-grid .selected-date {
  background-color: red !important;
  color: white !important;
  border-radius: 50%;
}

/* scroll-list */
.scroll-list {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #fff;
  margin-top: 5px;
}
.scroll-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scroll-list li {
  margin-bottom: 5px;
  cursor: pointer;
  padding: 3px 5px;
  color: #333;
}
.scroll-list li:hover {
  background: #f0f0f0;
}

/* 지역/스페셜관 선택 */
.selected-region {
  background-color: #e7131a;
  color: #ffffff !important;
}

.selected-special {
  background-color: #e7131a;
  color: #ffffff !important;
}

/* 날짜/시간 선택 (캘린더) */
#calendar-container {
  text-align: center;
  margin-top: 10px;
  background: #20202020;
  padding: 20px;
  border-radius: 10px;
}
#calendar-container #calendar-year {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}
#calendar-container #calendar-month {
  margin-bottom: 10px;
}
#calendar-container #calendar-month button {
  cursor: pointer;
  font-size: 16px;
  margin: 0 10px;
  color: #fff;
  background: none;
  border: none;
}
#calendar-container #calendar-month button:hover {
  color: #634E14;
}
#calendar-container #calendar-month #calendar-month-name {
  color: #fff;
}
#calendar-container #calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}
#calendar-container #calendar-grid .weekday {
  font-weight: bold;
  padding: 5px;
  color: #fff;
}
#calendar-container #calendar-grid .day {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}
#calendar-container #calendar-grid .day.today {
  background-color: #634E14;
  color: #fff;
  border-radius: 50%;
}
#calendar-container #calendar-grid .day.disabled {
  color: #aaa;
  cursor: default;
}

/* 검색창 */
#regionSearch,
#specialSearch {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  background: #634E14;
  color: #fff;
  font-size: 1rem;
}
#regionSearch::-moz-placeholder, #specialSearch::-moz-placeholder {
  color: #20202020;
}
#regionSearch::placeholder,
#specialSearch::placeholder {
  color: #fff;
}
#regionSearch:focus,
#specialSearch:focus {
  outline: 2px solid #634E14;
}

/* 예매하기, 초기화 버튼 */
.button-area {
  text-align: center;
  margin-top: 20px;
}

#bookingBtn,
#resetBtn {
  margin: 0 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
}
#bookingBtn:hover,
#resetBtn:hover {
  opacity: 0.8;
}

#bookingBtn {
  background: #e7131a;
  color: #fff;
}

#resetBtn {
  background: #757575;
  color: #fff;
}

/* 팝업(모달) 영역 */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup {
  background: #333;
  color: #fff;
  padding: 20px;
  width: 320px;
  border-radius: 10px;
  text-align: center;
}
.popup h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.popup .time-modal-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.popup .time-modal-container .time-picker {
  position: relative;
  width: 120px;
  text-align: center;
}
.popup .time-modal-container .time-picker h5 {
  margin-bottom: 5px;
  font-size: 1rem;
  color: #fff;
}
.popup .time-modal-container .time-picker .display-box {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  background: #fff;
  color: #333;
  text-align: center;
}
.popup .time-modal-container .time-picker .option-list {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  display: none;
  z-index: 1000;
}
.popup .time-modal-container .time-picker .option-list .option {
  padding: 8px;
  cursor: pointer;
  text-align: center;
  color: #333;
}
.popup .time-modal-container .time-picker .option-list .option:hover {
  background-color: #f0f0f0;
}
.popup .time-modal-container .time-picker .option-list .option.selected {
  background-color: #ddd;
}
.popup #timeConfirmBtn {
  background: #e7131a;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 1rem;
  cursor: pointer;
}
.popup #timeConfirmBtn:hover {
  opacity: 0.8;
}

/* =========================================
   [payment.php] 전용 스타일
   ========================================= */
.main-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* 
   가운데 정렬을 위해 추가:
   .payment-wrapper를 가로 중앙 정렬
*/
.payment-wrapper {
  width: 700px;
  height: 700px;
  margin: 0 auto; /* 추가: 가로 중앙 정렬 */
  border: 1px solid #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
  margin-bottom: 60px;
}
.payment-wrapper .info-section,
.payment-wrapper .coupon-section,
.payment-wrapper .paymethod-section,
.payment-wrapper .accumulate-section,
.payment-wrapper .amount-section {
  margin-bottom: 35px;
}
.payment-wrapper .movie-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  font-weight: normal;
}
.payment-wrapper .movie-value {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}
.payment-wrapper .info-row {
  display: flex;
  gap: 88px;
  margin-top: 20px;
}
.payment-wrapper .info-row .info-col p.label {
  font-size: 16px;
  font-weight: normal;
  color: #333;
  margin-bottom: 5px;
}
.payment-wrapper .info-row .info-col p.value {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}
.payment-wrapper .coupon-section label.coupon-lb {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}
.payment-wrapper .coupon-section select {
  padding: 5px;
}
.payment-wrapper .paymethod-section label {
  font-size: 16px;
  margin-right: 10px;
}
.payment-wrapper .paymethod-section input[type=radio] {
  margin-right: 5px;
  transform: scale(1.1);
}
.payment-wrapper .accumulate-section label {
  font-size: 16px;
  margin-right: 10px;
}
.payment-wrapper .accumulate-section input[type=checkbox] {
  margin-right: 5px;
  transform: scale(1.1);
}
.payment-wrapper .amount-section {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-wrapper .amount-section .amount-left {
  display: flex;
  align-items: flex-end;
}
.payment-wrapper .amount-section .amount-left .amount-title {
  font-size: 20px;
  font-weight: bold;
  margin-right: 30px;
}
.payment-wrapper .amount-section .amount-left .amount-detail {
  display: flex;
  align-items: flex-end;
}
.payment-wrapper .amount-section .amount-left .amount-detail .label-group {
  text-align: center;
  margin-right: 10px;
}
.payment-wrapper .amount-section .amount-left .amount-detail .label-group p.top-label {
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
}
.payment-wrapper .amount-section .amount-left .amount-detail .label-group p.num {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}
.payment-wrapper .amount-section .amount-left .amount-detail .symbol {
  font-size: 16px;
  color: #333;
  margin: 0 10px;
}
.payment-wrapper .amount-section .pay-button {
  background: #e7131a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}
.payment-wrapper .amount-section .pay-button:hover {
  opacity: 0.8;
}

/* =========================================
   [reservation_check.php] 전용 스타일
   ========================================= */
.ticket-container {
  width: 607px;
  height: 679px;
  margin: 0 auto; /* 추가: 가로 중앙 정렬 */
  background: #333;
  color: #fff;
  border-radius: 20px;
  position: relative;
  padding: 48px 84px;
  box-sizing: border-box;
  margin-bottom: 60px;
}
.ticket-container .ticket-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 45px;
}
.ticket-container .ticket-id {
  position: absolute;
  top: 48px;
  right: 242px;
  font-size: 14px;
}
.ticket-container .poster-info-row {
  display: flex;
  gap: 45px;
  margin-bottom: 45px;
}
.ticket-container .poster-info-row .poster-wrap {
  width: 151px;
  height: 217px;
  border: 1px solid #fff;
  overflow: hidden;
}
.ticket-container .poster-info-row .poster-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.ticket-container .poster-info-row .info-list {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 44px;
}
.ticket-container .poster-info-row .info-list .info-row {
  font-size: 16px;
}
.ticket-container .poster-info-row .info-list .info-row .label {
  color: #aaa;
}
.ticket-container .poster-info-row .info-list .info-row .value {
  margin-left: 5px;
  color: #fff;
}
.ticket-container .mobile-section {
  display: flex;
  gap: 36px;
  margin-bottom: 45px;
}
.ticket-container .mobile-section .mobile-left {
  text-align: center;
}
.ticket-container .mobile-section .mobile-left .mobile-label {
  font-size: 13px;
  margin-bottom: 10px;
}
.ticket-container .mobile-section .mobile-left .qr-wrap img {
  width: 106px;
  height: 106px;
}
.ticket-container .mobile-section .notice-box {
  width: 269px;
  height: 107px;
  background: #f5f5f5;
  border-radius: 5px;
  color: #333;
  padding: 8px;
  font-size: 11px;
  box-sizing: border-box;
  margin-top: 29px;
}
.ticket-container .mobile-section .notice-box .notice-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.ticket-container .button-area {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.ticket-container .button-area .btn {
  width: 141px;
  height: 37px;
  font-size: 14px;
  border-radius: 18.5px;
  cursor: pointer;
  outline: none;
  border: none;
}
.ticket-container .button-area .btn.btn-gray {
  background: #aaa;
  color: #fff;
}
.ticket-container .button-area .btn.btn-change {
  background: #e7131a;
  color: #fff;
}

/* =========================================
   [now_showing.php] 전용 스타일
   ========================================= */


  /* 상단 배너 슬라이드 영역 */
#top-banner {
  width: 100%;
  height: 600px; /* 원하는 배너 높이 (필요에 따라 수정) */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #000; /* 배경색 추가 (화살표 대비) */
}

.mslide-banner ul {
  display: flex;
  width: 300%; /* 이미지 3개에 대해 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.mslide-banner ul li {
  width: 100%;
}

.mslide-banner ul li img {
  width: 100%;
  height: 600px; /* 배너 높이에 맞춤 */
  object-fit: cover;
  display: block;
}

/* 화살표 (폰트어썸 아이콘) */
.mslide-banner i.fa-solid {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 15px 10px;
  cursor: pointer;
  z-index: 999;
}
.mslide-banner i.fa-angle-left {
  left: 20px;
}
.mslide-banner i.fa-angle-right {
  right: 20px;
}

/* showing 슬라이드 */
#showing {
  margin-top: 50px;
}

#showing h2 {
  font-size: var(--text-size20, 20px);
  font-weight: bold;
  font-family: var(--text_style, "Noto Sans KR"), sans-serif;
  margin-bottom: 20px;
  text-align: center;
}

#showing .showing-track {
  width: 1200px;
  height: 600px;
  position: relative;
  overflow: visible;
  margin: 0 auto 20px auto;
}

#showing .slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center bottom;
  transition: all 0.6s ease;
  opacity: 0;
  z-index: 1;
}

#showing .slide.center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 5;
}

#showing .slide.left1 {
  transform: translate(-130%, -50%) scale(0.8);
  opacity: 1;
  z-index: 4;
}

#showing .slide.left2 {
  transform: translate(-230%, -50%) scale(0.6);
  opacity: 1;
  z-index: 3;
}

#showing .slide.right1 {
  transform: translate(30%, -50%) scale(0.8);
  opacity: 1;
  z-index: 4;
}

#showing .slide.right2 {
  transform: translate(130%, -50%) scale(0.6);
  opacity: 1;
  z-index: 3;
}

#showing .slide.center img {
  width: 400px;
  height: 570px;
}
#showing .slide.left1 img,
#showing .slide.right1 img {
  width: 317px;
  height: 451px;
}
#showing .slide.left2 img,
#showing .slide.right2 img {
  width: 230px;
  height: 327px;
}

#showing .slide-control {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#showing .slide-control .bar {
  width: 50px;
  height: 5px;
  background: var(--sub_color2, #757575);
  cursor: pointer;
  border-radius: 2px;
  transition: 0.3s;
}
#showing .slide-control .bar.active {
  background: var(--sub_color1, #634E14);
}


/* ===== 롯시픽 무비 & 아르떼 무비 그리드 공통 스타일 ===== */
.movie-section {
  width: 1200px;
  margin: 0 auto;
  margin-top: 144px;
  margin-bottom: 144px;  /* 섹션 간격 */
}

.movie-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

/* 스크롤 박스를 위한 포스터 그리드 */
.poster-grid {
  display: grid;
  /* 
     5칸씩 2줄을 기본으로 보여주고, 나머지는 스크롤로 볼 수 있게 할 수도 있음
     repeat(5, 1fr) => 5개 열, 높이는 자동
  */
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;

  /* 여기서 높이를 줄여 10개 정도만 딱 보이게 조절 */
  max-height: 500px;       /* 필요에 따라 조절 (가령 2~2.5줄 정도 높이) */
  overflow-y: auto;        /* 세로 스크롤 생성 */

  /* 배경색이나 스크롤바 커스텀을 원한다면 추가 가능 */
  /* background: #fafafa; */
  /* scrollbar-color, ::-webkit-scrollbar 등 */
}

.poster-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;  /* 포스터가 잘리지 않게 보정 */
  border: 2px solid #fff; /* 테두리(선택사항) */
  transition: transform 0.3s;
}

.poster-grid img:hover {
  transform: scale(1.05);
}



.movie-section::-webkit-scrollbar-thumb,
.option-list::-webkit-scrollbar-thumb {
  background-color: #634E14;
}

}

