/**
 * @package    UCP
 * @subpackage UCP
 * @since      1.0.0
 * @version    1.0.0
 * @author     Ehsan Zare <darksider.legend@gmail.com>
 * @link       https://code-path.com
 * @copyright  (c) 2021 Code-path web developing team
 */

/*-------------------------------------------------------------------------*/
/* UCP
/*-------------------------------------------------------------------------*/
.page-ucp {}

/* UCP: Account
/*---------------------------------------------------------------*/
.page/*-ucp*/ .ucp-account {
	color: #5f758a;
	padding: 1rem;
	font-size: 0.9375rem;
	box-shadow: inset 0 0 1px 0 #232e46, inset 0 0 51px 0 rgba(0, 0, 0, 0.36), 0 0 6px 0 rgba(0, 0, 0, 0.15);
	-moz-box-shadow: inset 0 0 1px 0 #232e46, inset 0 0 51px 0 rgba(0, 0, 0, 0.36), 0 0 6px 0 rgba(0, 0, 0, 0.15);
	-webkit-box-shadow: inset 0 0 1px 0 #232e46, inset 0 0 51px 0 rgba(0, 0, 0, 0.36), 0 0 6px 0 rgba(0, 0, 0, 0.15);
	font-family: var(--font-family-primary);
	text-shadow: 0 1px 1px rgba(6, 9, 18, 0.4);
}

/* Account: Avatar
/*-----------------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-avatar {
	width: 192px;
	height: 192px;
	margin: 0 auto;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

/* Avatar: Glow
/*-------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-avatar [glow] {
	width: 112px;
	height: 112px;
	position: absolute;
}

.page/*-ucp*/ .ucp-account .account-avatar [glow]::before,
.page/*-ucp*/ .ucp-account .account-avatar [glow]::after {
	width: 40px;
	height: 40px;
	content: '';
	position: absolute;
	box-shadow: 0 0 50px 10px rgba(66, 169, 235, 0.5);
	-moz-box-shadow: 0 0 50px 10px rgba(66, 169, 235, 0.5);
	-webkit-box-shadow: 0 0 50px 10px rgba(66, 169, 235, 0.5);
} .page/*-ucp*/ .ucp-account .account-avatar [glow]::before {top: 0; left: 0;}
	.page/*-ucp*/ .ucp-account .account-avatar [glow]::after  {right: 0; bottom: 0;}

/* Avatar: Avatar*
/*-------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-avatar [avatar] {
	width: 112px;
	height: 112px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-size: 100% 100%;
	background-color: #333;
	background-repeat: no-repeat;
	background-position: center center;
}

/* Avatar: Frame
/*-------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-avatar [frame] {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background-color: transparent;
	background-image: url('../images/avatar_frame.png');
	background-repeat: no-repeat;
	background-position: center center;
}

/* Avatar: canEdit
/*-------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-avatar [canEdit] {
	width: 112px;
	height: 112px;
	position: absolute;
}

.page/*-ucp*/ .ucp-account .account-avatar [canEdit]::before,
.page/*-ucp*/ .ucp-account .account-avatar [canEdit]::after {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	opacity: 0;
	content: '';
	position: absolute;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: rgba(5, 10, 16, 0.7);
	transition: 300ms opacity ease;
	-o-transition: 300ms opacity ease;
	-ms-transition: 300ms opacity ease;
	-moz-transition: 300ms opacity ease;
	-webkit-transition: 300ms opacity ease;
}

.page/*-ucp*/ .ucp-account .account-avatar [canEdit]::after {
	width: 44px;
	height: 44px;
	top: 50%;
	margin-top: -22px;
	background-color: transparent;
	background-image: url('../../../assets/images/graphics/icons.png');
	background-repeat: no-repeat;
	background-position: 0 50%;
}

.page/*-ucp*/ .ucp-account .account-avatar [canEdit]:hover::before,
.page/*-ucp*/ .ucp-account .account-avatar [canEdit]:active::before,
.page/*-ucp*/ .ucp-account .account-avatar [canEdit]:hover::after,
.page/*-ucp*/ .ucp-account .account-avatar [canEdit]:active::after {
	opacity: 1;
}

/* Account: Info
/*-----------------------------------------------------*/
.page/*-ucp*/ .ucp-account .account-info {
	width: 100%;
}

.page/*-ucp*/ .ucp-account .account-info tbody {}

.page/*-ucp*/ .ucp-account .account-info tbody tr {}

.page/*-ucp*/ .ucp-account .account-info tbody tr td {
	width: 50%;
	color: #8b97a6;
}

.page/*-ucp*/ .ucp-account .account-info tbody tr td.info-key   {padding-right: 0.5rem;}
.page/*-ucp*/ .ucp-account .account-info tbody tr td.info-value {}

.page/*-ucp*/ .ucp-account .account-info tbody tr td span {
	font-size: 1rem;
	vertical-align: middle;
}

.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-ice]    {color: #ceefff;}
.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-gold]   {color: #b38e47;}
.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-silver] {color: #969696;}

.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-gold]::before,
.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-silver]::before {
	width: 13px;
	height: 13px;
	margin: 0 0.5rem 0 0;
	content: '';
	display: inline-block;
	position: relative;
	vertical-align: middle;
	background-size: 100% 100%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
} .page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-gold]::before   {background-image: url('../../__resources__/images/misc/g-coin.png');}
	.page/*-ucp*/ .ucp-account .account-info tbody tr td span[text-silver]::before {background-image: url('../../__resources__/images/misc/s-coin.png');}

/* UCP: Panel
/*---------------------------------------------------------------*/
.page-ucp .ucp-panel {}

/* Panel: Buttons
/*-----------------------------------------------------*/
.page-ucp .ucp-panel .panel-buttons {}

.page-ucp .ucp-panel .panel-buttons .panel-button {
	width: 100%;
	height: 100%;
	padding: 1.5rem;
	box-shadow: 0 0 30px 0 rgba(6, 11, 18, 0.4);
	-moz-box-shadow: 0 0 30px 0 rgba(6, 11, 18, 0.4);
	-webkit-box-shadow: 0 0 30px 0 rgba(6, 11, 18, 0.4);
	background-color: #213141;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;

	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
}

.page-ucp .ucp-panel .panel-buttons .panel-button::before {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	content: '';
	position: absolute;
	box-shadow: 0 1px 1px 0 rgba(6, 9, 18, 0.45), 0 0 40px 0 rgba(117, 180, 255, 0.08), inset 0 0 0 4px rgba(82, 169, 255, 0.04);
	-moz-box-shadow: 0 1px 1px 0 rgba(6, 9, 18, 0.45), 0 0 40px 0 rgba(117, 180, 255, 0.08), inset 0 0 0 4px rgba(82, 169, 255, 0.04);
	-webkit-box-shadow: 0 1px 1px 0 rgba(6, 9, 18, 0.45), 0 0 40px 0 rgba(117, 180, 255, 0.08), inset 0 0 0 4px rgba(82, 169, 255, 0.04);
	background-color: rgba(168, 206, 255, 0.05);
	transition: 300ms opacity ease;
	-o-transition: 300ms opacity ease;
	-ms-transition: 300ms opacity ease;
	-moz-transition: 300ms opacity ease;
	-webkit-transition: 300ms opacity ease;
}

.page-ucp .ucp-panel .panel-buttons .panel-button:hover::before,
.page-ucp .ucp-panel .panel-buttons .panel-button:active::before {
	opacity: 1;
}

.page-ucp .ucp-panel .panel-buttons .panel-button .button-icon {
	width: 38px;
	height: 38px;
	margin: 0 1rem 0 0;
	box-shadow: inset 0 0 15px 0 rgba(82, 169, 255, 0.15), inset 0 0 0 1px #111d39;
	-moz-box-shadow: inset 0 0 15px 0 rgba(82, 169, 255, 0.15), inset 0 0 0 1px #111d39;
	-webkit-box-shadow: inset 0 0 15px 0 rgba(82, 169, 255, 0.15), inset 0 0 0 1px #111d39;
	background-size: 100% 100%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;

	-webkit-box-flex: 0;
	-ms-flex: 0 0 38px;
	flex: 0 0 38px;
}

.page-ucp .ucp-panel .panel-buttons .panel-button .button-icon::before {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: 2px solid #26496a;
	content: '';
	position: absolute;
	box-shadow: 0 0 13px 0 rgba(52, 159, 255, 0.1);
	-moz-box-shadow: 0 0 13px 0 rgba(52, 159, 255, 0.1);
	-webkit-box-shadow: 0 0 13px 0 rgba(52, 159, 255, 0.1);
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background-color: rgba(0, 128, 255, 0.08);
}

.page-ucp .ucp-panel .panel-buttons .panel-button .button-text {
	color: #768d9d;
	font-size: 1.125rem;
	font-weight: 600;
	font-family: var(--font-family-primary);
	text-shadow: 0 1px 1px rgba(6, 9, 18, 0.4);
	text-transform: uppercase;
	transition: 300ms color ease;
	-o-transition: 300ms color ease;
	-ms-transition: 300ms color ease;
	-moz-transition: 300ms color ease;
	-webkit-transition: 300ms color ease;

	-webkit-box-flex: 10;
	-ms-flex-positive: 10;
	flex-grow: 10;
}

.page-ucp .ucp-panel .panel-buttons .panel-button:hover .button-text,
.page-ucp .ucp-panel .panel-buttons .panel-button:active .button-text {
	color: #87a2b4;
}

.page-ucp .ucp-panel .panel-buttons .panel-button .button-text span {
	display: block;
	line-height: 1;
}

.page-ucp .ucp-panel .panel-buttons .panel-button .button-text i {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
}

/* Panel: Nav
/*-----------------------------------------------------*/
.page-ucp .ucp-panel .panel-nav {}

.page-ucp .ucp-panel .panel-nav .navbar {
	width: 100%;
	height: auto;
	padding: 0;
}

.page-ucp .ucp-panel .panel-nav .navbar .navbar-nav {
	width: 100%;
	height: auto;
}

.page-ucp .ucp-panel .panel-nav .navbar .navbar-nav .nav-item {
	width: 100%;
	height: auto;
}

.page-ucp .ucp-panel .panel-nav .navbar .navbar-nav .nav-item .nav-link {
	color: #929eaf;
	padding: 0;
	display: block;
	font-size: 1.0625rem;
	font-weight: 600;
	font-family: var(--font-family-primary);
	text-shadow: 0 1px 1px rgba(6, 9, 18, 0.45);
	transition: 300ms color ease, 300ms text-shadow ease;
	-o-transition: 300ms color ease, 300ms text-shadow ease;
	-ms-transition: 300ms color ease, 300ms text-shadow ease;
	-moz-transition: 300ms color ease, 300ms text-shadow ease;
	-webkit-transition: 300ms color ease, 300ms text-shadow ease;
}

.page-ucp .ucp-panel .panel-nav .navbar .navbar-nav .nav-item .nav-link:hover,
.page-ucp .ucp-panel .panel-nav .navbar .navbar-nav .nav-item .nav-link:active {
	color: #bbcae0;
	text-shadow: 0 1px 1px rgba(6, 9, 18, 0.45), 0 0 14px rgba(168, 206, 255, 0.45);
}

/* UCP: Responsive
/*---------------------------------------------------------------*/
@media screen and (min-width: 1200px) { /* Desktop */
	.page-ucp [panel-nav]::before {
		width: 3px;
		height: 100%;
		top: 0;
		left: 0;
		content: '';
		position: absolute;
		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
		-moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
		-webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
		background-color: #132336;
	}
}