﻿﻿ /*concert.css*/
.container-1200 {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}

.show-title {
	font-size: 34px;
	font-weight: 700;
	margin-bottom: 8px;
}

.show-meta {
	color: #444;
	margin-bottom: 18px;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.row.two-cols {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 24px;
	align-items: start;
}

.col-right .cover {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.ticket-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 12px;
}

	.ticket-table th, .ticket-table td {
		border: 1px solid #e7e7e7;
		padding: 10px 12px;
	}

		.ticket-table th.price, .ticket-table td.price {
			text-align: right;
		}

.show-desc {
	margin-top: 16px;
	line-height: 1.6;
}

.seatmaps {
	margin-top: 40px;
}

.seatmap-images {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.seatmap-img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.seatpicker-wrap {
	margin-top: 28px;
}

.seat-row {
	display: flex;
}

.seat {
	width: 34px;
	height: 34px;
	margin: 4px;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #e6e6e6;
	color: #777;
	cursor: pointer;
	user-select: none;
}

	.seat.state-on {
		outline: 2px solid #111;
		background: #fff;
		color: #111;
	}

	.seat.state-off {
		background: #ccc;
		color: #999;
		cursor: not-allowed;
	}

.booking-panel {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	margin-top: 12px;
	background: #fff;
	border: 1px solid #eee;
	padding: 12px;
	border-radius: 10px;
}

	.booking-panel .form-control {
		margin-right: 8px;
		margin-bottom: 8px;
		width: 260px;
	}

@media (max-width:1000px) {
	.row.two-cols {
		grid-template-columns: 1fr;
	}
}

.sp-seat {
	border: none;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

	.sp-seat.sp-sold {
		background: #999 !important;
		color: #fff !important;
	}

	.sp-seat.sp-held {
		background: #ddd !important;
		color: #666 !important;
	}

	.sp-seat.sp-mine {
		outline: 2px solid #111 !important;
		background: #fff !important;
	}

/* === Accent color === */
:root {
	--accent: #FFB700;
}

a, .link {
	color: var(--accent);
}

.btn-primary {
	background: var(--accent);
	border-color: var(--accent);
}

	.btn-primary:hover {
		filter: brightness(.95);
	}

.page-heading, .show-title {
	border-left: 6px solid var(--accent);
	padding-left: 10px;
}

.ticket-table thead th {
	background: #fff7e0;
}

.sp-seat.sp-mine {
	outline: 2px solid #111 !important;
	background: #fff !important;
}

/* Show/Index responsive */
@media (max-width:1000px) {
	.grid-cards {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width:640px) {
	.grid-cards {
		grid-template-columns: 1fr;
	}
}

/* Shared cards/grid helpers for inner pages */
.grid-cards {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px
}

@media (max-width:1000px) {
	.grid-cards {
		grid-template-columns: 1fr 1fr
	}
}

@media (max-width:640px) {
	.grid-cards {
		grid-template-columns: 1fr
	}
}

/* Giữ layout cột ổn định, tên vé 72% – giá 28% */
.ticket-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

	.ticket-table col.col-name {
		width: 72%;
	}

	.ticket-table col.col-price {
		width: 28%;
	}

	/* Không cho giá xuống dòng, canh phải, bám theo phần trên cùng của hàng */
	.ticket-table th.price,
	.ticket-table td.price {
		text-align: right;
		white-space: nowrap;
		vertical-align: top;
	}

	/* Các ô còn lại cũng top để hàng trông gọn */
	.ticket-table td, .ticket-table th {
		vertical-align: top;
	}
