/* Profile
-------------------------------------------------- */

#profile {
	display: flex;
	height: calc(100% - 48px);
	padding: 36px 10px 36px 36px;
}
#profile > nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 0 210px;
	padding: 36px 36px 36px 0px;
}
#profile > nav a {
	display: block;
	margin-bottom: 8px;
	border-radius: 5px;
	height: 37px;
	width: 100%;
	padding: 8px 16px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: 21px;
	letter-spacing: -0.28px;
	background: #FFF;
	transition: background-color .2s ease-in-out;
	cursor: pointer;
}
#profile > nav a.active,
#profile > nav a:hover {
	background-color: #F7F7F7;
}
#profile > nav a.active {
	font-weight: var(--fw500);
}
#profile > nav a:last-child {
	margin-bottom: 0;
}
#profile .content {
	position: relative;
	flex-grow: 1;
	height: 100%;
	overflow-y: auto;
	scroll-behavior: smooth;
	padding-right: 14px;
}
#profile .panel {
	margin-bottom: 24px;
	border: 1px solid #E8E8E8;
	border-radius: 20px;
	padding: 24px;
}
#profile .panel h2 {
	margin-bottom: 6px;
}
#profile .panel,
#profile .panel p {
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.28px;
}
#profile .photo-wrapper {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}
#profile .photo-wrapper .border {
	flex: 0 0 108px;
	border-radius: 50%;
	height: 108px;
	width: 108px;
	padding: 2px;
	background-image: linear-gradient(90deg, #046CC3 0%, #00C4FF 100%);
}
#profile .photo-wrapper .photo {
	border-radius: 50%;
	height: 104px;
	width: 104px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #fff;
	background-image: url(../img/ico-user.svg);
}
#profile .photo-wrapper label {
	padding-right: 24px;
	color: #046CC3;
	font-size: 16px;
	font-weight: var(--fw300);
	line-height: 24px;
	letter-spacing: -0.32px;
	text-transform: none;
	background: url(../img/ico-upload.svg) right center no-repeat;
	cursor: pointer;
}
#profile .photo-wrapper #profile-photo {
	display: none;
}
#profile-specs .actives,
#profile-specs .inactives {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	gap: 16px;
}
#profile-specs .actives {
	margin-bottom: 22px;
}
#profile-specs .actives:empty,
#profile-specs .actives:empty + hr,
#profile-specs .inactives:empty {
	display: none;
}
#profile-specs .inactives {
	margin-top: 16px;
}
#profile-specs em {
	flex: 0 0 auto;
	border-radius: 50px;
	border: 1px solid #F0F0F0;
	height: 33px;
	padding: 6px 42px 6px 16px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: 21px;
	letter-spacing: -0.28px;
	background: url(../img/chip-add.svg) calc(100% - 16px) center no-repeat;
	cursor: pointer;
}
#profile-specs .actives em {
	border-color: #00C4FF;
	background-image: url(../img/chip-close.svg);
}
#profile-payments .form-group.full-w {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
#profile-payments label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
	width: 300px;
	max-width: 100%;
}
#profile .panel .note.danger {
	color: #CB1616;
	font-size: 12px;
	font-style: italic;
	font-weight: var(--fw300);
	line-height: 150%;
	letter-spacing: -0.24px;
}
#profile h3 {
	display: flex;
	align-items: center;
	color: #193766;
	font-size: 20px;
	font-weight: var(--fw400);
	line-height: 30px;
	letter-spacing: -0.4px;
}
#profile .badge {
	display: inline-block;
	flex: 0 0 auto;
	margin-left: 8px;
	border-radius: 32px;
	height: 18px;
	padding: 0px 8px;
	color: #FFF;
	font-size: 12px;
	font-weight: var(--fw500);
	line-height: 18px;
	letter-spacing: -0.24px;
	background: #08BF1A;
}
#profile .info {
	margin-bottom: 16px;
}
#profile .price {
	display: inline-block;
	margin-left: 12px;
	color: #193766;
	font-size: 18px;
	font-weight: var(--fw400);
	line-height: 27px;
	letter-spacing: -0.36px;
	vertical-align: middle;
}
#profile .with-price {
	display: inline-block;
	position: relative;
	width: calc(100% - 50px);
	max-width: 140px;
}
#profile .with-price:after {
	content: '€';
	position: absolute;
	top: 0;
	right: 0;
	border-left: 1px solid rgb(190 190 190 / 30%);
	margin: 9px 16px 9px 0;
	height: 30px;
	padding-left: 8px;
	font-weight: var(--fw300);
	line-height: 30px;
}
#profile .delete {
	display: inline-block;
	margin-left: 24px;
	height: 20px;
	width: 20px;
	background: url(../img/ico-delete-sm.svg) center center no-repeat;
	vertical-align: middle;
	cursor: pointer;
}
#profile button.out {
	font-weight: var(--fw700);
}
#profile select {
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: 21px;
	letter-spacing: -0.28px;
}
#profile-subscription.panel h2 {
	margin-bottom: 24px;
}
#profile-subscription h3 {
	justify-content: center;
	margin-bottom: 24px;
}
#profile-subscription hr {
	margin: 24px 0;
	background-color: #E7E7E7;
}
#profile-subscription .premium {
	display: inline-block;
	border: 0.5px solid #046CC3;
	border-radius: 10px;
	max-width: 380px;
	padding: 24px;
}
#profile-subscription .premium .unlock {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 20px;
	font-weight: var(--fw500);
	line-height: 30px;
	letter-spacing: -0.4px;
	background: linear-gradient(90deg, #9A5A1A 0.38%, #A1662A 2.37%, #B37C20 7.32%, #F8A424 41.03%, #FEB700 63.83%, #F1A445 86.63%, #B77C24 98.53%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#profile-subscription .premium .title {
	background: linear-gradient(90deg, #046CC3 0%, #00C4FF 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#profile-subscription .premium .only {
	display: block;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: var(--fw500);
	line-height: 21px;
	letter-spacing: -0.28px;
}
#profile-subscription .premium .subscription-price {
	display: block;
	margin-bottom: 24px;
	height: 32px;
	font-size: 32px;
	font-weight: var(--fw600);
	line-height: 32px;
	letter-spacing: -0.64px;
	text-align: center;
}
#profile-subscription .premium .subscription-price em {
	font-size: 16px;
	font-weight: var(--fw400);
	line-height: 32px;
	letter-spacing: -0.32px;
}
#profile-subscription .premium .pros {
	margin-bottom: 16px;
	padding: 2px 10px 2px 40px;
	color: #193766;
	font-size: 12px;
	font-weight: var(--fw400);
	line-height: 16px;
	text-align: left;
	background: url(../img/check-circle.svg) 10px center no-repeat;
}
#profile-subscription .premium button {
	justify-content: center;
	width: 100%;
}
#profile-subscription .premium-plan {
	display: inline-block;
	margin-bottom: 16px;
	border-radius: 10px;
	border: 0.5px solid #046CC3;
	padding: 24px 24px 36px;
	color: #193766;
	font-size: 20px;
	font-weight: var(--fw500);
	line-height: 30px;
	letter-spacing: -0.4px;
	text-align: center;
}
#profile-subscription .premium-plan .premium-badge {
	vertical-align: middle;
}
#profile-subscription .premium-plan .sep {
	height: 16px;
}
#profile-subscription .premium-plan button {
	position: relative;
	justify-content: center;
	width: 100%;
}
#profile-subscription .premium-plan button .stripe {
	position: absolute;
	top: auto; right: 0; bottom: -20px; left: auto;
	width: 80px;
}
#profile-subscription .premium-plan button.disabled {
	opacity: .35;
	cursor: not-allowed;
}
#profile-subscription .business-plan {
	display: none;
}
#profile-subscription.business .info,
#profile-subscription.business .premium-plan {
	display: none;
}
#profile-subscription.business .business-plan {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-bottom: 16px;
	border-radius: 15px;
	border: 2px solid #046CC3;
	padding: 24px;
	color: #193766;
	font-size: 20px;
	font-weight: var(--fw600);
	line-height: 30px;
	letter-spacing: -0.4px;
	text-align: center;
	background: linear-gradient(90deg, #046CC3 0%, #00C4FF 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}




/* Mobile
-------------------------------------------------- */

@media only screen and (max-width: 1024px) {
	#profile {
		display: block;
		height: auto;
		padding: 16px 24px 0;
	}
	#profile > nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 0px;
		margin: 0 -24px 24px;
		border-bottom: none;
		height: auto;
		width: calc(100% + 48px);
		overflow-y: auto;
		scroll-behavior: smooth;
		padding: 7px 24px;
		background: #FFF;
	}
	#profile.show-section > nav {
		display: none;
	}
	#profile > nav a {
		display: flex;
		align-items: center;
		position: relative;
		margin-bottom: 0;
		border-radius: 0;
		height: 56px;
		width: 100%;
		padding: 0;
		padding-left: 36px;
		color: #193766;
		font-size: 16px;
		font-weight: var(--fw400);
		line-height: 21px;
		letter-spacing: -0.28px;
		white-space: nowrap;
		background-color: #FFF;
		background-position: left center;
		background-repeat: no-repeat;
		background-size: 24px;
	}
	#profile > nav a.active,
	#profile > nav a:hover {
		background-color: transparent;
	}
	#profile > nav a.active span {
		background: none;
		background-clip: unset;
		-webkit-background-clip: inherit;
		-webkit-text-fill-color: inherit;
	}
	#profile > nav a i {
		display: block;
		margin-left: auto;
		height: 24px;
		width: 24px;
		background: url(../img/arrow-next-sm.svg) center center no-repeat;
	}
	#profile > nav a[data-target="#profile-data"] {
		background-image: url(../img/section-profile.svg);
	}
	#profile > nav a[data-target="#profile-subscription"] {
		background-image: url(../img/section-subscription.svg);
	}
	#profile > nav a[data-target="#profile-password"] {
		background-image: url(../img/section-password.svg);
	}
	#profile > nav a[data-target="#profile-account"] {
		background-image: url(../img/section-account.svg);
	}
	#profile > .content {
		position: absolute;
		top: 0;
		left: 100%;
		flex: 1 1 100%;
		height: calc(100vh - 74px);
		width: calc(100vw - 48px);
		overflow-x: hidden;
		padding-right: 0;
		background-color: #FFF;
		transition: left ease-in-out 0.2s;
	}
	#profile.show-section > .content {
		position: relative;
		left: 0;
		height: auto;
	}
	#profile .content::-webkit-scrollbar {
		display: none;
	}
	#profile .go-back {
		top: 0;
		left: 0;
	}
	#profile .panel {
		display: none;
		border: none;
		border-radius: 0;
		padding: 0;
	}
	#profile .panel.active {
		display: block;
	}	
	#profile h2 {
		margin-bottom: 32px !important;
		font-size: 20px;
		font-weight: var(--fw500);
		line-height: 25px;
		text-align: center;
	}
	#profile button {
		justify-content: center;
		height: 48px;
		width: 100%;
		padding: 10px 24px;
		font-size: 16px;
		font-weight: var(--fw700);
		text-align: center;
	}
	#profile .price {
		margin-left: 0;
		width: 100%;
		padding-top: 16px;
		font-weight: var(--fw500);
		text-align: center;
	}
	#profile .form select {
		height: 48px;
		width: 100%;
	}
	#profile-payments label {
		width: 100%;
	}
	#profile-subscription {
		text-align: center;
	}
	#profile-subscription h3 {
		justify-content: center;
	}
	#profile-subscription .info {
		text-align: left;
	}
	#profile-subscription .premium-plan {
		display: block;
	}

}
