/* SWDC login refresh */
body.login {
	background: linear-gradient(135deg, #1a2f52 0%, #203b66 45%, #2a4a7a 100%) !important;
	min-height: 100vh;
	font-family: 'Open Sans', sans-serif;
}

body.login:before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(45, 181, 63, 0.18) 0%, transparent 42%),
		radial-gradient(circle at 85% 80%, rgba(53, 152, 220, 0.14) 0%, transparent 40%);
	pointer-events: none;
	z-index: 0;
}

body.login .logo,
body.login .content,
body.login .copyright {
	position: relative;
	z-index: 1;
}

body.login .logo {
	margin-top: 48px;
	padding: 0 20px 8px;
}

body.login .logo img {
	max-height: 72px;
	width: auto;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

body.login .content {
	width: 420px;
	max-width: calc(100% - 32px);
	margin: 28px auto 16px;
	padding: 36px 32px 28px;
	-webkit-border-radius: 22px !important;
	-moz-border-radius: 22px !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow:
		0 24px 60px rgba(15, 32, 58, 0.28),
		0 8px 20px rgba(15, 32, 58, 0.12);
	overflow: hidden;
}

body.login .swdc-login-header {
	text-align: center;
	margin-bottom: 24px;
}

body.login .swdc-login-header h2 {
	margin: 0 0 6px;
	color: #203b66;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

body.login .swdc-login-header p {
	margin: 0;
	color: #6b7c93;
	font-size: 15px;
	font-weight: 400;
}

body.login .content .form-title {
	display: none;
}

body.login .swdc-login-error {
	margin-bottom: 18px;
	padding: 12px 14px;
	-webkit-border-radius: 12px !important;
	-moz-border-radius: 12px !important;
	border-radius: 12px !important;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #be123c;
	font-size: 13px;
	line-height: 1.5;
}

body.login .content .form-group {
	margin-bottom: 16px;
}

body.login .content .form-control {
	height: 48px;
	padding: 12px 16px;
	border: 1px solid #dbe3ef;
	-webkit-border-radius: 14px !important;
	-moz-border-radius: 14px !important;
	border-radius: 14px !important;
	background: #f7f9fc;
	color: #203b66;
	font-size: 14px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.login .content .form-control:focus,
body.login .content .form-control:active {
	border-color: #2db53f;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(45, 181, 63, 0.14);
}

body.login .content .form-control::-moz-placeholder {
	color: #8a98ab;
	opacity: 1;
}

body.login .content .form-control:-ms-input-placeholder,
body.login .content .form-control::-webkit-input-placeholder {
	color: #8a98ab;
}

body.login .content .form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 22px -32px 0;
	padding: 20px 32px 0;
	border: 0;
	border-top: 1px solid #edf1f6;
}

body.login .content .swdc-login-actions {
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
}

body.login .content .rememberme {
	margin: 0;
	color: #6b7c93;
	font-size: 13px;
}

body.login .content .swdc-login-btn,
body.login .content .form-actions .btn.green {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 24px !important;
	border: 0 !important;
	-webkit-border-radius: 999px !important;
	-moz-border-radius: 999px !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #35d04a 0%, #2db53f 45%, #209632 100%) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
	box-shadow:
		0 14px 28px rgba(45, 181, 63, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	position: relative;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.login .content .swdc-login-btn:before {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 80%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
	transform: skewX(-18deg);
	transition: left 0.45s ease;
}

body.login .content .swdc-login-btn:hover:before,
body.login .content .swdc-login-btn:focus:before {
	left: 140%;
}

body.login .content .swdc-login-btn-text,
body.login .content .swdc-login-btn-icon {
	position: relative;
	z-index: 1;
}

body.login .content .swdc-login-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	-webkit-border-radius: 999px !important;
	-moz-border-radius: 999px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.16);
	font-size: 12px;
	transition: transform 0.18s ease, background 0.18s ease;
}

body.login .content .swdc-login-btn:hover,
body.login .content .swdc-login-btn:focus,
body.login .content .form-actions .btn.green:hover,
body.login .content .form-actions .btn.green:focus {
	background: linear-gradient(135deg, #3fe255 0%, #2db53f 45%, #1f8f30 100%) !important;
	filter: none;
	transform: translateY(-2px);
	box-shadow:
		0 18px 34px rgba(45, 181, 63, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	color: #fff !important;
	outline: none;
}

body.login .content .swdc-login-btn:hover .swdc-login-btn-icon,
body.login .content .swdc-login-btn:focus .swdc-login-btn-icon {
	transform: translateX(2px);
	background: rgba(255, 255, 255, 0.24);
}

body.login .content .swdc-login-btn:active {
	transform: translateY(0);
	box-shadow:
		0 8px 18px rgba(45, 181, 63, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.login .content .swdc-login-btn-blue {
	background: linear-gradient(135deg, #4dabf7 0%, #3598dc 45%, #2a7fbd 100%) !important;
	box-shadow:
		0 14px 28px rgba(53, 152, 220, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.login .content .swdc-login-btn-blue:hover,
body.login .content .swdc-login-btn-blue:focus {
	background: linear-gradient(135deg, #5cb8ff 0%, #3598dc 45%, #256fa8 100%) !important;
	box-shadow:
		0 18px 34px rgba(53, 152, 220, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.login .content .swdc-login-btn-outline {
	width: auto;
	min-width: 110px;
	height: 46px;
	border: 1px solid #cfd8e6 !important;
	-webkit-border-radius: 999px !important;
	-moz-border-radius: 999px !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #203b66 !important;
	font-weight: 600;
	box-shadow: none;
}

body.login .content .swdc-login-btn-outline:hover,
body.login .content .swdc-login-btn-outline:focus {
	background: #f7f9fc !important;
	border-color: #203b66 !important;
	color: #203b66 !important;
	transform: none;
	box-shadow: none;
}

body.login .content .form-group p {
	margin: 18px 0 0;
	text-align: center;
}

body.login .content #forget-password {
	color: #3598dc;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

body.login .content #forget-password:hover {
	color: #203b66;
	text-decoration: underline;
}

body.login .forget-form h3 {
	color: #203b66 !important;
	font-weight: 700;
}

body.login .forget-form p {
	color: #6b7c93;
}

body.login .forget-form .form-actions,
body.login .forget-form .swdc-forget-actions {
	border-top: 1px solid #edf1f6;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.login .forget-form .swdc-forget-actions .swdc-login-btn {
	width: auto;
	flex: 1 1 auto;
}

body.login .copyright {
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	margin-bottom: 24px;
}

@media (max-width: 480px) {
	body.login .logo {
		margin-top: 24px;
	}

	body.login .content {
		padding: 28px 22px 22px;
		-webkit-border-radius: 18px !important;
		-moz-border-radius: 18px !important;
		border-radius: 18px !important;
	}

	body.login .content .form-actions {
		margin-left: -22px;
		margin-right: -22px;
		padding-left: 22px;
		padding-right: 22px;
	}

	body.login .forget-form .swdc-forget-actions {
		flex-direction: column;
		align-items: stretch;
	}

	body.login .forget-form .swdc-forget-actions .swdc-login-btn-outline,
	body.login .forget-form .swdc-forget-actions .swdc-login-btn {
		width: 100%;
	}
}
