/* Стили для страниц авторизации и регистрации */

.auth-container {
	max-width: 450px;
	margin: 60px auto;
	padding: 40px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-title {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 10px;
	color: #000;
}

.auth-subtitle {
	font-size: 16px;
	text-align: center;
	color: #666;
	margin-bottom: 30px;
}

.auth-errors {
	margin-bottom: 20px;
}

.auth-errors .error {
	color: #e74c3c;
	background: #fef5f5;
	padding: 10px 15px;
	border-radius: 8px;
	margin-bottom: 10px;
	font-size: 14px;
}

.auth-errors .success {
	color: #27ae60;
	background: #f0fdf4;
	padding: 10px 15px;
	border-radius: 8px;
	margin-bottom: 10px;
	font-size: 14px;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.auth-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.auth-label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.auth-input {
	padding: 12px 16px;
	font-size: 15px;
	border: 2px solid #ededed;
	border-radius: 8px;
	transition: border-color 0.2s;
	font-family: inherit;
}

.auth-input:focus {
	outline: none;
	border-color: #000;
}

.auth-submit {
	margin-top: 10px;
}

.auth-button {
	width: 100%;
	padding: 14px;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
}

.auth-button:hover {
	background-color: #222;
	transform: scale(1.02);
}

.auth-switch {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: #666;
}

.auth-link {
	color: #000;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s;
}

.auth-link:hover {
	opacity: 0.7;
}

.auth-message {
	max-width: 500px;
	margin: 80px auto;
	padding: 30px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.auth-message p {
	font-size: 18px;
	margin-bottom: 20px;
	color: #333;
}

.auth-message .auth-link {
	display: inline-block;
	margin: 0 10px;
	padding: 10px 20px;
	background-color: #000;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.2s;
}

.auth-message .auth-link:hover {
	transform: scale(1.05);
}

@media (max-width: 768px) {
	.auth-container {
		margin: 40px 20px;
		padding: 30px 20px;
	}

	.auth-title {
		font-size: 26px;
	}

	.auth-subtitle {
		font-size: 14px;
	}
}
