#tiny-feedback-widget {
	position: fixed;
	bottom: 50px;
	right: -3px;
	z-index: 9999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#tiny-feedback-button {
	background: #379fd7;
	color: white;
	padding: 12px 20px;
	border-radius: 25px 0 0 25px;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	user-select: none;
	font-weight: 500;
	font-size: 14px;
}

#tiny-feedback-button:hover {
	background: #007cba;
	transform: translateX(-3px);
}

#tiny-feedback-form {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 320px;
	background: white;
	border-radius: 8px 0 0 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	border: 1px solid #ddd;
}

#tiny-feedback-form.tiny-feedback-show {
	transform: translateX(0);
}

.tiny-feedback-hidden {
	display: none !important;
}

.tiny-feedback-form-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px 12px;
	border-bottom: 1px solid #eee;
}

.tiny-feedback-form-header h3 {
	margin: 0;
	font-size: 16px;
	color: #333;
	font-weight: 600;
}

#tiny-feedback-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

#tiny-feedback-close:hover {
	background-color: #f0f0f0;
	color: #333;
}

.tiny-feedback-intro {
	padding: 16px 20px 0 20px;
}

.tiny-feedback-form-body {
	padding: 16px 20px;
}

#tiny-feedback-message {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 12px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	min-height: 80px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

#tiny-feedback-message:focus {
	outline: none;
	border-color: #007cba;
	box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.tiny-feedback-consent {
	margin-top: 15px;
}

.tiny-feedback-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.tiny-feedback-consent input[type="checkbox"] {
	margin: 2px 0 0 0;
	cursor: pointer;
	flex-shrink: 0;
}

.tiny-feedback-consent span {
	flex: 1;
	user-select: none;
}

.tiny-feedback-form-footer {
	padding: 12px 20px 20px;
	text-align: right;
}

#tiny-feedback-submit {
	background: #007cba;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s ease;
	min-width: 120px;
}

#tiny-feedback-submit:hover:not(:disabled) {
	background: #005a87;
}

#tiny-feedback-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
	opacity: 0.7;
}

#tiny-feedback-success {
	padding: 20px;
	text-align: center;
}

#tiny-feedback-success-message {
	margin: 0;
	color: #28a745;
	font-size: 14px;
	font-weight: 500;
}

@media (max-width: 480px) {
	#tiny-feedback-form {
		width: calc(100vw - 20px);
		max-width: 320px;
	}

	#tiny-feedback-button {
		font-size: 13px;
		padding: 10px 16px;
	}
}

.rsf-hinput {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}
