/* Admin Login Page Styles */

/* Page Layout */
.login-container {
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* Language Selector */
.language-selector {
	position: absolute;
	top: 20px;
	right: 20px;
}

.language-selector .dropdown-toggle {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 500;
	backdrop-filter: blur(10px);
}

.language-selector .dropdown-toggle:hover,
.language-selector .dropdown-toggle:focus {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	color: white;
}

.language-selector .dropdown-menu {
	min-width: 120px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.language-selector .dropdown-item {
	padding: 8px 16px;
}

.language-selector .dropdown-item:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.language-selector .dropdown-item.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

/* Login Card */
.login-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	max-width: 400px;
	width: 100%;
}

.login-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 2rem;
	text-align: center;
}

.login-body {
	padding: 2rem;
}

/* Form Controls */
.login-body .form-control {
	border-radius: 10px;
	padding: 12px 15px;
	border: 1px solid #e1e5e9;
}

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

.login-body .form-floating {
	margin-bottom: 1rem;
}

/* Login Button */
.btn-login {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 10px;
	padding: 12px 30px;
	font-weight: 600;
	transition: all 0.3s ease;
}

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

/* Footer */
.login-footer {
	padding: 1rem 2rem;
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
}

/* Brand */
.brand-logo {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

/* Alert */
.login-body .alert {
	border-radius: 10px;
	margin-bottom: 1rem;
}

/* Remember Me */
.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 1rem;
}

/* Forgot Password */
.forgot-password {
	color: #667eea;
	text-decoration: none;
}

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

/* --- Social Login --- */

.social-divider {
	display: flex;
	align-items: center;
	margin: 1.25rem 0;
	color: #9ca3af;
	font-size: 0.85rem;
}

.social-divider::before,
.social-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #e5e7eb;
}

.social-divider span {
	padding: 0 0.75rem;
	white-space: nowrap;
}

.social-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.btn-social {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e1e5e9;
	background: white;
	color: #374151;
	font-size: 1.1rem;
	transition: all 0.2s ease;
	text-decoration: none;
}

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

.btn-social.google { color: #ea4335; }
.btn-social.google:hover { background: #fef2f2; border-color: #ea4335; }

.btn-social.facebook { color: #1877f2; }
.btn-social.facebook:hover { background: #eff6ff; border-color: #1877f2; }

.btn-social.github { color: #333; }
.btn-social.github:hover { background: #f3f4f6; border-color: #333; }

.btn-social.vk { color: #4a76a8; }
.btn-social.vk:hover { background: #f0f4f8; border-color: #4a76a8; }

.btn-social.yandex { color: #fc3f1d; }
.btn-social.yandex:hover { background: #fff5f2; border-color: #fc3f1d; }

.btn-social.telegram { color: #0088cc; }
.btn-social.telegram:hover { background: #f0f9ff; border-color: #0088cc; }

.btn-social.apple { color: #000; }
.btn-social.apple:hover { background: #f3f4f6; border-color: #000; }

/* Pending social link info banner */
.pending-social-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	color: #1e40af;
}

/* Responsive */
@media (max-width: 576px) {
	.login-card {
		margin: 1rem;
	}

	.login-header {
		padding: 1.5rem;
	}

	.login-body {
		padding: 1.5rem;
	}
}
