/**
 * Created: 		10/19/2025
 * Updated:			10/19/2025
 * ✅ Login and registration popup
 */

/*-----------------------------------*/
/* ✅ Login and registration popup
/*-----------------------------------*/
.rsgdx-wcd-account-popup {
	position: fixed; z-index: 999999; background: rgba(0,0,0,0.5); top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; min-width: 320px; min-height: 100vh; display: none; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center;
}
.rsgdx-wcd-account-popup.rsgdx-active {
	display: flex;
}
.rsgdx-wcd-account-popup-content {
	width: 100%; min-width: 320px; max-width: 600px; background: #111111; border-radius: 3px; box-shadow: 0px 0px 8px -2px #fff;
}
.rsgdx-wcd-account-popup-heading {
	padding: 20px; position: relative;
}
.rsgdx-wcd-account-popup-heading .rsgdx-wcd-account-popup-title {
	font-size: 20px;
	padding-right: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
.rsgdx-wcd-account-popup-title-icon {
	background: #fff;
	color: #000;
	border-radius: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	text-align: center;
}
.rsgdx-wcd-account-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 15px;
	cursor: pointer;
	transition: ease .3s;
}
.rsgdx-wcd-account-popup-close:hover {
	transition: ease .3s;
	font-size: 20px;
}
.rsgdx-wcd-account-popup-body {
	padding: 20px; position: relative; font-size: 15px;
}
.rsgdx-wcd-account-popup-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.rsgdx-wcd-account-popup-body .rsgdx-wcd-account-popup-form input {
	border-radius: 3px;
	font-size: 15px;
	outline: none;
	box-shadow: none;
	border: 1px solid #ffffff;
	padding: 10px;
	background: #111111;
	color: #ffffff;
}
.rsgdx-wcd-account-popup-form button {
	border-radius: 3px; transition: ease .3s; background: #fff; 
	border: 1px solid #fff;
	color: #111;
	font-size: 15px;
	background-color: var(--site_primary_color);
	border-color: var(--site_primary_color);
}
.rsgdx-wcd-account-popup-form button:hover {
	transition: ease .3s; background: #111; color: #fff; color: var(--site_primary_color);
}
.rsgdx-wcd-account-popup-footer {
	background: #000;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}
.rsgdx-wcd-account-popup-footer button {
	border-radius: 3px; transition: ease .3s; background: #000;
	border: 1px solid #fff;
	color: #fff;
	font-size: 15px;
}
.rsgdx-wcd-account-popup-footer button:hover {
	transition: ease .3s; background: #fff; color: #000;
	background-color: var(--site_primary_color);
	border-color: var(--site_primary_color);
}
.rsgdx-wcd-account-popup-note {
	position: relative;
	display: block;
	font-size: 12px;
	text-align: center;
}
.rsgdx-wcd-account-popup-error {
	font-size: 12px;
	display: none;
	width: 100%;
	color: red;
}
.rsgdx-wcd-account-popup-error.rsgdx-success {
	color: green;
}

/*-----------------------------------*/
/* ✅ Swap
/*-----------------------------------*/
.rsgdx-wcd-account-popup-content[data-pop="register"] {
	display: none;
}