.warn {
	display: block;
	color: red;
	font-size: 12px;
	margin-top: -20px;
}

.warnparent {
	position: relative;
}

.warn[data-type] {
	/* 基础样式 */
	color: #ff4444 !important;
	font-size: 12px;

	/* 定位 */
	position: absolute;
	bottom: -18px;
	left: 0;

	/* 初始状态 */
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

/* 错误状态 */
.warn[data-type].active {
	opacity: 1;
	visibility: visible;
	bottom: -22px;
	/* 微调位置 */
}

/* 输入框错误状态样式 */

.has-error>div,
.has-error>p,
.has-error>input {
	border-color: #ff4444 !important;
	box-shadow: 0 0 3px rgba(255, 68, 68, 0.3) !important;
}