body {
	padding-top: 0;
}

:root {
	--angle: 45deg;
	--text-shadow-portal:
		1px 1px 5px rgba(61, 61, 61, 0.5),
		-1px -2px 1px rgba(61, 61, 61, 0.5),
		-1px 2px 1px rgba(61, 61, 61, 0.5),
		1px -2px 1px rgba(61, 61, 61, 0.5),
		0 0 5px rgba(60, 252, 298, 0.8);
}

@font-face {
	font-family: "Gabriola";
	src: url("/portal/view/fonts/gabriola.ttf") format("truetype");
}

/* Animações */
@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(0.2);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fadeInOut {
	0% { opacity: 0; }
	100% { opacity: 0.2; }
}

@keyframes bg-vibrant {
	0% {
		background-position: -100% 0%;
	}
	100% {
		background-position: 200% 0%;
	}
}

@keyframes animateTop {
	25% { width: 100%; opacity: 1; }
	50% { width: 100%; opacity: 0.5; }
	100% { width: 100%; opacity: 0; }
}

@keyframes animateRight {
	0%, 25% { height: 0; opacity: 0; }
	50% { height: 100%; opacity: 1; }
	55% { opacity: 0.5; }
	100% { height: 100%; opacity: 0; }
}

@keyframes animateBottom {
	0%, 50% { width: 0; opacity: 0; }
	75% { width: 100%; opacity: 1; }
	80% { opacity: 0.5; }
	100% { width: 100%; opacity: 0; }
}

@keyframes animateLeft {
	0%, 75% { height: 0; opacity: 0; }
	90% { height: 100%; opacity: 1; }
	100% { height: 100%; opacity: 0; }
}

/* Responsivo */
@media (max-width: 767.98px) {
	.logo img {
		display: block;
		margin: 0 auto;
	}
	.right-content {
		display: none;
	}
	.logo-class,
	.logo-portal,
	.identity {
		margin-left: 0;
		justify-content: center !important;
	}
	.card-login {
		margin-top: 8rem;
	}
}

/* Estilos */
.card-login {
	z-index: 9999;
	width: 24rem;
	padding: 1em;
	border-radius: 8px !important;
	box-shadow: 0 0 12px #007bff !important;
	border: 5px solid transparent;
	background-origin: border-box;
	background-clip: padding-box, border-box;
	position: relative;

	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0.7) 0%,
		rgba(255, 255, 255, 0.95) 20%,
		rgba(255, 255, 255, 1) 40%,
		rgba(255, 255, 255, 0.7) 60%,
		rgba(255, 255, 255, 0.7) 80%,
		rgba(255, 255, 255, 0.95) 100%
	);
	background-size: 300% 100%;
	animation: bg-vibrant 30s linear infinite;
}


.input-shadow {
	box-shadow: 2px 2px 2px rgba(151, 151, 151, 0.24);
	border-radius: var(--bs-border-radius);
}

.btn-shadow-blue {
	background-color: #007bff;
	color: #fff;
	text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.hidden {
	display: none !important;
}

.button-access {
	text-shadow: 0 0 5px rgba(0, 123, 255, 0.342);
}

.logo-sys {
	font-family: "Gabriola";
	font-size: 4rem;
	font-weight: bold;
	font-style: italic;
	user-select: none;
	color: #fff;
	margin: 0.5rem 0 0 1.5rem;
	transform: scaleX(1.2);
}

.text-shadow-bg {
	text-shadow: var(--text-shadow-portal);
}

.btn-hostname {
	margin: 0 1rem;
	padding: 8px 16px;
	font-size: 14px;
	color: #fff;
	cursor: default !important;
	background-color: transparent;
	border: 2px solid #ffffffa4;
	border-radius: 12px !important;
	text-shadow: var(--text-shadow-portal) !important;
	box-shadow: var(--text-shadow-portal) !important;
	user-select: none;
	animation: fadeInOut 300ms ease-in-out;
}

.btn-hostname:hover {
	background-color: #bbbbbb18;
}

.identity {
	color: #fff;
	margin-left: 1rem;
	user-select: none;
}

.logo {
	font-size: 18px;
}

.right-content {
	display: flex;
	align-items: center;
}

.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

.text {
	font-size: 16px;
	margin-right: 15px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	user-select: none;
	text-shadow: var(--text-shadow-portal);
	animation: fadeInOut 300ms ease-in-out;
}

.text:hover {
	color: #e0dfdf;
	text-shadow: none;
}

.spinner-border {
	display: none;
}

.loading .spinner-border {
	display: inline-block;
	margin-right: 5px;
}

.loading .btn-text {
	display: none;
}

.modal {
	z-index: 9999;
}

.shadow-error {
	box-shadow: 0 0 12px rgba(165, 21, 21, 0.3) !important;
}

.shadow-alert {
	box-shadow: 0 0 12px #f8ba0157 !important;
}

.logo_emp {
	filter: invert(1);
	margin-bottom: 20px;
}

/* Animação de bordas */
.span-border {
	position: absolute;
	border-radius: 5px;
}

.top {
	top: 0;
	left: 0;
	width: 0;
	height: 5px;
	background: linear-gradient(90deg, rgba(0, 255, 255, 0.5), rgba(0, 100, 255));
	animation: animateTop 6s ease-in-out infinite;
}

.bottom {
	right: 0;
	bottom: 0;
	height: 5px;
	background: linear-gradient(90deg, rgba(0, 100, 255), rgba(0, 255, 255, 0.5));
	animation: animateBottom 6s ease-in-out infinite;
}

.right {
	top: 0;
	right: 0;
	width: 5px;
	height: 0;
	background: linear-gradient(180deg, rgba(0, 255, 255, 0.5), rgba(0, 100, 255));
	animation: animateRight 6s ease-in-out infinite;
}

.left {
	left: 0;
	bottom: 0;
	width: 5px;
	height: 0;
	background: linear-gradient(180deg, rgba(0, 100, 255), rgba(0, 255, 255, 0.5));
	animation: animateLeft 6s ease-in-out infinite;
}
