@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('../fonts/Segoe UI.woff') format('woff');
}

.km-icon:after,.km-icon:before {
	font: 1em/1em "customOMDFont"
}

.km-setting:after,.km-setting:before {
	content: "\e953";
}

.km-goback:after,.km-goback:before {
	content: "\e95e";
}

.km-retry:after,.km-retry:before {
	content: "\e94c"
}

.k-button .km-text {
    font-weight: bold;
}

.k-view {
    overflow: hidden; /* override Kendo's full-screen style */
}

/*
 * Navbar & Logo
 */
.logo {
	position: absolute;
	width: auto;
	height: 214px;
	top: 0;
	margin-top: 0;
	transition: height .4s !important;
	z-index: 5000;
	margin-left: 75px;
}

.grey-header {
	height: 130px;
	background-color: #f8f8f9;
}

.help-button {
	top: 0.2em;
	left: 2em;
}

#login>span {
	color: white;
}

#login {
	font-size: 30px;
	margin-top: -12px;
}

header>div {
	height: 70px;
}

#msg_welcome {
	font-weight: bold;
	font-size: 28px;
}

.km-view-title>* {
	font-weight: bold;
	visibility: hidden;
}

#change_pass_wrapper {
	margin-top: 40px;
	text-align: center;
}

#noaccount_wrapper {
	margin-left: 15px;
	margin-top: 20px;
}

#new_account_list,
#activate_list {
	margin: 0;
	padding: 0;
}

#new_account_list li,
#activate_list li {
	list-style: none;
	padding-bottom: .7em;
}

#new_account_list li.status,
#activate_list li.status {
	text-align: center;
}

#new_account_list li .k-widget:not(.k-tooltip ),#new_account_list li .k-textbox,
#activate_list li .k-widget:not(.k-tooltip ),#activate_list li .k-textbox
{
	margin: 0 5px 5px 0;
}

.title {
	margin-top: 10px;
	font-size: 17px;
	font-weight: bold;
	color: #666666;
	padding: 0;
}

#main_logo:hover {
	cursor: pointer;
}

#main>header>div>div.km-rightitem>a>span {
	font-size: 25px;
	margin-top: 30px;
}

#new_account_list>li>span,#forgot_password_list>li>span,#change_pass_list>li>span,#reset_password_list>li>span,#activate_list>li>span
	{
	position: fixed;
}

#fp_clickHere {
	color: #666666;
	border: 1px solid #666666;
	border-radius: 66px;
}

a#fp_clickHere:hover {
	color: #7e9ac8;
	border: 1px solid #7e9ac8;
}

#fp_clickHere.km-state-active {
	color: white !important;
	background-color: #d3711c;
	border: 1px solid #d3711c !important;
}

#loginform, #oauth2-login-form {
	text-align: center;
	margin-top: 70px;
}

#terms-wrapper {
	padding: 10px;
}

#new_account_wrap,
#login_wrap,
#activate_account_wrap,
#newmail_wrap,
#forgot_pass_wrap {
	text-align: center;
    max-height: 100vh; 
	height: calc(100vh - 50px);
    overflow-y: auto;
}

#new_account_error {
	color:red;
	margin-top:10%;
}

@media only screen and (min-width: 800px) {
	/* common elements */
	.page-title {
		font-weight: bold;
		font-size: 19px;
		color: black;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}
	.footer {
		margin-bottom: 25px;
		margin-left: 35px;
	}

	/*login page */
	.logo {
		border: 0px;
		max-width: 100%;
	}
	#loginform-list {
		margin-top: 40px;
	}
	#msg_welcome {
		text-align: left;
		color: #7d99bf;
	}
	#loginform-username {
		margin-top: 70px;
	}
	.form-prompt {
		width: 250px;
		clear: both;
		display: inline-grid;
		text-align: left;
		vertical-align: middle;
	}
	#login-buttons {
		margin-top: 90px;
		text-align: center;
		display: block
	}
	#login-buttons-mobile {
		display: none;
	}
	#authenticate {
		width: 300px;
		height: 35px;
		background-color: #7d99bf;
		font-size: 16px;
		color: white;
		border: none;
	}
	#username,#password,#oauth2-username,#oauth2-password,#cloneConfiguration_dropdown {
		width: 350px;
	}
	#noaccount {
		width: 300px;
		height: 35px;
		background-color: rgb(88, 90, 86);
		font-size: 16px;
		color: white;
		border: none;
		touch-action: none;
	}

	/* registration page */
	#firstname,#lastname,#screenname,#email,#password_reg,#password_reg_repeat,#forgot_username
		{
		width: 250px;
		clear: both;
	}
}

/* mobile */
@media only screen and (max-width : 800px) {
	
	/* common elements */
	.k-tooltip.k-tooltip-validation.k-invalid-msg {
		display: none !important;
	}
	.page-title {
		font-size: 20px;
		text-align: center;
		color: #d3711c;
		line-height: 34px;
		font-weight: bold;
		letter-spacing: .04em;
		margin-top: 70px
	}
	.footer {
		display: none;
	}

	/*login page */
	.logo-wrapper {
		text-align: center;
	}
	.logo {
		border: 0px;
		height: 50px;
	}
	.km-ios7 .km-view .km-navbar {
		height: 50px !important;
	}
	.grey-header {
		display: none;
	}
	#loginform-list {
		padding: 0;
	}
	#msg_welcome {
		text-align: center;
		color: #7d99bf;
	}
	#loginform-username {
		margin-top: 35px;
	}
	.form-prompt {
		width: 250px;
		text-align: center;
		margin-bottom: 20px;
		display: none;
		visibility: hidden;
		vertical-align: middle;
	}
	#login-buttons {
		display: none;
	}
	#login-buttons-mobile {
		display: block;
		margin-top: 40px;
		text-align: center;
	}
	#authenticate-mobile,#noaccount-mobile {
		width: 85% !important;
	}
	#authenticate-mobile {
		height: 35px;
		background-color: #7d99bf;
		font-size: 16px;
		color: white;
		border: none;
	}
	#username,#password,#oauth2-username,#oauth2-password {
		width: 83%;
	}
	#noaccount-mobile {
		width: 85%;
		height: 35px;
		background-color: rgb(88, 90, 86);
		font-size: 16px;
		color: white;
		border: none;
		touch-action: none;
		margin-top: 10px;
	}

	/* registration page */
	#new_account,
	#activate {
		margin-top: 25px;
	}
	#firstname,#lastname,#screenname,#email,#password_reg,#password_reg_repeat,#forgot_username
		{
		width: 83%;
	}
	#confirm_new_account,#send_forgot_pass {
		width: 85%;
	}

	/* reset password */
	#forgot_password_list {
		padding: 0;
	}

	/* failed login page */
	#failed-login-list {
		padding: 0;
	}
}

@media only screen and (max-width: 480px) {
	#username, #password, #oauth2-username, #oauth2-password {
	    width: 82%;
	}
	
	#fp_clickHere {
    	margin-right: 18px;
	}
}

@media all and (-ms-high-contrast: none) , ( -ms-high-contrast : active)
	{
		#oauth2-username_text,#oauth2-password_text,#username_text,#password_text,#firstname_label,#middlename_label,#lastname_label,#screenname_label,#email_label,#password_reg_label,#password_reg_repeat_label,#forgot_email_label,#old_pass_label,#new_pass_label,#confirmpassword_label,#clone_select,#ynf
		{
		display: -ms-inline-grid !important;
	}
	#new_account_list>li>span,#forgot_password_list>li>span,#change_pass_list>li>span
		{
		position: absolute;
	}
	#main_section {
		height: 65% !important;
	}
	#logout {
		position: absolute !important;
		top: 6px;
		right: 20px;
	}
	.form-prompt {
		width: 250px !important;
		clear: both !important;
		display: -ms-inline-grid !important;
		text-align: left !important;
		vertical-align: middle;
	}
}

@-moz-document url-prefix() { 
  #main_section {
		height: 65% !important;
	}
}

.km-root a:not(.k-button) {
    color: #ccc;
    background: transparent;
    border: none;
    margin-bottom: 8px;
}

.km-root a:not(.k-button):hover {
    color: #444;
}

.km-ios7 .km-view .km-navbar {
	background-color: white;
	height: 85px;
	border: none;
}

/*
 * Buttons Theme
 */
.btn {
	font-size: 13px !important;
	padding: 0 1.4rem;
	line-height: 20px;
	border: none !important;
	z-index: 2;
	position: relative;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-font-smoothing: antialiased;
	margin: 10px;
	height: 50px !important;
	border-radius: 0px !important;
	font-weight: bold;
	letter-spacing: .04em;
	transition: visibility 0s, opacity 0.5s linear;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
}

.btn-orange {
	background-color: #d3711c !important;
	color: white !important;
}

.btn-black {
	background-color: #000000 !important;
	color: white !important;
}

.btn-small {
	width: 150px !important;
	height: auto;
}

.btn-large {
	width: 250px !important;
}

.btn:hover {
	box-shadow: none;
}

@media only screen and (orientation: portrait) and
	(max-device-width:550px) {
	.logo {
		margin-left: 17px !important;
		height: 110px !important;
	}
	.grey-header {
		display: none !important;
	}
}

@media only screen and (orientation: landscape) and
	(max-device-width:750px) {
	.logo {
		margin-left: 17px !important;
		height: 110px !important;
	}
	.grey-header {
		display: none !important;
	}
}

input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 30px white inset;
	-webkit-text-fill-color: #444 !important;
}

input:-webkit-autofill:hover,input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 30px #f8f8f9 inset;
	-webkit-text-fill-color: black !important;
}

.k-widget.k-tooltip-validation {
	border-color: #d3711c;
	background-color: #d3711c;
	color: white;
	float: right;
	font-size: 13px;
}

#terms-wrapper > span.k-widget.k-tooltip.k-tooltip-validation.k-invalid-msg {
    position: absolute;
    margin-left: 150px;
}

span.km-icon {
	color: #999 !important;
	font-size: 25px !important;
}

#forgotpass {
	padding-right: 10px;
}

button.km-button {
	font-weight: bold;
}

.menu-icon {
	font-size: 25px;
	color: #ccc;
	border: none;
}

.menu-icon:hover {
	color: #444;
}

#new_account_list,
#activate_list {
	margin-top: 10px;
}

ul {
	list-style: none;
}

.k-textbox, .k-textbox:hover, .k-textbox:visited {
	border: 1px solid black;
	box-shadow: none;
}

.k-textbox:active, .k-textbox:focus {
	border: 1px solid #d3711c;
	box-shadow: none;
}

.k-invalid {
	border: 1px solid red;
	box-shadow: none;
}

.k-valid {
	border: 1px solid black;
}

#terms_condition_wrapper {
	width: 30%;
    display: inline-block;
}

.btn {
	border-radius: 61px !important
}

button#confirm_new_account:disabled {
	background-color: #ebebeb !important;
	color: #333 !important;
	border-radius: 61px !important;
}

#terms_link {
	vertical-align: middle;
}

#privacy_link {
	vertical-align: middle;
}

.form-prompt.disabled {
	color: #9a9a9a !important;
}

.k-textbox.disabled {
	color: #9a9a9a !important;
	border: 1px solid #9a9a9a;
}

.third-party-logins {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.third-party-logins .third-party-login {
    cursor: pointer;
    background-color: white;
    width: 232px;
    height: 40px;
    margin-top: 6px;
    border: 1px solid #666666;
    border-radius: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.third-party-logins .third-party-login .third-party-login-text {
    font-size: 14px;
    font-weight: 400;
    margin-left: 19px;
	color: #666666;
}

.third-party-logins .third-party-login .third-party-login-logo {
    margin-right: 19px;
}

.ms-font {
	font-family: 'Segoe UI Regular'
}

.g-font {
	font-family: 'Roboto'
}

#oauth2-body {
	height: 100vh;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	margin: 0;
	font-family: Arial, sans-serif;
}

.consent-body {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	padding: 170px 24px 24px;
	box-sizing: border-box;
	position: relative;
}

.consent-shell {
	width: 100%;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0 auto;
}

.consent-logo {
	position: absolute;
	display: block;
	height: 214px;
	max-width: 100%;
	width: auto;
	margin: 0;
	left: 75px;
	top: 0;
	z-index: 5000;
}

.consent-card {
	width: 100%;
	background: #ffffff;
	border: 1px solid #d9e1ea;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
	padding: 32px;
	box-sizing: border-box;
}

.consent-header {
	margin-bottom: 28px;
}

.consent-eyebrow {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f97316;
	font-weight: 700;
	margin-bottom: 12px;
}

.consent-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.1;
	color: #111827;
}

.consent-copy {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4b5563;
}

.consent-section {
	padding: 18px 0;
	border-top: 1px solid #eef2f7;
}

.consent-section-compact {
	padding-top: 14px;
	padding-bottom: 6px;
}

.consent-section:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.consent-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 10px;
}

.consent-client-name {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
}

.consent-client-id,
.consent-redirect {
	font-size: 14px;
	color: #4b5563;
	word-break: break-word;
}

.consent-scopes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.consent-scope-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff7ed;
	border: 1px solid #fdba74;
	color: #9a3412;
	font-size: 13px;
	font-weight: 600;
}

.consent-scope-empty {
	font-size: 14px;
	color: #6b7280;
}

.consent-error {
	margin-top: 8px;
	padding: 14px 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 12px;
	color: #b91c1c;
	font-size: 14px;
}

.consent-checkbox-row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #374151;
	font-weight: 600;
	cursor: pointer;
}

.consent-checkbox-row input {
	width: 16px;
	height: 16px;
}

.consent-actions {
	margin-top: 28px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.consent-button {
	border: 0;
	border-radius: 999px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.consent-button:hover {
	transform: translateY(-1px);
}

.consent-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.consent-button-primary {
	background: #ea580c;
	color: #ffffff;
	box-shadow: 0 10px 20px rgba(234, 88, 12, 0.18);
}

.consent-button-primary:hover {
	background: #c2410c;
}

.consent-button-secondary {
	background: #e5e7eb;
	color: #374151;
}

.consent-button-secondary:hover {
	background: #d1d5db;
}

@media (max-width: 640px) {
	.consent-body {
		padding-top: 120px;
	}

	.consent-logo {
		left: 17px;
		height: 110px;
	}

	.consent-card {
		padding: 24px;
		border-radius: 16px;
	}

	.consent-title {
		font-size: 28px;
	}

	.consent-actions {
		flex-direction: column-reverse;
	}

	.consent-button {
		width: 100%;
	}
}
