/**
 * /www/wwwroot/client.netcorehub.net/assets/css/login.css
 */

:root {
	--bg: #f4f7fb;
	--card-bg: #ffffff;
	--text: #1f2937;
	--muted: #667085;
	--border: #d0d5dd;
	--primary: #1f4d7a;
	--primary-hover: #163a5b;
	--link: #2f5d73;
	--error-bg: #fde8e8;
	--error-text: #a30000;
	--shadow: 0 8px 30px rgba(0,0,0,0.08);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
}

body[dir="rtl"] {
	text-align: right;
}

.login-wrapper {
	width: 100%;
	max-width: 440px;
	margin: 80px auto;
	background: var(--card-bg);
	padding: 30px;
	border-radius: 12px;
	box-shadow: var(--shadow);
}

.logo {
	text-align: center;
	margin-bottom: 18px;
}

.logo img {
	max-width: 220px;
	height: auto;
}

.tagline {
	text-align: center;
	font-size: 13px;
	color: var(--muted);
	margin-top: 6px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lang-switch-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 22px;
}

.lang-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.lang-switch a {
	text-decoration: none;
	color: var(--link);
	font-size: 13px;
	letter-spacing: 0.02em;
}

.lang-switch a.active {
	font-weight: bold;
}

h1 {
	font-size: 24px;
	margin: 0 0 10px 0;
	text-align: center;
}

.subtitle {
	color: var(--muted);
	margin: 0 0 24px 0;
	text-align: center;
}

.error-box {
	background: var(--error-bg);
	color: var(--error-text);
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 18px;
}

label {
	display: block;
	margin-bottom: 6px;
	font-weight: bold;
}

.input-wrap {
	margin-bottom: 18px;
}

input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
}

.password-wrap {
	position: relative;
}

.password-wrap input {
	padding-right: 46px;
}

.toggle-pass {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 12px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 0;
}

body[dir="rtl"] .toggle-pass {
	right: auto;
	left: 12px;
}

.forgot-password {
	text-align: right;
	margin-top: -8px;
	margin-bottom: 15px;
}

body[dir="rtl"] .forgot-password {
	text-align: left;
}

.forgot-password a {
	font-size: 13px;
	color: var(--link);
	text-decoration: none;
}

.forgot-password a:hover {
	text-decoration: underline;
}

button[type="submit"] {
	width: 100%;
	padding: 12px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
}

button[type="submit"]:hover {
	background: var(--primary-hover);
}