html.ct-simple-quickreply-visible #page-body,
html.ct-mobile-quickreply-visible #page-body {
	padding-bottom: 82px !important;
}

.ct-simple-quickreply-form {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1300;
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 10px 10px;
}

.ct-simple-quickreply {
	display: flex;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	align-items: flex-end;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid #c9c9c9;
	border-radius: 10px;
	background: rgba(248, 248, 248, 0.98);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
}

.ct-simple-message-box {
	box-sizing: border-box;
	flex: 1;
	min-width: 0;
}

.ct-simple-message-box textarea {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	height: 42px !important;
	min-height: 42px !important;
	max-height: 110px !important;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #aaa;
	border-radius: 18px;
	background: #fff;
	font-size: 15px;
	line-height: 20px;
	resize: none;
	overflow-y: auto;
}

.ct-simple-quickreply-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ct-simple-quickreply-actions .ct-simple-full-reply,
.ct-simple-quickreply-actions .ct-simple-send-reply {
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	font-size: 17px;
	line-height: 38px;
	text-align: center;
}

.ct-simple-quickreply-actions .ct-simple-full-reply {
	width: 34px;
	height: 34px;
	min-height: 34px;
	color: #555 !important;
	font-size: 15px;
	line-height: 32px;
}

.ct-simple-quickreply-expanded .ct-simple-quickreply-actions {
	flex-direction: column;
	gap: 3px;
}

.ct-simple-quickreply-expanded .ct-simple-send-reply {
	width: 34px;
	height: 34px;
	min-height: 34px;
	font-size: 15px;
	line-height: 32px;
}

.ct-simple-reply-loading {
	display: none;
	position: absolute;
	right: 10px;
	bottom: calc(100% + 6px);
	padding: 6px 10px;
	border-radius: 14px;
	background: rgba(45, 45, 45, 0.94);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

#ct-simple-quickreply-form .ct-simple-quickreply-actions {
	flex-direction: row;
	gap: 7px;
}

#ct-simple-quickreply-form .ct-simple-quickreply-actions button {
	width: auto;
	height: 40px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 20px;
	font-size: 14px;
	line-height: 38px;
	white-space: nowrap;
}

#ct-simple-quickreply-form .ct-simple-send-reply:disabled {
	opacity: 0.4;
	cursor: default;
}

.ct-simple-quickreply-submitting .ct-simple-reply-loading {
	display: block;
}

.ct-simple-quickreply-submitting .ct-simple-quickreply-actions {
	pointer-events: none;
	opacity: 0.55;
}

.ct-simple-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.ct-guest-register-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2100;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.ct-guest-register-modal.open { display: flex; }
.ct-guest-register-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.68); }
.ct-guest-register-card { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 390px; padding: 22px 18px 18px; border-radius: 14px; background: #fff; box-shadow: 0 12px 38px rgba(0, 0, 0, 0.32); text-align: center; }
.ct-guest-register-close { position: absolute; top: 7px; right: 9px; border: 0; background: transparent; color: #666; font-size: 26px; cursor: pointer; }
.ct-guest-register-icon { color: #7a001f; font-size: 34px; }
.ct-guest-register-card h2 { margin: 7px 0; }
.ct-guest-register-card ul { margin: 12px 0; padding: 0; list-style: none; text-align: left; }
.ct-guest-register-card li { margin: 6px 0; }
.ct-guest-register-card li i { color: #1f8a43; }
.ct-guest-register-actions a { display: block; margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.ct-guest-register-primary { background: #7a001f; color: #fff !important; }
.ct-guest-register-secondary { border: 1px solid #bbb; background: #f7f7f7; }
body.ct-guest-modal-open { overflow: hidden; }
