.certificate-generator-container {
	background: white !important;
	border-radius: 8px !important;
	padding: 40px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
	max-width: 700px !important;
	width: 100% !important;
	margin: 0 auto !important;
}

.certificate-generator-input-section {
	margin-bottom: 30px !important;
}

.certificate-generator-input-section input[type="text"] {
	width: 100% !important;
	padding: 16px !important;
	font-size: 1.1em !important;
	border: 1px solid #e1e4e8 !important;
	border-radius: 6px !important;
	transition: border-color 0.2s !important;
	font-family: "Arial", sans-serif !important;
}

.certificate-generator-input-section input[type="text"]:focus {
	outline: none !important;
	border-color: #586069 !important;
}

.certificate-generator-preview {
	position: relative !important;
	margin: 30px 0 !important;
	border: 1px solid #e1e4e8 !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	background: #fafbfc !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.certificate-generator-preview #certificateCanvas {
	max-width: 100% !important;
	height: auto !important;
	display: block !important;
}

.certificate-generator-container button {
	width: 100% !important;
	padding: 16px !important;
	font-size: 1.1em !important;
	font-weight: 500 !important;
	background: #24292e !important;
	color: white !important;
	border: none !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	transition: background-color 0.2s !important;
}

.certificate-generator-container button:hover {
	background: #1a1e22 !important;
}

.certificate-generator-container button:active {
	background: #16181d !important;
}

.certificate-generator-title {
	text-align: center !important;
	margin-bottom: 20px !important;
	color: #24292e !important;
	font-size: 1.5em !important;
}

.certificate-generator-error {
	color: #d73a49 !important;
	background-color: #ffeef0 !important;
	border: 1px solid #f97583 !important;
	border-radius: 6px !important;
	padding: 16px !important;
	margin-bottom: 20px !important;
}

.certificate-generator-char-count {
	text-align: right !important;
	font-size: 0.9em !important;
	color: #586069 !important;
	margin-top: 5px !important;
}

.certificate-generator-messages {
	margin-top: 15px !important;
	padding: 12px !important;
	border-radius: 6px !important;
	font-size: 0.95em !important;
}

.certificate-generator-success {
	background-color: #28a745 !important;
	color: white !important;
	border: 1px solid #28a745 !important;
}

.certificate-generator-error {
	background-color: #dc3545 !important;
	color: white !important;
	border: 1px solid #dc3545 !important;
}

.certificate-generator-container button:disabled {
	background: #6c757d !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
}
