

/* Start:/local/templates/specparking/components/bitrix/system.auth.authorize/specparking/style.css?17749394807156*/
.auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a1f2e 0%, #242b3d 100%);
	padding: 1rem;
	position: relative;
	overflow: hidden;
}

.auth-page::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
	animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-container {
	width: 100%;
	max-width: 420px;
	position: relative;
	z-index: 1;
}

/* Card */
.auth-card {
	background: rgba(36, 43, 61, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	border: 1px solid rgba(139, 92, 246, 0.2);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.auth-header {
	padding: 2rem 2rem 1.5rem;
	text-align: center;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
	border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.auth-logo {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	background: linear-gradient(135deg, #f59e0b, #ef4444);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	color: white;
	box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.auth-title {
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 0.5rem;
}

.auth-subtitle {
	color: #a0aec0;
	font-size: 0.875rem;
	margin: 0;
}

/* Form */
.auth-form {
	padding: 1.5rem 2rem 2rem;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	color: #a0aec0;
	font-size: 0.875rem;
	font-weight: 500;
}

.input-wrapper {
	position: relative;
}

.input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7280;
	font-size: 1rem;
	transition: color 0.3s;
}

.form-input {
	width: 100%;
	padding: 0.875rem 1rem 0.875rem 2.75rem;
	background: #1a1f2e;
	border: 1px solid #374151;
	border-radius: 10px;
	color: #ffffff;
	font-size: 0.9375rem;
	transition: all 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: #8b5cf6;
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
	color: #8b5cf6;
}

.form-input::placeholder {
	color: #6b7280;
}

.password-toggle {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7280;
	background: none;
	border: none;
	padding: 0.25rem;
	cursor: pointer;
	transition: color 0.3s;
}

.password-toggle:hover {
	color: #8b5cf6;
}

/* Checkbox */
.form-checkbox {
	margin: 1rem 0;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.checkbox-label input {
	display: none;
}

.checkbox-custom {
    display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid #374151;
	border-radius: 4px;
	margin-right: 0.5rem;
	position: relative;
	transition: all 0.3s;
	flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
	background: #8b5cf6;
	border-color: #8b5cf6;
}

.checkbox-custom::after {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	color: white;
	font-size: 10px;
	transition: transform 0.2s;
}

.checkbox-label input:checked + .checkbox-custom::after {
	transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
	color: #a0aec0;
	font-size: 0.875rem;
}

/* Button */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	border: none;
}

.btn-primary {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: white;
	box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.5);
}

.btn-block {
	width: 100%;
}

/* Links */
.auth-links {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #374151;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.auth-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #a0aec0;
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.3s;
}

.auth-link:hover {
	color: #8b5cf6;
}

.auth-link-register {
	color: #8b5cf6;
	font-weight: 500;
}

.auth-link-register:hover {
	color: #a78bfa;
}

.auth-hint {
	color: #6b7280;
	font-size: 0.75rem;
	margin: 0.25rem 0 0 1.5rem;
}

/* Captcha */
.captcha-image {
	margin-bottom: 0.75rem;
	background: #1a1f2e;
	padding: 0.5rem;
	border-radius: 8px;
	border: 1px solid #374151;
}

.captcha-image img {
	display: block;
	width: 100%;
	max-width: 180px;
	height: auto;
	border-radius: 4px;
}

/* Social Auth */
.social-auth {
	margin-top: 1.5rem;
}

.divider {
	position: relative;
	text-align: center;
	margin-bottom: 1rem;
}

.divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #374151;
}

.divider span {
	position: relative;
	background: #1a1f2e;
	padding: 0 1rem;
	color: #6b7280;
	font-size: 0.875rem;
}

/* Bitrix Secure Auth */
.bx-auth-secure {
	margin-left: 0.5rem;
	vertical-align: middle;
}

.bx-auth-secure-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url(/bitrix/templates/.default/images/sec.png) no-repeat center;
	background-size: contain;
	vertical-align: middle;
}

.bx-auth-secure-unlock {
	background-image: url(/bitrix/templates/.default/images/sec-unlocked.png);
}

/* Responsive */
@media (max-width: 480px) {
	.auth-card {
		border-radius: 12px;
	}

	.auth-header {
		padding: 1.5rem 1.5rem 1rem;
	}

	.auth-form {
		padding: 1.25rem 1.5rem 1.5rem;
	}

	.auth-logo {
		width: 56px;
		height: 56px;
		font-size: 1.5rem;
	}

	.form-input {
		padding: 0.75rem 1rem 0.75rem 2.5rem;
		font-size: 16px; /* Prevent zoom on iOS */
	}
}

/* Error messages */
.auth-page .errortext,
.auth-page .notetext {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
	padding: 0.875rem 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.auth-page .errortext::before {
	content: '\f071';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

.auth-page .notetext {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.3);
	color: #6ee7b7;
}

.auth-page .notetext::before {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

/* End */


/* Start:/local/templates/specparking/styles.css?1774939480459*/
.eye-btn {
    margin-top: 3px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor:pointer;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
}

.eye-btn:hover {filter: invert(100%) saturate(200%);}

.eye-btn.open {
  background-image: url('/local/templates/specparking/images/eye-open.png');
  background-size: contain;
}
.eye-btn.close {
  background-image: url('/local/templates/specparking/images/eye-close.png');
  background-size: contain;
}
/* End */
/* /local/templates/specparking/components/bitrix/system.auth.authorize/specparking/style.css?17749394807156 */
/* /local/templates/specparking/styles.css?1774939480459 */
