/* 
**************************************************
   IMPORTANT: SITE PORTAL
**************************************************
*/

/* ============SPINE============== */

#moduleLoginPortalBody {
	width: 100%;
	height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
    transition: background 0.50s ease;
}

html[dataTheme="eclipse"] #moduleLoginPortalBody {
	background: url('../login/backgrounds/objectLoginPortalEclipse.png') no-repeat center center fixed;
	background-size: cover;
}

html[dataTheme="twilight"] #moduleLoginPortalBody {
	background: url('../login/backgrounds/objectLoginPortalTwilight.png') no-repeat center center fixed;
	background-size: cover;
}

html[dataTheme="radiance"] #moduleLoginPortalBody {
	background: url('../login/backgrounds/objectLoginPortalRadiance.png') no-repeat center center fixed;
	background-size: cover;
}

@media (max-width: 767px) {
	#moduleLoginPortalContainer {
		width: 100%;
		box-shadow: -1px -1px 5px rgba(0, 0, 0, 0.5);
		transition: width 0.50s ease, box-shadow 0.50s ease;
	}
}

/* ============CONTAINER============== */
 
 #moduleLoginPortalContainer {
	width: 25rem;
	padding: 2.4rem 0;
	display: flex;
	flex-direction: column;
    justify-content: space-between;
	align-items: stretch;
    background:  var(--canvas-panel);
	border: 0.5px solid var(--canvas-panel-border);
	border-radius: var(--radius-card);
    box-shadow: var(--shadow-large);
	transition: width 0.50s ease;
	overflow-y: auto;
	z-index: 1;
}

@media (max-width: 767px) {
	#moduleLoginPortalContainer {
		width: 100%;
		height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		gap: 2rem;
		border: none;
		border-radius: 0;
		box-shadow: none;
		transition: width 0.50s ease, border 0.50s ease, border-radius 0.50s ease, box-shadow 0.50s ease;
	}
}

/* ----------- 
Title 
 -----------*/

#objectLoginPortalContainerTitle {
	display: flex;
	flex-direction: row;
	justify-self: center;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

#objectLoginPortalContainerTitle img {
    height: 48px;
    width: 48px;
}

@media (max-width: 767px) {
	#objectLoginPortalContainerTitle img {
		margin-top: 3px;
		height: 32px;
		width: 32px;
	}
}

#objectLoginPortalContainerTitle span {
	color: var(--canvas-surface-text);
	font-size: calc(var(--base-font-size) * 0.80);
	font-style: oblique;
}

#objectLoginPortalContainerTitle p {
	color: var(--canvas-surface-text-muted);
	font-size: calc(var(--base-font-size) * 0.80);
}

/* ----------- 
Clock 
 -----------*/
 
 #moduleLoginPortalDateAndTime {
    margin: 0 auto;
    width: 19rem;
    display: flex;
    flex-direction: column;
}

#objectLoginPortalServerClock {
	color: var(--canvas-surface-text);
	font-size: calc(var(--base-font-size) * 1.80);
	font-weight: bolder;
}

#objectLoginPortalServerDate {
	margin: -0.25rem 0 0 0;
	color: var(--canvas-surface-text-muted);
	font-size: calc(var(--base-font-size) * 0.80);
	font-weight: bolder;
}
 
 /* ----------- 
Forms 
 -----------*/ 

#objectLoginPortalContainerForms {
	width: 100%;
	padding: 5rem 0;
	display: grid;
	gap: 0.25rem;
}

#moduleLoginPortalForms {
	max-width: 20rem;
	justify-self: center;
}

#objectLoginPortalActionContainer {
	display: flex;
	flex-direction: row;
    justify-content: flex-end;
	align-items: center;
	gap: 1rem;
	color: red;
    font-size: calc(var(--base-font-size) * 0.80);
}
 
 /* ----------- 
Settings 
 -----------*/ 

#moduleLoginPortalThemeSelectorTitle {
	max-width: 19.5rem;
	margin: 0 auto;
	padding: 0.5rem;
}

#moduleLoginPortalThemeSelectorTitle span {
	color: var(--canvas-surface-text-muted);
    font-size: calc(var(--base-font-size) * 0.80);
	font-style: oblique;
}
 
#moduleLoginPortalThemeSelectorContainer {
	width: fit-content;
	margin: 0 auto;
	padding: 0.3rem;
	background: var(--canvas-main);
	border: 0.04rem solid var(--canvas-panel-border);
	border-radius: var(--radius-object);
	box-shadow: var(--shadow-inset-small);
}

@media (max-width: 767px) {	
	#moduleLoginPortalThemeSelector {
		max-height: 24px;
        max-width: 235px;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		position: relative;
	}
}

.moduleLoginPortalThemeSelectorTabs {
	width: 304px;
	max-width: 330px;
    display: flex;
    position: relative;
    border-radius: var(--radius-object);
}

@media (max-width: 767px) {
	.moduleLoginPortalThemeSelectorTabs {
	transform: scale(0.775);
  }
}

input[type="radio"] {
	display: none;
}

.moduleLoginPortalThemeSelectorTab {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 33px;
	width: 200px;
	font-size: calc(var(--base-font-size) * 1);
	font-weight: 500;
	cursor: pointer;
	opacity: 0.25;
	transition: color 0.15s ease-in, opacity 0.15s ease, transform 0.15s ease-out;
	z-index: 2;
}

.moduleLoginPortalThemeSelectorTab.objectLoginPortalThemeSelectedTab {
	opacity: 1;
	color: (--canvas-surface-text);
	transition: opacity 0.15s ease;
}

input[id="eclipse"]:checked ~ .objectLoginPortalThemeTabGlider {
	transform: translateX(0);
}

input[id="twilight"]:checked ~ .objectLoginPortalThemeTabGlider {
	transform: translateX(100%);
}

input[id="radiance"]:checked ~ .objectLoginPortalThemeTabGlider {
	transform: translateX(200%);
}

.objectLoginPortalThemeTabGlider {
	height: 31px;
    width: 100px;
    display: flex;
	position: absolute;
    background-color: var(--button-standard-fill);
    border-radius: var(--radius-object);
    transition: transform 0.25s ease-out;
    z-index: 1;
}

[dataTheme="eclipse"] .objectLoginPortalThemeTabGlider {
	border: var(--button-standard-border);
	border-top: var(--button-standard-border-facet);
}


[dataTheme="twilight"] .objectLoginPortalThemeTabGlider {
	border: var(--button-standard-border);
	border-top: var(--button-standard-border-facet);
}

[dataTheme="radiance"] .objectLoginPortalThemeTabGlider {
	border: var(--button-standard-border);
	border-bottom: var(--button-standard-border-facet);
}