.s10ni-rb-widget {
	max-width: 420px;
	font-family: inherit;
}

.s10ni-rb-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.s10ni-rb-cal-grid {
	display: grid;
	grid-template-columns: repeat( 7, 1fr );
	gap: 4px;
	text-align: center;
}

.s10ni-rb-cal-weekday {
	font-weight: bold;
	font-size: 0.8em;
	padding: 4px 0;
}

.s10ni-rb-cal-day {
	padding: 8px 0;
	background: #6b7785;
	color: #fff;
	border-radius: 3px;
	cursor: pointer;
}

.s10ni-rb-cal-day.s10ni-rb-disabled {
	background: #e5e5e5;
	color: #aaa;
	cursor: default;
}

.s10ni-rb-cal-day.s10ni-rb-selected {
	background: #2271b1;
}

.s10ni-rb-start-grid,
.s10ni-rb-duration-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 6px;
	margin-bottom: 12px;
}

.s10ni-rb-start,
.s10ni-rb-duration {
	padding: 8px 4px;
	border: 1px solid #2271b1;
	background: #fff;
	color: #2271b1;
	border-radius: 3px;
	cursor: pointer;
}

.s10ni-rb-start:disabled {
	border-color: #ccc;
	color: #ccc;
	cursor: not-allowed;
}

.s10ni-rb-start.s10ni-rb-selected,
.s10ni-rb-duration.s10ni-rb-selected {
	background: #2271b1;
	color: #fff;
}

.s10ni-rb-form p {
	margin: 8px 0;
}

.s10ni-rb-form input[type="text"],
.s10ni-rb-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
}

/* Zahlungsarten-Karten */
.s10ni-rb-payment-methods {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 8px 0 16px;
}

.s10ni-rb-pm-card {
	cursor: pointer;
}

.s10ni-rb-pm-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.s10ni-rb-pm-card span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border: 2px solid #ddd;
	border-radius: 8px;
	background: #fff;
	font-size: 0.85em;
	text-align: center;
	min-width: 90px;
	transition: border-color 0.15s, box-shadow 0.15s;
	color: #444;
}

.s10ni-rb-pm-card:hover span {
	border-color: #2271b1;
}

.s10ni-rb-pm-card input[type="radio"]:checked + span {
	border-color: #2271b1;
	box-shadow: 0 0 0 2px #2271b133;
	color: #2271b1;
	font-weight: 600;
}

/* Spontan-Seite */
.s10ni-rb-spontan {
	max-width: 420px;
	font-family: inherit;
}

.s10ni-rb-spontan label {
	display: block;
	margin: 12px 0 4px;
	font-weight: 600;
}

.s10ni-rb-spontan input[type="email"],
.s10ni-rb-spontan select {
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.s10ni-rb-btn {
	display: inline-block;
	margin-top: 16px;
	padding: 12px 28px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 1em;
	cursor: pointer;
}

.s10ni-rb-btn:hover {
	background: #135e96;
}

/* Nachtmodus */
.s10ni-rb-nightly-dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.s10ni-rb-nf label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 0.9em;
}

.s10ni-rb-nf small {
	font-weight: 400;
	color: #6b7280;
}

.s10ni-rb-nf input[type="date"] {
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.s10ni-rb-nightly-summary {
	background: #f0f7ff;
	border: 1px solid #bfdbfe;
	border-radius: 4px;
	padding: 10px 14px;
	font-size: 0.95em;
}

.s10ni-rb-nightly-proceed {
	padding: 10px 22px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	cursor: pointer;
}

.s10ni-rb-nightly-proceed:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.s10ni-rb-nightly-proceed:not(:disabled):hover {
	background: #135e96;
}

.s10ni-rb-success-banner {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 6px;
	padding: 18px 20px;
	max-width: 480px;
	font-size: 1em;
	line-height: 1.5;
}

.s10ni-rb-success-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: #16a34a;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
}
