@charset "UTF-8";
/******************************************************************
  Theme Name: AllMovie
  Description: Movie Site
  Author: 전성환, 신재화, 손다솔
  Author URI: https://github.com/AllMovieProject/AllMovieProject
******************************************************************/

/*------------------------------------------------------------------
[Table of contents]

1.  Booking CSS
  1.1 Variables
  1.2 Mixins
  1.3 Flexbox
  1.4 Reset
2.  Seat Css
3.  Payment Section
-------------------------------------------------------------------*/

/*---------------------
  Booking CSS
-----------------------*/
#bookingMain {
	margin-top: 50px;
}

.booking_row {
	background-color: white;
	width: 100%;
	height: 600px;
	border-style: solid;
	border-width: 1px;
	border-color: gray;
}

.booking_date {
	height: 8%;
	background-color: #ffffff;
}

.saturday {
	color: blue;
}

.sunday {
	color: red;
}

.booking_header {
	height: 10%;
	background-color: #ffffff;
}

.booking_bottom {
	height: 80%;
	display: flex;
	background-color: #ffffff;
}

.booking_movie {
	width: 25%;
	overflow-y: auto;
}

.booking_rating {
	width: 20px;
	height: 20px;
	margin-bottom: 5px;
}

.theater_region {
	width: 12%;
	color: black;
}

.theater_name {
	width: 13%;
	overflow-y: auto;
}

.booking_schedule {
	width: 50%;
	overflow-y: auto;
}

.booking_data {
	cursor: pointer;
}

.disable_data {
  color: #9a9a9a;
  cursor: not-allowed;
  pointer-events: none;
}

.booking_data:hover, .pageBtn:hover {
	background-color: #e0e0e0;
}

.pageBtn {
	cursor: pointer;
}

.v-line {
	border-left: thin solid #ddd;
	height: 480px;
}

.schedule_wrap {
  border-top: 1px solid #e5e5e5;
}

.schedule_row {
  display: flex;
  align-items: center;
  padding: 20px 16px;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.schedule_row:hover {
  background-color: #f8f9fa;
}

.time {
  width: 160px;
  font-size: 20px;
}

.time span {
  font-size: 16px;
  color: #777;
}

.movie_info {
  flex: 1;
}

.movie_info .title {
  font-weight: 600;
  margin-bottom: 4px;
}

.movie_info .type {
  font-size: 14px;
  color: #888;
}

.theater_info {
  width: 120px;
  text-align: center;
  color: #444;
}

.seat_count {
  width: 100px;
  text-align: right;
  font-size: 16px;
}

.seat_count .remain {
  color: #2563eb; /* 파란 숫자 */
  font-weight: 600;
}

.seat_count .total {
  color: #777;
}
/*---------------------
  Seat CSS
-----------------------*/
.seat_row {
	background-color: white;
	width: 100%;
	height: 600px;
	border-style: solid;
	border-width: 1px;
	border-color: gray;
	position: relative;
}

.seat_info {
	position: absolute;
	top: 5%;
	left: 7%;
}

.seat_count {
	padding: 20px 10px;
	font-family: sans-serif;
}

.people-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	margin-top: 10px;
	margin-left: 15px;
}

.people-header h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
}

.reset-btn {
	border: 1px solid #ccc;
	background: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	margin-right: 10px;
}

.people-box {
	border: 1px solid #ddd;
	background: #f7f7f7;
	padding: 10px;
	display: flex;
	gap: 40px;
	margin-left: 15px;
	width: 570px;
}

.people-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.label {
	font-size: 12px;
	font-weight: 600;
}

.counter {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.counter button {
	width: 36px;
	height: 36px;
	border: none;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
}

.counter button+.count, .count+button {
	border-left: 1px solid #ccc;
}

.count {
	width: 40px;
	text-align: center;
	font-size: 16px;
}

.screen-wrap {
	width: 420px;
	margin: 20px auto 0px;
	text-align: center;
	position: relative;
}

.screen-curve {
	height: 20px;
	border-top: 4px solid #cfcfcf;
	border-radius: 0 0 300px 300px;
}

.screen-text {
	margin-top: -18px;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 2px;
	color: #444;
	background: #fff;
	display: inline-block;
	padding: 0 12px;
}

.seat_show {
	margin-top: 1px;
}

.available_seat {
	width: 25px;
	height: 25px;
	background-color: #d1cfcf;
	border-radius: 5px;
	margin: 5px 7px;
	cursor: pointer;
}

.available_seat.selected_seat {
	background-color: #7a5cff;
}

.available_seat:hover {
	background-color: #7a5cff;
}

.booked_seat {
	width: 25px;
	height: 25px;
	margin: 5px 7px;
	border-radius: 5px;
	background-color: #b5b5b5;
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: not-allowed;
	opacity: 0.7;
}

.booking_info {
	width: 320px;
	background: #2f2f2f;
	color: #fff;
	border-radius: 10px;
	overflow: hidden;
	margin: 20px auto;
	position: absolute;
	top: 1%;
	left: 64%;
}

.movie-header {
	display: flex;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #444;
}

.movie-title .title {
	font-size: 16px;
	font-weight: bold;
}

.movie-title .type {
	font-size: 13px;
	color: #ccc;
}

.movie-body {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #444;
}

.movie-info {
	font-size: 13px;
	line-height: 1.6;
}

.movie-info .time {
	margin-top: 6px;
}

.poster img {
	width: 90px;
	border-radius: 6px;
}

.seat-area {
	display: flex;
	padding: 15px;
	gap: 10px;
	margin-left: 55px;
}

.seat-guide {
	font-size: 12px;
	line-height: 1.8;
}

.box {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: middle;
}

.box.select {
	background: #7a5cff;
}

.box.reserved {
	background: #d1cfcf;
	text-align: center;
}

.box.disabled {
	background: #999;
}

.box.normal {
	background: #d1cfcf;
}

.movie_rating {
	width: 20px;
	height: 20px;
	margin-bottom: 17px;
}

.movie_poster {
	width: 50px;
	height: 100%;
	margin-bottom: 5px;
}

.seat-map {
	display: grid;
	grid-template-columns: repeat(2, 40px);
	gap: 8px;
	margin-left: 15px;
}

.selected_info {
	width: 30px;
	height: 30px;
	background: #555;
	border-radius: 5px;
}
.selected_info.selected {
	background: #7a5cff;
}

.selected_count {
	height: 50px;
	display: flex;
	padding: 15px;
	font-size: 14px;
	border-top: 1px solid #444;
}

.price {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	font-size: 14px;
	border-top: 1px solid #444;
}

.price strong {
	color: #4fd1ff;
}

.buttons {
	display: flex;
}

.buttons button {
	flex: 1;
	padding: 14px 0;
	border: none;
	font-size: 15px;
	cursor: pointer;
}

.prev {
	width: 50%;
	background: #5a5f66;
	color: #fff;
}

.next_inactive {
	width: 50%;
	background: #e5e5e5;
	color: #aaa;
	cursor: not-allowed !important;
	transition: all 0.2s ease;
}

.next_active {
	background: #7a5cff;
	color: #fff;
	cursor: pointer;
}

/*---------------------
  Payment CSS
-----------------------*/
/* 전체 래퍼 */
.payment_row {
	background-color: white;
	width: 100%;
	height: 600px;
	border-style: solid;
	border-width: 1px;
	border-color: gray;
	position: relative;
}

/* 좌측 */
.payment-left {
	flex: 1;
	float: left;
}

.page-title {
	font-size: 26px;
	font-weight: bold;
	margin-bottom: 20px;
}

.booking-info {
	display: flex;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.poster {
	width: 120px;
	border-radius: 6px;
}

.info-text p {
	margin: 6px 0;
	color: #555;
}

.movie-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
}

/* 우측 */
.payment-right {
	width: 320px;
	float: right;
}

.price-box {
	background: #3a3a3a;
	color: #fff;
	border-radius: 10px;
	padding: 20px;
}

.price-box h3 {
	margin-bottom: 16px;
	font-size: 18px;
}

.price-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.price-list li {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	color: #ddd;
}

.total_price {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #555;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.total_price strong {
	font-size: 22px;
	color: #27c4d8;
}

/* 하단 버튼 */
.payment-actions {
	display: flex;
	margin-top: 16px;
}

.payment-actions button {
	flex: 1;
	height: 50px;
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.agree-wrap {
	padding: 20px;
	font-family: sans-serif;
	color: #333;
}

.agree-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 10px;
	margin-bottom: 10px;
}

.agree-title.mt {
	margin-top: 25px;
}

.check-circle {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #bbb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #bbb;
}

.agree-box {
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
}

.agree-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 11px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.agree-item:last-child {
	border-bottom: none;
}

.agree-item button {
	border: 1px solid #ccc;
	padding: 2px 5px;
	border-radius: 1px;
	font-size: 6px;
	cursor: pointer;
}

.policy-text {
	margin-top: 10px;
	font-size: 5px;
	color: #666;
	line-height: 1.6;
}
