@font-face {
	font-family: 'negar';
	src: url('/habases/fonts/negar.ttf') format('truetype');
	font-weight:normal;
	font-style:normal;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body {
	font-family: 'negar', 'Iranian Sans', Tahoma, sans-serif;
	/*background: linear-gradient(145deg, #ffffff, #ffffff);*/
	background-image: url("/habases/Image/backaround/splash.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	color: #e8edf5;
	display: flex;
	justify-content: center;
	align-items: center;
}

.card {
	max-width: 440px;
	width: 100%;
	justify-content: center;
	/*background: #141b2b;
	background: #aaeeeae6;*/
	border-radius: 32px;
	/*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);*/
	/*border: 1px solid #2a3650;*/
	transition: all 0.2s;
	position: absolute;
	bottom: 50px;
}
.header {
	text-align: center;
	margin-bottom: 32px;
}

.header_h {
	font-size: 2.5rem;
	text-align: center;
	position: absolute;
	top: 100px;
}
.header .icon {
	font-size: 3.2rem;
	margin-bottom: 8px;
	display: block;
}
.header h2 {
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, #e8edf5, #8a9bb5);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.header p {
	color: #8a9bb5;
	font-size: 0.95rem;
	margin-top: 4px;
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	color: #b0c3de;
	margin-bottom: 6px;
	margin-right: 25px;
}
.form-group .input-wrapper {
	position: relative;
	margin: 0 auto;
	width: 85%;
	/*background: #0f1625;*/
	border-radius: 14px;
	/*border: 1px solid #28324b;*/
	border: 1.5px solid #ffffff;
	transition: 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}
.form-group .input-wrapper:focus-within {
	border-color: #4a6a9e;
	box-shadow: 0 0 0 3px rgba(74, 106, 158, 0.3);
}
.form-group .input-wrapper .input-icon {
	padding: 0 12px 0 8px;
	font-size: 1.2rem;
	color: #5a6f8f;
	user-select: none;
}
.form-group input {
	width: 85%;
	padding: 14px 16px 14px 12px;
	background: transparent;
	border: none;
	outline: none;
	color: #e8edf5;
	font-size: 1rem;
	font-family: inherit;
	direction: rtl;
}
.form-group input::placeholder {
	color: #4d6080;
	font-size: 0.95rem;
}
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #0f1625 inset !important;
	-webkit-text-fill-color: #e8edf5 !important;
	border-radius: 14px;
}
.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 18px 0 24px;
	font-size: 0.9rem;
}
.form-options label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #9aafcf;
	cursor: pointer;
}
.form-options input[type="checkbox"] {
	accent-color: #4a6a9e;
	width: 18px;
	height: 18px;
	cursor: pointer;
}
.form-options a {
	color: #7a9ad0;
	text-decoration: none;
	font-size: 0.9rem;
	transition: 0.2s;
	margin-right: 20px;
}
.form-options a:hover {
	color: #aac3f0;
	text-decoration: underline;
}
.login-btn {
	margin: 0 auto;
	width: 85%;
	background: linear-gradient(145deg, #2a3a5c, #1a263e);
	border: none;
	color: white;
	padding: 10px 24px;
	border-radius: 60px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s;
	border: 1px solid #3f5277;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.3px;
}
.login-btn:hover {
	background: #304774;
	border-color: #5a72a0;
	transform: scale(1.02);
	box-shadow: 0 6px 16px rgba(0, 20, 80, 0.4);
}
.login-btn:active {
	transform: scale(0.97);
}
.login-btn svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.signup-link {
	text-align: center;
	margin-top: 22px;
	color: #7a8daa;
	font-size: 0.95rem;
}
.signup-link a {
	color: #7a9ad0;
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	transition: 0.2s;
}
.signup-link a:hover {
	color: #aac3f0;
	color: #ffffff;
	text-decoration: underline;
}
.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0;
	color: #3d4d69;
	font-size: 0.85rem;
}
.divider::before,
.divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #28324b;
}
.social-login {
	display: flex;
	gap: 12px;
	justify-content: center;
}
.social-btn {
	flex: 1;
	padding: 10px;
	background: #0f1625;
	border: 1px solid #28324b;
	border-radius: 14px;
	color: #b0c3de;
	font-size: 1rem;
	cursor: pointer;
	transition: 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.social-btn:hover {
	background: #1a233a;
	border-color: #3f5277;
	transform: translateY(-2px);
}
.social-btn .social-icon {
	font-size: 1.3rem;
}
.status-badge {
	background: #1f2a3f;
	padding: 6px 16px;
	border-radius: 40px;
	font-size: 0.8rem;
	color: #b7c7e0;
	border: 1px solid #31415e;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}
.status-badge .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #f1c40f;
	transition: 0.3s;
}
.status-badge .dot.active {
	background: #2ecc71;
	box-shadow: 0 0 12px #2ecc7190;
}
.error-message {
	background: rgba(231, 76, 60, 0.15);
	border: 1px solid rgba(231, 76, 60, 0.3);
	border-radius: 12px;
	padding: 10px 14px;
	color: #e74c3c;
	font-size: 0.9rem;
	margin-bottom: 16px;
	display: none;
	text-align: center;
}
.error-message.show {
	display: block;
}
@media (max-width: 480px) {
	.card { padding: 24px 18px 28px; }
	.header h1 { font-size: 1.7rem; }
	.form-options { flex-direction: column; gap: 12px; align-items: flex-start; }
	.social-login { flex-direction: column; }
}