:root {
	--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	--glass-bg: rgba(255, 255, 255, 0.1);
	--glass-border: rgba(255, 255, 255, 0.2);
}

body {
	min-height: 100vh;
	background: var(--primary-gradient);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	overflow-x: hidden;
}

.login-container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.login-left {
	background: rgba(0, 0, 0, 0.3);
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.login-left::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 100%;
	height: 200%;
	background: var(--secondary-gradient);
	opacity: 0.1;
	animation: rotate 20s linear infinite;
}

img.logo {
	width: 100%;
}

img.logo.desktop {
	margin-left: -2%;
}

@keyframes rotate {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.login-right {
	padding: 40px;
	background: white;
}

.brand-logo {
	font-size: 2.5rem;
	font-weight: 800;
	background: linear-gradient(45deg, #667eea, #764ba2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 1rem;
}

.brand-subtitle {
	color: #ffffff;
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

.form-control {
	padding: 12px 20px;
	border-radius: 10px;
	border: 2px solid #e9ecef;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: #667eea;
	box-shadow: none;/*0 0 0 0.25rem rgba(102, 126, 234, 0.25);*/
}

.form-label {
	font-weight: 600;
	color: #495057;
	margin-bottom: 0.5rem;
}

.btn-login {
	color: #f6f6f6;
	background: var(--primary-gradient);
	border: none;
	padding: 12px;
	font-weight: 600;
	border-radius: 10px;
	transition: all 0.3s ease;
	width: 100%;
}

.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
	transform: translateY(0);
}

.input-group-text {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-right: none;
	border-radius: 10px 0 0 10px;
}

.password-toggle {
	cursor: pointer;
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-left: none;
	border-radius: 0 10px 10px 0;
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0;
}

.feature-list li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.9);
}

.feature-list i {
	color: #667eea;
	background: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.demo-credentials {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 20px;
	margin-top: 2rem;
	border-left: 4px solid #667eea;
}

.demo-credentials h6 {
	color: white;
	margin-bottom: 1rem;
}

.demo-credentials p {
	margin-bottom: 0.5rem;
	color: rgba(255, 255, 255, 0.8);
}

.demo-credentials strong {
	color: white;
}

.social-login {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.social-btn {
	flex: 1;
	padding: 10px;
	border-radius: 10px;
	border: 2px solid #e9ecef;
	background: white;
	transition: all 0.3s ease;
}

.social-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.forgot-password {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.forgot-password:hover {
	color: #764ba2;
	text-decoration: underline;
}

.login-footer {
	text-align: center;
	margin-top: 2rem;
	color: #6c757d;
	font-size: 0.9rem;
}

.login-footer a {
	color: #667eea;
	text-decoration: none;
}

.login-footer a:hover {
	text-decoration: underline;
}

.pulse-animation {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
	70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
	100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

/* Темная тема для правой части */
[data-bs-theme="dark"] .login-right {
	background: #212529;
	color: #f8f9fa;
}

[data-bs-theme="dark"] .form-control {
	background: #2b3035;
	border-color: #495057;
	color: #f8f9fa;
}

[data-bs-theme="dark"] .form-label {
	color: #e9ecef;
}

[data-bs-theme="dark"] .input-group-text {
	background: #2b3035;
	border-color: #495057;
	color: #f8f9fa;
}

[data-bs-theme="dark"] .password-toggle {
	background: #2b3035;
	border-color: #495057;
	color: #f8f9fa;
}

[data-bs-theme="dark"] .brand-subtitle {
	color: #adb5bd;
}

/* Адаптивность */
@media (max-width: 992px) {
	.login-left {
		padding: 30px;
	}
	
	.login-right {
		padding: 30px;
	}
	
	.brand-logo {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.glass-card {
		margin: 20px;
	}
	
	.login-left {
		padding: 40px 20px;
		text-align: center;
	}
	
	.login-right {
		padding: 40px 20px;
	}
	
	.feature-list li {
		justify-content: center;
	}
}

/* Эффекты для улучшения UX */
.form-control::placeholder {
	color: #6c757d;
	opacity: 0.7;
}

.form-control:focus::placeholder {
	opacity: 0.5;
}

.form-check-input:checked {
	background-color: #667eea;
	border-color: #667eea;
}

/* Плавные переходы */
* {
	transition: background-color 0.3s ease, border-color 0.3s ease;
}