.tc-cert-form {
	max-width: 520px;
	margin: 0 auto;
	padding: 24px;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	background: #fafafa;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	position: relative;
}

.tc-label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #222;
}

.tc-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 8px;
	outline: none;
}

.tc-input:focus {
	border-color: #1a6dd6;
	box-shadow: 0 0 0 3px rgba(26, 109, 214, 0.15);
}

.tc-suggestions {
	position: relative;
	margin-top: 4px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	max-height: 260px;
	overflow-y: auto;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	z-index: 10;
}

.tc-suggestion {
	padding: 10px 14px;
	font-size: 14px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
}

.tc-suggestion:last-child {
	border-bottom: none;
}

.tc-suggestion:hover {
	background: #f2f7ff;
}

.tc-suggestion-empty {
	cursor: default;
	color: #888;
}

.tc-suggestion-empty:hover {
	background: none;
}

.tc-hint {
	min-height: 18px;
	margin: 10px 0;
	font-size: 13px;
	color: #555;
}

.tc-warn {
	margin-top: 6px;
	padding: 8px 10px;
	border-left: 3px solid #f0b849;
	background: #fff8e5;
	color: #3c2f00;
	font-size: 13px;
	line-height: 1.4;
}

.tc-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tc-actions > button {
	flex: 1 1 160px;
}

.tc-email-panel {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
}

.tc-email-panel .tc-input {
	margin-bottom: 12px;
}

.tc-email-btn {
	padding: 13px 16px;
	font-size: 16px;
	font-weight: 600;
	color: #1a6dd6;
	background: #fff;
	border: 1px solid #1a6dd6;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tc-email-btn:hover:not(:disabled) {
	background: #f2f7ff;
}

.tc-email-btn:disabled {
	color: #9bb0d0;
	border-color: #c9d7ec;
	cursor: not-allowed;
}

.tc-status-ok {
	color: #1e7b34;
}

.tc-status-error {
	color: #b32d2e;
}

.tc-download-btn {
	padding: 13px 16px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #1a6dd6;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tc-download-btn:hover:not(:disabled) {
	background: #1558ab;
}

.tc-download-btn:disabled {
	background: #b7c8e3;
	cursor: not-allowed;
}
