/*
 * Showing booking - public styles
 *
 * Standalone on purpose. public/styles.css is a pre-compiled Tailwind 3.2.6
 * bundle with no build step in the repo, so utility classes that aren't
 * already in that file don't exist. Everything here is prefixed ws- so it
 * can't collide with what is.
 *
 * Brand: wwblue #7D89BC, wwgrey #333438, Montserrat.
 */

.ws-wrap { max-width: 900px; margin: 0 auto; }

.ws-step { margin-bottom: 40px; }
.ws-step-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ws-step-num {
	flex: none; width: 24px; height: 24px; border-radius: 50%;
	background: #7D89BC; color: #fff; font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; align-self: center;
}
.ws-step-num.is-done { background: #333438; }
.ws-step-title { font-size: 18px; font-weight: 700; margin: 0; }

.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-chip {
	border: 1px solid #d7dae3; background: #fff; color: #333438;
	padding: 9px 14px; font-size: 14px; line-height: 1.3; cursor: pointer;
	font-family: inherit; text-align: center; min-width: 96px;
}
.ws-chip:hover { border-color: #7D89BC; }
.ws-chip.is-active { background: #7D89BC; border-color: #7D89BC; color: #fff; }
.ws-chip .ws-chip-sub { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }

.ws-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }

.ws-empty {
	border: 1px dashed #d7dae3; padding: 22px; text-align: center;
	color: #6b6d76; font-size: 14px;
}

.ws-summary {
	background: #f4f5f9; border-left: 3px solid #7D89BC;
	padding: 14px 16px; margin-bottom: 24px; font-size: 14px; line-height: 1.6;
}
.ws-summary strong { font-weight: 700; }

.ws-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ws-field { display: flex; flex-direction: column; }
.ws-field.ws-full { grid-column: 1 / -1; }
.ws-label { font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.ws-req { color: #b3261e; }
.ws-input, .ws-select, .ws-textarea {
	border: 1px solid #d7dae3; background: #fff; padding: 9px 11px;
	font-size: 15px; font-family: inherit; color: #333438; width: 100%;
}
.ws-input:focus, .ws-select:focus, .ws-textarea:focus { outline: 2px solid #7D89BC; outline-offset: -1px; }
.ws-textarea { resize: vertical; min-height: 84px; }
.ws-check { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ws-check input { width: 16px; height: 16px; }
.ws-note { font-size: 12px; color: #6b6d76; margin-top: 5px; }
.ws-error { font-size: 12px; color: #b3261e; margin-top: 4px; }

.ws-alert {
	border-left: 3px solid #b3261e; background: #fdf3f2;
	padding: 12px 14px; font-size: 14px; margin-bottom: 20px; color: #7a1c16;
}

.ws-btn {
	display: inline-block; background: #7D89BC; color: #fff; border: 0;
	padding: 13px 30px; font-size: 15px; font-weight: 600; font-family: inherit;
	cursor: pointer;
}
.ws-btn:hover { background: #333438; }
.ws-btn:disabled { opacity: .6; cursor: default; }

.ws-consent { font-size: 12px; color: #6b6d76; line-height: 1.55; margin-top: 14px; }

.ws-back {
	background: none; border: 0; padding: 0; font-family: inherit;
	font-size: 14px; color: #7D89BC; cursor: pointer; margin-bottom: 18px;
}
.ws-back:hover { text-decoration: underline; }

@media (max-width: 640px) {
	.ws-fields { grid-template-columns: 1fr; }
	.ws-slots { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
