.cr-app {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	position: relative;
}

/* Progress bar */
.cr-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
}
.cr-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #9ca3af;
	min-width: 90px;
}
.cr-progress-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e5e7eb;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	margin-bottom: 6px;
	transition: all 0.2s ease;
}
.cr-progress-step.active .cr-progress-circle,
.cr-progress-step.completed .cr-progress-circle {
	background: #2563eb;
	color: #fff;
}
.cr-progress-step.active .cr-progress-label,
.cr-progress-step.completed .cr-progress-label {
	color: #1f2937;
	font-weight: 600;
}
.cr-progress-label {
	font-size: 13px;
}
.cr-progress-line {
	flex: 1;
	height: 2px;
	background: #e5e7eb;
	margin: 0 4px;
	margin-bottom: 22px;
	max-width: 80px;
}

/* Fields */
.cr-field {
	margin-bottom: 18px;
}
.cr-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
	color: #1f2937;
}
.cr-req {
	color: #dc2626;
}
.cr-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}
.cr-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cr-input.cr-invalid {
	border-color: #dc2626;
}
.cr-error {
	display: block;
	color: #dc2626;
	font-size: 12px;
	margin-top: 4px;
	min-height: 14px;
}

/* Buttons */
.cr-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}
.cr-btn {
	padding: 10px 22px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.cr-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.cr-btn-primary {
	background: #2563eb;
	color: #fff;
}
.cr-btn-primary:hover:not(:disabled) {
	background: #1d4ed8;
}
.cr-btn-secondary {
	background: #f3f4f6;
	color: #374151;
}
.cr-btn-secondary:hover:not(:disabled) {
	background: #e5e7eb;
}

/* Payment options */
.cr-payment-options {
	display: flex;
	gap: 16px;
	margin-bottom: 8px;
}
.cr-payment-option {
	flex: 1;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 600;
}
.cr-payment-option:has(input:checked) {
	border-color: #2563eb;
	background: #eff6ff;
}
.cr-payment-option-logo {
	display: inline-flex;
	line-height: 0;
}
.cr-payment-option-logo svg {
	width: 60px;
	height: 25px;
	border-radius: 4px;
	display: block;
}

/* Alerts */
.cr-alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}
.cr-alert-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Spinner */
.cr-spinner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border-radius: 12px;
}
.cr-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #e5e7eb;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: cr-spin 0.8s linear infinite;
}
@keyframes cr-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
	.cr-app { padding: 16px; }
	.cr-progress-label { font-size: 11px; }
	.cr-payment-options { flex-direction: column; }
}

/* Pricing table (Step 2) */
.cr-pricing-table-wrap {
	margin: 8px 0 24px;
}
.cr-pricing-title {
	font-size: 16px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 10px;
}
.cr-table-scroll {
	overflow-x: auto;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}
.cr-pricing-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	min-width: 480px;
}
.cr-pricing-table th,
.cr-pricing-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	white-space: nowrap;
}
.cr-pricing-table thead th {
	background: #2563eb;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}
.cr-pricing-table tbody tr:last-child td,
.cr-pricing-table tbody tr:last-child th {
	border-bottom: none;
}
.cr-pricing-table tbody th[scope="row"] {
	font-weight: 600;
	color: #1f2937;
	white-space: normal;
}
.cr-pricing-table td.cr-tier-active {
	background: #eff6ff;
	font-weight: 700;
	color: #2563eb;
	position: relative;
}
.cr-tier-date {
	display: block;
	font-weight: 400;
	color: #6b7280;
	font-size: 11px;
	white-space: nowrap;
}
.cr-pricing-hint {
	margin: 8px 2px 0;
	font-size: 12px;
	color: #6b7280;
}
.cr-room-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	justify-content: center;
}
.cr-room-option input[type="checkbox"] {
	cursor: pointer;
}
.cr-check-cell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-weight: 600;
	margin: 0;
}
.cr-check-cell input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #2563eb;
	cursor: pointer;
	flex-shrink: 0;
}

.cr-fee-note {
	margin: 6px 0 0;
	font-weight: 600;
	color: #2563eb;
}

.cr-fee-total {
	margin-top: 16px;
	padding: 12px 16px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	font-size: 16px;
}
