/*
---------------------------------------
	G-TEAM | Brand styl přihlašovací stránky
	Načítá se pouze v @non-logged-layout.latte
	(přepisuje výchozí Theta template)
---------------------------------------
*/

:root {
	--gt-navy: #16224E;
	--gt-navy-deep: #0D1734;
	--gt-blue: #2B5AA8;
	--gt-blue-dark: #1E4275;
	--gt-blue-light: #4C7BD1;
	--gt-red: #C9352E;
	--gt-red-dark: #A82A24;
	--gt-border: #DCE2ED;
	--gt-text: #2B3040;
	--gt-muted: #6B7488;
}

/* ---------- Pozadí ---------- */
.containerbar.authenticate-bg {
	background: #16224E url("../images/authentication/gteam-auth-bg.svg") center center / cover no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
	position: relative;
}

/* Ztmavení pro čitelnost karty */
.containerbar.authenticate-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(13, 23, 52, 0.45) 0%, rgba(21, 37, 82, 0.12) 45%, rgba(13, 23, 52, 0.42) 100%);
	pointer-events: none;
}

.authenticate-bg .container {
	position: relative;
	z-index: 2;
}

/* ---------- Karta ---------- */
.auth-box .auth-box-right .card,
.auth-box.login-box .auth-box-right .card {
	border-radius: 2px;
	border: 0;
	border-top: 4px solid var(--gt-red);
	box-shadow: 0 24px 60px rgba(6, 13, 33, 0.45);
	background-color: #fff;
}

.auth-box .auth-box-right .card .card-body {
	padding: 38px 40px 34px;
}

/* Logo nad formulářem */
.gt-auth-logo {
	text-align: center;
	margin-bottom: 26px;
}

.gt-auth-logo img {
	height: 46px;
	width: auto;
}

/* ---------- Typografie ---------- */
.auth-box h4,
.auth-box .text-primary {
	color: var(--gt-navy) !important;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.auth-box form > h4 {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 26px !important;
	font-size: 22px;
	text-align: center;
}

.auth-box form > h4::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 48px;
	height: 3px;
	background: var(--gt-red);
}

/* ---------- Formulářové prvky ---------- */
.auth-box .form-control {
	height: 48px;
	border-radius: 2px;
	border: 1px solid var(--gt-border);
	background-color: #F7F9FC;
	color: var(--gt-text);
	font-size: 15px;
	padding: 10px 16px;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.auth-box .form-control::placeholder {
	color: #98A2B8;
}

.auth-box .form-control:focus {
	background-color: #fff;
	border-color: var(--gt-blue);
	box-shadow: 0 0 0 3px rgba(43, 90, 168, 0.15);
}

.auth-box .form-group {
	margin-bottom: 18px;
}

/* ---------- Tlačítko ---------- */
.auth-box .btn-success,
.auth-box .btn-primary,
.auth-box button[type="submit"] {
	background-color: var(--gt-blue);
	border-color: var(--gt-blue);
	border-radius: 2px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	font-size: 15px !important;
	height: 50px;
	transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}

.auth-box .btn-success:hover,
.auth-box .btn-primary:hover,
.auth-box button[type="submit"]:hover {
	background-color: var(--gt-blue-dark);
	border-color: var(--gt-blue-dark);
}

.auth-box .btn-success:focus,
.auth-box button[type="submit"]:focus {
	box-shadow: 0 0 0 3px rgba(43, 90, 168, 0.30);
}

.auth-box .btn-success:active,
.auth-box button[type="submit"]:active {
	transform: translateY(1px);
}

/* ---------- Odkazy ---------- */
.auth-box a {
	color: var(--gt-blue);
}

.auth-box a:hover {
	color: var(--gt-red);
	text-decoration: none;
}

.auth-box .forgot-psw a {
	font-weight: 600;
}

/* ---------- Přepínač jazyka ---------- */
.auth-box .social-login hr {
	border-top: 1px solid var(--gt-border);
	margin-top: 22px;
	margin-bottom: 0;
}

.auth-box .social-login img {
	border-radius: 2px;
	border: 1px solid var(--gt-border);
	opacity: .7;
	transition: opacity .15s ease, box-shadow .15s ease;
}

.auth-box .social-login a:hover img {
	opacity: 1;
	box-shadow: 0 2px 8px rgba(13, 23, 52, .25);
}

/* ---------- Patička pod kartou ---------- */
.gt-auth-footer {
	text-align: center;
	margin-top: 22px;
	color: rgba(255, 255, 255, .75);
	font-size: 12.5px;
	letter-spacing: .3px;
}

.gt-auth-footer a {
	color: #fff;
	font-weight: 600;
}

.gt-auth-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---------- Chybové hlášky ---------- */
.auth-box .alert,
.authenticate-bg .alert {
	border-radius: 2px;
	border: 0;
	border-left: 4px solid var(--gt-red);
}

/* ---------- Responsivita ---------- */
@media (max-width: 767px) {
	.containerbar.authenticate-bg {
		background-attachment: scroll;
	}

	.auth-box .auth-box-right .card .card-body {
		padding: 30px 24px 26px;
	}
}
