/* 消息弹框css样式
 https://www.jq22.com/demo/Dream-Msg202108190154/
 */

body {
	margin: 0;
	padding: 0;
}

#dream {
	margin: 0 auto;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
}

#dream button {
	margin: 0 20px;
}

.dream-btn {
	font-size: 14px;
	text-decoration: none;
	padding: 6px 20px;
	white-space: nowrap;
	border-radius: 5px;
	font-weight: 500;
	display: inline-block;
	cursor: pointer;
	border: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	line-height: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.dream-btn.cancel {
	margin-right: 10px;
	color: #525456;
	background-color: transparent;
	font-weight: 500;
	transition: all 0.06s ease-out;
}

.dream-btn,
.dream-btn span {
	position: relative;
	font-size: 16px;
	font-weight: bold;
}

.dream-btn.info {
	background-color: #47d4cd;
	color: #fefefe;
}

.dream-btn.success {
	background-color: #9edc65;
	color: #fefefe;
}

.dream-btn.warning {
	background-color: #e5b442;
	color: #fefefe;
}

.dream-btn.error {
	background-color: #ec4141;
	color: #fefefe;
}

.dream-btn.loading {
	background-color: #7bb4e7;
	color: #fefefe;
}

.dream-btn.close {
	background-color: #676868;
	color: #fefefe;
}

.dream-btn.ok::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	transition: all 0.12s ease-out;
	background-color: transparent;
}

.dream-btn.ok:hover::before {
	background-color: rgba(255, 255, 255, 0.08);
}

.dream-btn.ok:active::before {
	transition: all 80ms ease-out;
	background-color: rgba(0, 0, 0, 0.2);
}
