/* pass.css
   Backstage pass component for in-progress show accounts.
   Two layers: a transparent "pouch" (thin orange border, see-through
   margin, grommet ring) wrapping an inner black card. The card keeps
   its own fixed 260px width and internal proportions -- the pouch
   just adds a tight clear margin around it, it doesn't resize it.
   Separate from ticket.css; the two can coexist since this is a
   different concept (pending coverage vs. a finished show's ticket). */

.pass-link {
	display: block;
	width: fit-content;
	text-decoration: none;
	margin: 10px auto;
}

.pass-link:hover {
   text-decoration: none;
}

.pass-pouch {
	position: relative;
	border: 2px solid darkorange;
	border-radius: 16px;
	background: transparent;
	padding: 28px 6px 8px 6px;
	box-sizing: border-box;
}

.pass-notch {
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 26px;
	height: 12px;
	background: transparent;
	border: 2px solid darkorange;
	border-radius: 6px;
	z-index: 1;
}

.pass-card {
	width: 260px;
	background: #1c1c1a;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 16px 20px 16px;
	box-sizing: border-box;
}

.pass-masthead {
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: darkorange;
	letter-spacing: 3px;
	margin-bottom: 12px;
}

.pass-info {
	width: 100%;
	background: #e8e0d0;
	border-radius: 3px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 8px;
	box-sizing: border-box;
	margin-bottom: 14px;
}

.pass-venue {
	font-family: Courier, monospace;
	font-size: 9px;
	font-weight: bold;
	color: #1c1c1a;
	letter-spacing: 0.5px;
	text-align: center;
	text-transform: uppercase;
}

.pass-date {
	font-family: Courier, monospace;
	font-size: 9px;
	color: #5a5a56;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.pass-bands {
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #e8e8e6;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 18px;
}

/* Progress meter: VIDEOS -> PHOTOS -> ALL ACCESS
   Markup is just: <div class="progress" data-progress="1"></div>
   data-progress="1": videos done, working toward photos
   data-progress="2": photos done, working toward all access
   Once the write-up lands, finalizeaccount removes this div entirely --
   a finished post looks like every other finished post, no exceptions.
   Images are sized for the 228px available inside the 260px-wide
   pass-card (260 minus 16px padding each side). If pass-card's width
   or padding ever changes, these need regenerating to match. */

.progress {
	width: 250px;
	height: 26px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.progress[data-progress="1"] {
	background-image: url("/images/progress-1.svg");
}

.progress[data-progress="2"] {
	background-image: url("/images/progress-2.svg");
}
