/* Login Page Styles */

body {
	background-color: #f8f9fa !important;
}
.auth-link {
	text-decoration: none;
	color: #64748B;
}
.auth-link:hover {
	color: #0277bd;
}

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

.login-box {
	background: white;
	border-radius: 12px;
	padding: 40px;
	width: 100%;
	max-width: 450px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.login-header {
	background: #0288d1;
	color: white;
	padding: 15px 20px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.form-group {
	color: #64748B;
}
.form-input::placeholder {
	opactiy: 1;
	color: #b0b0b0;
}
.login-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: bold;
	color: white;
	text-decoration: none;
}

.login-logo-icon {
	font-size: 32px;
}

.login-link {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 16px;
}

.login-link:hover {
	opacity: 0.9;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	color: #64748B;
	font-size: 14px;
}

.form-input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: #0288d1;
}

.form-input.error {
	border-color: #f44336;
}

.error-message {
	color: #f44336;
	font-size: 13px;
	margin-top: 8px;
	line-height: 1.4;
}

.btn-primary {
	width: 100%;
	background: #0288d1;
	color: white;
	padding: 14px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
	margin-bottom: 20px;
	text-align: center;
	height: 50px;

}

.btn-primary:hover {
	background: #0277bd;
}

/* Вторая кнопка - "新しいアカウント作成" */
.btn-secondary {
	width: 100%;
	background: #00bcd4;
	text-decoration: none;
	color: white;
	padding: 14px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
	display: block;
	text-align: center;
}

.btn-secondary:hover {
	background: #00acc1;
	color: white;
	text-decoration: none;
}

.btn-cancel {
	width: 100%;
	background: white;
	color: #0288d1;
	padding: 14px;
	border: 1px solid #0288d1;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 15px;
}

.btn-cancel:hover {
	background: #f5f5f5;
}

.text-link {
	display: block;
	text-align: center;
	color: #64748B;
	text-decoration: none;
	font-size: 14px;
	margin-top: 20px;
	transition: border-color 0.3s;
	margin-bottom: 20px;
}

.text-link:hover {
	text-decoration: auto;
	color: #0277bd;
}

.logout-title {
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin-bottom: 30px;
}

.alert {
	background: #ffebee;
	border: 1px solid #f44336;
	color: #c62828;
	padding: 12px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 14px;
}

.field_with_errors {
	display: contents;
}

.field_with_errors .form-input {
	border-color: #f44336;
}
