:root {
	--main-bg-color: #111;
	--form-back-color: #111;
	--form-fore-color: #fff;
	--tab-back-color: #444;
	--tab-back-color-active: #111;
	--tab-fore-color: #fff;
	--tab-hover-background-color: #333;
	--tab-hover-color: #fff;
	--input-back-color: #111;
	--input--fore-color: #fff;
	--card-back-color: #111;
	--card--fore-color: #fff;
	--menu-hover-background-color: #333;
	--menu-background-color: #111;
	--border-color-primary: silver;
	--border-color-primary-hover: #1976d2;
	--border-color-input: #1976d2;
	--selected-background-color: #333;
	--box-shadow-color: #333;
	--fore-color: #fff;
	--fore-color-secondary: #aaa;
	--button-back-color: #eee;

	--button-primary-hover-back-color: #1565c0;
	--button-primary-back-color: #1976d2;
	--button-primary-fore-color: #f8f8f8;

	--sentMessage-background-color: #333;
	--receivedMessage-background-color: #339;
	--warning-color: #ff0000;
	--highlight-color: #48abe0;
	--modal-back-color: rgba(0, 0, 0, 0.5);
	--mention-color: #1976d2;
	--progress-back-color: #559900;
	--logo-color: #2c5aa0;
}

@font-face {
	font-family: "Linux Libertine O Regular";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine O Regular"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_R.woff")
			format("woff");
}

@font-face {
	font-family: "Noto Color Emoji Regular";
	font-style: normal;
	font-weight: normal;
	src:
		local("Noto Color Emoji Regular"),
		url("https://media.peopoli.com/assets/fonts/NotoColorEmoji.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine O Italic";
	font-style: italic;
	font-weight: normal;
	src:
		local("Linux Libertine O Italic"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_RI.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine O Semibold";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine O Semibold"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_RZ.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine O Semibold Italic";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine O Semibold Italic"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_RZI.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine O Bold";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine O Bold"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_RB.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine O Bold Italic";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine O Bold Italic"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_RBI.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine Display O Regular";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine Display O Regular"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_DR.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine Initials O";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine Initials O"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_I.woff")
			format("woff");
}

@font-face {
	font-family: "Linux Libertine Mono O Mono";
	font-style: normal;
	font-weight: normal;
	src:
		local("Linux Libertine Mono O Mono"),
		url("https://media.peopoli.com/assets/fonts/LinLibertine_M.woff")
			format("woff");
}

body {
	background-color: var(--main-bg-color);
	color: var(--form-fore-color);
}

div.topMenu {
	height: 5em;
	display: flex;
	justify-content: space-between;
}
img.logo {
	height: 5em;
	cursor: pointer;
}

div.gadget-ui-menu,
div.gadget-ui-menu-menuItem {
	position: fixed;
	right: 10px;
}

div.loginProviderLink {
	display: flex;
	align-items: anchor-center;
}

div.app-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin: 10px;
	display: inline-block;
	width: 250px;
	vertical-align: top;
	cursor: pointer;
}

div.app-card h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
}

div.app-card p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

div.app-icon {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

div.app-icon img {
	width: 50px;
	height: auto;
}

/* Account View Styles */
.account-container .accountContainer {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.account-container .account {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
	background: #f8f8f8;
}

.account-container .account > div {
	padding: 12px 24px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.account-container .account > div:hover {
	background: #fff;
}

.account-container .account > div.active {
	background: #fff;
	border-bottom: 2px solid #667eea;
	color: #667eea;
}

.account-container .vtabContent {
	padding: 20px;
}

.account-container .row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.account-container .col-sm-3 {
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 10px;
}

.account-container .col-sm-4 {
	flex: 0 0 33.33%;
	max-width: 33.33%;
	padding: 0 10px;
}

.account-container .col-sm-5 {
	flex: 0 0 41.66%;
	max-width: 41.66%;
	padding: 0 10px;
}

.account-container .col-sm-1 {
	flex: 0 0 8.33%;
	max-width: 8.33%;
	padding: 0 10px;
}

.account-container .col-sm-8 {
	flex: 0 0 66.66%;
	max-width: 66.66%;
	padding: 0 10px;
}

.account-container .right-align {
	text-align: right;
}

.account-container .label {
	font-weight: 500;
	color: #555;
}

.account-container input[type="text"],
.account-container input[type="email"],
.account-container input[type="password"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.account-container input[readonly] {
	background: #f5f5f5;
	cursor: not-allowed;
}

/* Password Strength Indicator */
#newPasswordValidator span {
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
}

#newPasswordValidator span.Weak {
	background: #ffebee;
	color: #c62828;
}

#newPasswordValidator span.Medium {
	background: #fff3e0;
	color: #ef6c00;
}

#newPasswordValidator span.Strong {
	background: #e8f5e9;
	color: #2e7d32;
}

/* Icon styles */
.icon_small {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.rotating {
	animation: rotate 1s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Button states */
.button.saving {
	opacity: 0.7;
	pointer-events: none;
}

.button.success {
	background-color: #28a745;
	border-color: #28a745;
}

/* Hidden class */
.hidden {
	display: none !important;
}

div.idpPanel {
	max-width: 50em;
}

div.right-align {
	text-align: right;
}

div[name="idpSignup"] img {
	height: 2em;
}
div.label {
	display: flex;
	justify-content: end;
	align-self: center;
}
div.validationCol {
	display: flex;
	justify-content: start;
	align-self: center;
}
