@charset "utf-8";
/*
 * CSS Document
 */

:root {
	--color-text: #6d7587;
	--color-bg: #FFFFFF;
	--color-h1: #6d7587;
	--color-green: #2ecc71;
	--color-red: #dc4c64;
	--color-orange: #e6ad00;
	--color-blue: #1FB6FF;
	--color-dark-blue: #3b71ca;
	--color-cyan: #CCCCCC;
	--color-close: #FEFEFE;
	--color-scrollbar: #9fa6b2;
	--color-success: #13ce66;
	--color-error: #dc4c64;
	--color-warning: #e6ad00;
	--color-confirm: #1FB6FF;
	--color-nothing: #CCCCCC;
	--font-poppins: 'Poppins';
	--font-roboto: 'Roboto';
	--font-nunito: 'Nunito';
	--font-satisfy: 'Satisfy';
	--border-radius: 3px;
}


#popup-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	will-change: backdrop-filter;
	transition: backdrop-filter 150ms ease, background-color 150ms ease;
	z-index: 99998;
}

#popup-container {
	position: fixed;
	padding: 0;
	margin: 0;
	display: none;
	border-radius: var(--border-radius);
	background-color: #FFFFFF;
	z-index: 99999;
	box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
}

#popup-icon {
	width: 420px;
	min-height: 100px;
	margin: -20px 20px 0 20px;
	padding: 20px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: var(--font-poppins);
	font-size: 16px;
  	font-weight: 600;
	color: #FFFFFF;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-radius: var(--border-radius);
	text-shadow: 1px 1px 0 rgba(128, 128, 128, 0.2);
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

#popup-icon i {
	color: #FFFFFF;
	display: block;
	font-size: 36px;
	padding: 12px;
	text-shadow: 1px 1px 0 rgba(128, 128, 128, 0.2);
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	box-shadow: inset 0 0 10px rgba(128, 128, 128, 0.2);
}

#popup-icon.confirm,
.button-alert.confirm {
	background-color: var(--color-confirm);
}

#popup-icon.alert,
.button-alert.alert { 
	background-color: var(--color-dark-blue);
}

#popup-icon.error,
.button-alert.error {
	background-color: var(--color-error);
}

#popup-content {
	width: 420px;
	margin: 0 20px 10px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: var(--font-poppins);
	font-size: 16px;
  	font-weight: 600;
	color: #FFFFFF;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#popup-title {
	margin-top: 8px;
	font-family: var(--font-poppins);
	font-size: 18px;
  	font-weight: 600;
	padding: 0 20px;
	text-transform: uppercase;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#popup-title.confirm {
	color: var(--color-confirm);
}

#popup-title.alert {
	color: var(--color-dark-blue);
}

#popup-title.error {
	color: var(--color-error);
}

#popup-message {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: var(--font-poppins);
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text);
	line-height: 24px;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	position: relative;
	width: 100%;
	min-height: 100px;
}

#popup-buttons {
	height: 62px;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.button-alert {
	width: auto;
	height: 38px;
	font-family: var(--font-poppins);
	font-size: 14px;
	font-weight: 600;
	border: none;
	display: inline-block;
	color: #FFFFFF;
	padding: 0;
	margin: 0 12px;
	border-radius: var(--border-radius);
	border-bottom: 3px solid rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.3s ease-in;
	text-shadow: 1px 0 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 3px -3px 6px rgba(128, 128, 128, 0.1);
	box-shadow: inset 3px -3px 6px rgba(128, 128, 128, 0.1);
}

.button-alert .icon {
	float: left;
	width: 38px;
	height: 36px;
	text-align: center;
	line-height: 36px;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.button-alert .icon i {
	font-size: 22px;
	vertical-align: -6px;
}

.button-alert .text {
	float: right;
	height: 38px;
	text-align: center;
	line-height: 38px;
	padding: 0 22px 0 18px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.button-alert.left {
	float: left;
}

.button-alert.right {
	float: right;
}

.button-alert.green {
	background-color: var(--color-success);
}

.button-alert.red {
	background-color: var(--color-error);
}

.button-alert.orange {
	background-color: var(--color-orange);
}

.button-alert.blue {
	background-color: var(--color-blue);
}

.button-alert.cyan {
	background-color: var(--color-cyan);
}

.button-alert.close {
	color: var(--color-text);
	text-shadow: none;
	background-color: var(--color-close);
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.button-alert:hover {
	cursor: pointer;
	-webkit-box-shadow: inset 10px -40px 10px rgba(128, 128, 128, 0.1);
	box-shadow: inset 10px -40px 10px rgba(128, 128, 128, 0.1);
}

@media screen and (max-device-width: 480px) and (orientation: portrait) {
	#popup_content {
		width: 80vw;
	}

	#popup_title {
		height: 80px;
		line-height: 80px;
		font-size: 32px;
	}

	#popup_message {
		font-size: 28px;
	}

	#popup_icon i {
		font-size: 80px;
	}

	#popup_panel {
		height: 120px;
	}

	.button-alert {
		margin-top: 10px;
		height: 80px;
		font-size: 28px;
	}

	.button-alert .icon {
		width: 80px;
		height: 80px;
		line-height: 80px;
	}

	.button-alert .icon i {
		font-size: 36px;
	}	

	.button-alert .text {
		height: 80px;
		line-height: 80px;
		padding: 0 30px 0 26px;
	}
}