

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/system.auth.authorize/custom/style.css?17701249894992*/
/* Кастомный шаблон авторизации */

.custom-auth-card {
	margin-top: 60px;
	margin-bottom: 60px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	padding: 40px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Иконка успеха */
.success-icon {
	display: inline-block;
	animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
	from {
		transform: scale(0);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.success-icon svg {
	filter: drop-shadow(0 4px 8px rgba(40, 167, 69, 0.2));
}

.custom-auth-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Заголовок */
.custom-auth-header {
	text-align: center;
	margin-bottom: 30px;
}

.custom-auth-title {
	font-size: 28px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
}

.custom-auth-subtitle {
	text-align: center;
	color: #6c757d;
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 0;
	line-height: 1.5;
}

/* Форма */
.custom-auth-form .form-label {
	font-weight: 500;
	color: #495057;
	margin-bottom: 8px;
}

.custom-auth-form .form-control {
	border-radius: 8px;
	border: 2px solid #e9ecef;
	padding: 12px 16px;
	transition: all 0.3s ease;
}

.custom-auth-form .form-control:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.custom-auth-form .form-control-lg {
	font-size: 16px;
	padding: 14px 18px;
}

/* Кнопка */
.custom-auth-form .btn-primary,
.custom-auth-card .btn-primary {
	background: linear-gradient(135deg, var(--main-color-1) 0%, var(--main-color-2) 100%);
	border: none;
	border-radius: 8px;
	padding: 14px 24px;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.custom-auth-form .btn-primary:hover,
.custom-auth-card .btn-primary:hover {
	background: linear-gradient(135deg, var(--main-color-2) 0%, var(--main-color-1) 100%);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.custom-auth-form .btn-primary:active,
.custom-auth-card .btn-primary:active {
	transform: translateY(0);
}

/* Кнопка outline */
.custom-auth-card .btn-outline-primary {
	border: 2px solid var(--main-color-1);
	background: transparent;
	color: var(--main-color-1);
	border-radius: 8px;
	padding: 14px 24px;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.custom-auth-card .btn-outline-primary:hover {
	background: var(--main-color-1);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Checkbox */
.custom-auth-form .form-check-input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	cursor: pointer;
}

.custom-auth-form .form-check-label {
	cursor: pointer;
	margin-left: 8px;
}

/* Ссылки */
.custom-auth-links {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.custom-auth-link {
	color: var(--main-color-1);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.custom-auth-link:hover {
	color: var(--main-color-2);
	text-decoration: underline;
}

/* Разделитель для соцсетей */
.custom-auth-divider {
	position: relative;
	text-align: center;
	margin: 30px 0;
}

.custom-auth-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #e9ecef;
}

.custom-auth-divider span {
	position: relative;
	background: #ffffff;
	padding: 0 15px;
	color: #6c757d;
	font-size: 14px;
	font-weight: 500;
}

/* Алерты */
.custom-auth-card .alert {
	border-radius: 8px;
	margin-bottom: 20px;
}

.custom-auth-card .alert-danger {
	background-color: #ffe8e8;
	border-color: #ffcccc;
	color: #d63031;
}

.custom-auth-card .alert-info {
	background-color: #e7f5ff;
	border-color: #d0ebff;
	color: #1971c2;
	font-size: 13px;
}

/* Captcha */
.custom-auth-form img[alt="CAPTCHA"] {
	border-radius: 8px;
	border: 2px solid #e9ecef;
}

/* Адаптивность */
@media (max-width: 768px) {
	.custom-auth-form-wrapper {
		padding: 30px 15px;
	}
	
	.custom-auth-card {
		padding: 30px 20px;
	}
	
	.custom-auth-title {
		font-size: 24px;
	}
	
	.custom-auth-links {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 576px) {
	.custom-auth-card {
		padding: 25px 15px;
	}
	
	.custom-auth-form .btn-lg {
		font-size: 16px;
	}
}

/* Анимация появления */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-auth-card {
	animation: fadeIn 0.5s ease;
}

/* Состояние required полей */
.custom-auth-form .form-control:required:invalid {
	border-color: #e9ecef;
}

.custom-auth-form .form-control:required:valid {
	border-color: #28a745;
}

/* Фокус на красном для обязательных полей */
.text-danger {
	color: #dc3545 !important;
}


/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/system.auth.authorize/custom/style.css?17701249894992 */
