@import url('../fonts/opensans.css');

.loginPanel {
	--lp-main-color: #4384ff;
	--lp-second-color: rgb(11, 209, 127);
	--lp-background: #ffffffdd;
	--lp-color-text: black;
	--lp-font-text: 'Open Sans';
	--lp-width-c1: 120px;
	--lp-width-c2: 220px;

	position: fixed;
	left: 0;
	bottom: 30px;
	z-index: 1420;
	font-family: var(--lp-font-text);
	font-size: 10pt;
	color: var(--lp-color-text);
	transition: .3s;
}
.loginPanel .title {
	margin: 10px 0;
	color: #8667f7;
}

/* przyciski */
.loginPanel .buttons {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.loginPanel .buttons a {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: var(--lp-width-c1);
	height: 50px;
	text-decoration: none;
	color: var(--lp-main-color);
	border: 1px solid var(--lp-main-color);
	background: var(--lp-background);
	box-shadow: 2px 0 20px #00000022;
	box-sizing: border-box;
	transform: translateX(-80px);
	transition: .2s;
	cursor: pointer;
	pointer-events: auto;

}
.loginPanel .buttons .text {
	flex: auto 1 1;
	text-align: center;
}
.loginPanel .buttons .icon {
	flex: 40px 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 22px;
}
.loginPanel .buttons a.active {
	color: white;
	background: var(--lp-main-color);
	transform: translateX(0);
}
.loginPanel .buttons a:focus {
	outline: none;
}
.loginPanel .buttons a + a {
	margin-top: 5px;
}

/* tresc */
.loginPanel .tabs .content {
	position: fixed;
	bottom: 25px;
	left: var(--lp-width-c1);
	margin: 5px;
	width: var(--lp-width-c2);
	box-sizing: border-box;
	border: 1px solid var(--lp-main-color);
	background: white;
	box-shadow: 2px 0 20px #00000022;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-20px);
	transition: .3s;
}
.loginPanel .tabs .content.show {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* panel */
.login-form {
	text-align: center;
	padding: 10px;
}
.login-form input {
	width: 100%;
	margin: .5em 0;
	padding: .5em;
	box-sizing: border-box;
	color: var(--lp-color-text);
	background: none;
	border: 1px solid var(--lp-main-color);
}
.login-form button {
	margin: .5em 0;
	padding: 10px 20px;
	color: white;
	font-size: 1.1em;
    font-weight: 600;
	border: none;
    border-radius: 1000px;
	background: var(--lp-second-color);
	box-shadow: 0 5px 10px var(--lp-second-color);
	transition: .2s;
	cursor: pointer;
}
.login-form button:hover {
	box-shadow: 0 0 0 transparent;
}

/* desktop - mysz */
@media (pointer:fine) {
	/* ladniejszy pasek przewijania */
	.loginPanel .tabs .content::-webkit-scrollbar {
		width: 6px;
		height: 6px;
	}
	.loginPanel .tabs .content::-webkit-scrollbar-track {
		background: transparent;
		border-radius: 3px;
	}
	.loginPanel .tabs .content::-webkit-scrollbar-thumb {
		background: transparent;
		border-radius: 3px;
	}
	.loginPanel .tabs .content:hover::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0);
	}
	.loginPanel .tabs .content:hover::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, .2);
	}

	.loginPanel .buttons a:hover {
		color: white;
		background: var(--lp-main-color);
		transform: translateX(0);
	}
}

/* responsywnosc */
@media (max-width: 770px) {
	.loginPanel {
		--lp-width-c2: 180px;
	}
}
@media (max-width: 490px) {
	.loginPanel {
		--lp-width-c2: 160px;
	}
}