/* MST Hourly Booking Widget — snippet-2270 */
.hb-2270-wrapper {
	font-family: 'Roboto', sans-serif;
	max-width: 650px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Steps Indicator */
.hb-2270-steps {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding: 0 10px;
}

.hb-2270-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

.hb-2270-step-indicator {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #e0e0e0;
	color: #aaa;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-bottom: 8px;
	transition: all 0.3s ease;
	font-size: 13px;
}

.hb-2270-step-indicator.active,
.hb-2270-step-indicator.completed {
	background: #0B0BA8;
	border-color: #0B0BA8;
	color: #fff;
}

.hb-2270-step-label {
	font-size: 10px;
	color: #999;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.hb-2270-step.active .hb-2270-step-label {
	color: #333;
	font-weight: 700;
}

.hb-2270-step-line {
	flex: 1;
	height: 2px;
	background: #eee;
	margin: 0 8px;
	position: relative;
	top: -15px;
	z-index: 1;
}

/* Step Content */
.hb-2270-step-content {
	display: none;
	animation: hb2270fadeIn 0.4s ease-out;
}

.hb-2270-step-content.active {
	display: block;
}

@keyframes hb2270fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.hb-2270-step-content h3 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #222;
	font-size: 22px;
	font-weight: 700;
}

.hb-2270-subtitle {
	color: #777;
	font-size: 14px;
	margin-top: -12px;
	margin-bottom: 24px;
}

/* Form */
.hb-2270-form-group {
	margin-bottom: 12px;
	position: relative;
}

.hb-2270-row {
	display: flex;
	gap: 10px;
}

.hb-2270-form-group.half { flex: 1; }
.hb-2270-form-group.third { flex: 1; }

.hb-2270-wrapper label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	color: #444;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hb-2270-wrapper input,
.hb-2270-wrapper select,
.hb-2270-wrapper textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	font-size: 13px;
	background: #f9f9f9;
	transition: all 0.3s;
	box-sizing: border-box;
	height: 38px;
}

.hb-2270-wrapper textarea {
	height: auto;
}

.hb-2270-wrapper input:focus,
.hb-2270-wrapper select:focus,
.hb-2270-wrapper textarea:focus {
	border-color: #0B0BA8;
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(11, 11, 168, 0.1);
}

/* Hours Selector */
.hb-2270-hours-selector {
	display: flex;
	align-items: center;
	gap: 0;
	width: fit-content;
}

.hb-2270-hours-btn {
	width: 44px;
	height: 44px;
	border: 2px solid #e1e1e1;
	background: #f9f9f9;
	font-size: 20px;
	font-weight: 700;
	color: #0B0BA8;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.hb-2270-hours-btn:first-child {
	border-radius: 8px 0 0 8px;
}

.hb-2270-hours-btn:last-child {
	border-radius: 0 8px 8px 0;
}

.hb-2270-hours-btn:hover {
	background: #0B0BA8;
	border-color: #0B0BA8;
	color: #fff;
}

.hb-2270-hours-display {
	width: 60px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: #222;
	border-top: 2px solid #e1e1e1;
	border-bottom: 2px solid #e1e1e1;
	background: #fff;
}

/* Distance Info */
.hb-2270-distance-info {
	background: #e8f5e9;
	padding: 10px 16px;
	border-radius: 6px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	color: #2e7d32;
	font-size: 13px;
	font-weight: 500;
	gap: 8px;
}

.hb-2270-distance-icon {
	font-size: 18px;
}

/* Vehicle Preview */
.hb-2270-vehicle-preview {
	background: #eef7fb;
	padding: 12px 20px;
	border-radius: 6px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	color: #0B0BA8;
	font-size: 14px;
	font-weight: 500;
}

.hb-2270-vehicle-preview i {
	font-size: 20px;
	margin-right: 12px;
}

/* Price Display */
.hb-2270-price-display {
	background: #f8f9ff;
	border: 1px solid #e0e0ff;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 20px;
}

.hb-2270-price-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 14px;
	color: #777;
}

.hb-2270-price-row.hb-2270-price-total {
	border-top: 1px solid #e0e0ff;
	margin-top: 8px;
	padding-top: 12px;
	font-size: 20px;
	font-weight: 800;
	color: #0B0BA8;
}

/* Price Breakdown in Summary */
.hb-2270-price-breakdown {
	background: #f8f9ff;
	border: 1px solid #e0e0ff;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 16px;
}

.hb-2270-price-breakdown .hb-2270-price-row {
	font-size: 14px;
	color: #555;
}

/* Summary Items */
.hb-2270-summary-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.hb-2270-summary-label {
	font-weight: 500;
	color: #777;
	font-size: 14px;
}

.hb-2270-summary-value {
	font-weight: 600;
	color: #333;
	text-align: right;
	font-size: 14px;
}

.hb-2270-total-price {
	font-size: 24px;
	font-weight: 800;
	color: #0B0BA8;
	margin-top: 20px;
	text-align: right;
	padding-top: 15px;
	border-top: 2px solid #f0f0f0;
}

/* Actions */
.hb-2270-actions {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
}

.hb-2270-actions.right {
	justify-content: flex-end;
}

.hb-2270-wrapper button {
	padding: 12px 25px;
	border-radius: 6px;
	border: none;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	letter-spacing: 0.5px;
}

.hb-2270-btn-primary {
	background-color: #0B0BA8;
	color: #ffffff !important;
	box-shadow: 0 4px 15px rgba(11, 11, 168, 0.25);
}

.hb-2270-btn-primary:hover {
	background-color: #08087D;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 11, 168, 0.35);
	color: #ffffff !important;
}

.hb-2270-btn-secondary {
	background-color: #f5f5f5;
	color: #666;
}

.hb-2270-btn-secondary:hover {
	background-color: #e5e5e5;
	color: #333;
}

/* Calendar */
.hb-2270-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}

.hb-2270-cal-header h3 {
	margin: 0;
}

.hb-2270-cal-legend {
	display: flex;
	gap: 16px;
	margin-bottom: 12px;
	font-size: 12px;
	color: #777;
}

.hb-2270-legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hb-2270-legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	display: inline-block;
}

.hb-2270-legend-dot.available {
	background: #e8f5e9;
	border: 1px solid #81c784;
}

.hb-2270-legend-dot.unavailable {
	background: #f5f5f5;
	border: 1px solid #eee;
}

.hb-2270-month-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.hb-2270-day-header {
	font-weight: 600;
	color: #666;
	padding: 8px;
	font-size: 11px;
	text-transform: uppercase;
}

.hb-2270-day {
	padding: 10px 5px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.hb-2270-day:hover { transform: scale(1.05); }

.hb-2270-day.available {
	background: #e8f5e9;
	color: #2e7d32;
	font-weight: 600;
	border: 1px solid #81c784;
}

.hb-2270-day.unavailable {
	background: #f5f5f5;
	color: #bbb;
	cursor: default;
	border: 1px solid #eee;
}

.hb-2270-day.unavailable:hover { transform: none; }

/* Time Slots */
.hb-2270-slots-info {
	color: #666;
	font-size: 14px;
	margin-bottom: 16px;
}

.hb-2270-slots-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
}

.hb-2270-slot {
	padding: 12px 8px;
	border-radius: 10px;
	text-align: center;
	font-weight: 600;
	transition: all 0.2s;
	font-size: 13px;
	border: 2px solid;
}

.hb-2270-slot-label {
	font-size: 10px;
	margin-top: 2px;
	font-weight: 500;
}

.hb-2270-slot.slot-available {
	background: #e8f5e9;
	color: #2e7d32;
	border-color: #81c784;
	cursor: pointer;
}

.hb-2270-slot.slot-available:hover {
	transform: scale(1.03);
	background: #c8e6c9;
}

.hb-2270-slot.slot-booked {
	background: #ffebee;
	color: #c62828;
	border-color: #ef9a9a;
	cursor: default;
	opacity: 0.8;
}

.hb-2270-slot.slot-booked:hover { transform: none; }

.hb-2270-slot.slot-blocked {
	background: #fff3e0;
	color: #e65100;
	border-color: #ffcc80;
	cursor: default;
	opacity: 0.6;
}

.hb-2270-slot.slot-blocked:hover { transform: none; }

.hb-2270-slot.slot-insufficient {
	background: #f5f5f5;
	color: #999;
	border-color: #e0e0e0;
	cursor: default;
	opacity: 0.7;
}

.hb-2270-slot.slot-insufficient:hover { transform: none; }

/* Confirmation */
.hb-2270-confirmation {
	text-align: center;
	padding: 30px 0;
}

.hb-2270-confirm-icon {
	font-size: 60px;
	color: #2e7d32;
	margin-bottom: 10px;
}

.hb-2270-confirmation h3 {
	color: #2e7d32;
}

.hb-2270-confirm-details {
	margin-top: 15px;
	color: #333;
	line-height: 1.6;
}

/* Login Prompt */
.hb-2270-login-prompt {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 10px 16px;
	background: #f8f9ff;
	border: 1px solid #e0e0ff;
	border-radius: 8px;
	font-size: 13px;
	color: #555;
}

.hb-2270-btn-login {
	display: inline-block;
	padding: 6px 16px;
	background: #0B0BA8;
	color: #fff !important;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s;
}

.hb-2270-btn-login:hover {
	background: #08087D;
	text-decoration: none;
	color: #fff !important;
}

/* Responsive */
@media (max-width: 600px) {
	.hb-2270-wrapper { padding: 24px 16px; }
	.hb-2270-row { flex-direction: column; gap: 0; }
	.hb-2270-slots-container { grid-template-columns: repeat(3, 1fr) !important; }
}
