/* Ranks One login pages -- "Modern split" (2026-10-26, after the Yadea Modern brand guidelines for Bangladesh):
   a 6 / 6 split -- the bike photo left, a white sign-in right. Manrope (the brand's typeface); black #111315 as the
   dominant colour, Aurora Cyan #00C6D7 as the accent, Titanium Silver #A7ADB0 for supporting text.
     main ERP     body.yl-main    -- www/yadi_login.html (suzuki_erp): the bike in the white tunnel
     dealer site  body.yl-dealer  -- www/dealer_login.html (rmbl_dealer): the showroom, the dealer's name
   Photos from the brand guide (public/images/login/); Website Settings > Login Page can replace them.
   Frappe's own login forms (login, forgot password, email link) are kept ({{ super() }}) and only restyled here;
   its login.js still drives them. Earlier looks (first, Night glass) were replaced on the user's request. */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("/assets/suzuki_erp/fonts/manrope-latin.woff2") format("woff2");
}

body.yl-body {
	--yl-ink: #111315;
	--yl-charcoal: #313033;
	--yl-cyan: #00c6d7;
	--yl-cyan-ink: #00838f;    /* cyan dark enough for text on white */
	--yl-silver: #a7adb0;
	--yl-muted: #6b7075;
	--yl-line: #e3e6e8;
	--yl-field: #f6f7f8;
	margin: 0;
	min-height: 100vh;
	background: #fff;
	color: var(--yl-ink);
	font-family: "Manrope", Arial, sans-serif;
}
body.yl-body .page-content-wrapper, body.yl-body main, body.yl-body .container { max-width: none; padding: 0; margin: 0; }
body.yl-body .page-footer, body.yl-body .page-breadcrumbs, body.yl-body .page-header-wrapper { display: none; }

/* ---------------------------------------------------------------- the 6 / 6 split, pinned to the screen */
.yl-split { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }

/* left: the bike */
.yl-photo {
	position: relative;
	overflow: hidden;
	background: var(--yl-charcoal) var(--yl-photo) var(--yl-photo-pos, center) / cover no-repeat;
}
.yl-photo::after {   /* keeps the words readable over any photo */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 19, 21, .45) 0%, rgba(17, 19, 21, 0) 28%, rgba(17, 19, 21, 0) 52%, rgba(17, 19, 21, .82) 100%);
}
.yl-photo-top, .yl-photo-text { position: absolute; left: 48px; right: 48px; z-index: 1; color: #fff; }
.yl-photo-top { top: 36px; display: flex; align-items: center; justify-content: space-between; }
.yl-photo-top img { height: 26px; }
.yl-photo-top span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.yl-photo-text { bottom: 52px; }
.yl-slogan { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--yl-cyan); }
.yl-photo-text h1 { margin: 12px 0 10px; color: #fff; font-size: 52px; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.yl-photo-text p { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.yl-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.yl-points span {
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: rgba(17, 19, 21, .25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* right: the sign-in */
.yl-side { position: relative; display: grid; place-items: center; padding: 40px 32px; overflow-y: auto; background: #fff; }
.yl-form { width: min(420px, 100%); }
.yl-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.yl-brand .yl-mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--yl-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	box-shadow: inset 0 -3px 0 var(--yl-cyan);
}
.yl-brand b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.yl-brand span { font-size: 12px; color: var(--yl-muted); }
.yl-title { margin: 0 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--yl-ink); }
.yl-sub { margin: 0 0 8px; color: var(--yl-muted); font-size: 15px; }
.yl-help { margin-top: 26px; padding: 14px 16px; border-radius: 12px; background: #f1fbfc; color: #0a5c64; font-size: 13px; }
.yl-foot { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 12px; color: var(--yl-silver); }

/* Frappe's forms, restyled */
.yl-form .page-card, .yl-form .login-content, .yl-form .form-signin, .yl-form .page-card-body,
.yl-form .page-card-actions, .yl-form section > div {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}
.yl-form .page-card-head { padding: 0; margin: 0 0 6px; text-align: left; }
.yl-form .page-card-head img { display: none; }
.yl-form .page-card-head h4 { margin: 0; font-size: 26px; font-weight: 800; color: var(--yl-ink); }
.yl-form .for-login .page-card-head { display: none; }   /* our heading stands in for it on the login form */
.yl-form .form-group { margin: 0; }
.yl-form .form-label.sr-only {
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 20px 0 8px;
	overflow: visible;
	clip: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--yl-charcoal);
}
.yl-form .form-control {
	height: 50px;
	padding: 0 16px !important;
	border: 1.5px solid var(--yl-line) !important;
	border-radius: 12px !important;
	background: var(--yl-field) !important;
	color: var(--yl-ink) !important;
	font: 500 15px "Manrope", Arial, sans-serif;
	box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.yl-form .form-control::placeholder { color: #a0a5a9; }
.yl-form .form-control:focus {
	border-color: var(--yl-cyan) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(0, 198, 215, .16) !important;
}
.yl-form .field-icon { display: none; }
.yl-form .toggle-password { top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: var(--yl-cyan-ink) !important; }
.yl-form .forgot-password-message { margin: 14px 0 0; text-align: right; font-size: 13px; }
.yl-form a { color: var(--yl-cyan-ink); font-weight: 700; text-decoration: none; }
.yl-form a:hover { color: var(--yl-ink); }
.yl-form .btn-primary {
	height: 52px;
	margin-top: 24px;
	border: 0;
	border-radius: 12px;
	background: var(--yl-ink);
	color: #fff;
	font: 800 15px "Manrope", Arial, sans-serif;
	letter-spacing: .02em;
	box-shadow: 0 10px 24px rgba(17, 19, 21, .18);
	transition: background .15s, transform .15s;
}
.yl-form .btn-primary:hover, .yl-form .btn-primary:focus { background: var(--yl-charcoal); color: #fff; transform: translateY(-1px); }
.yl-form .btn-primary::after { content: "  \2192"; color: var(--yl-cyan); }
.yl-form .btn-default, .yl-form .btn-login-option {
	width: 100%;
	height: 48px;
	border: 1.5px solid var(--yl-line) !important;
	border-radius: 12px;
	background: #fff !important;
	color: var(--yl-ink) !important;
	font: 700 14px "Manrope", Arial, sans-serif;
}
.yl-form .login-divider, .yl-form .text-muted { color: var(--yl-silver) !important; }
.yl-form .login-divider { margin: 18px 0 14px; font-size: 13px; }
.yl-form .sign-up-message { margin-top: 18px; text-align: center; }
.yl-form .for-forgot .page-card-body, .yl-form .for-login-with-email-link .page-card-body { margin-top: 18px !important; }

/* ---------------------------------------------------------------- tablets and phones: photo strip on top */
@media (max-width: 991px) {
	.yl-split { position: static; grid-template-columns: 1fr; }
	.yl-photo { height: 260px; }
	.yl-photo-text h1 { font-size: 34px; }
	.yl-photo-text p, .yl-points { display: none; }
	.yl-photo-top, .yl-photo-text { left: 24px; right: 24px; }
	.yl-photo-top span { display: none; }
	.yl-photo-text { bottom: 24px; }
	.yl-side { padding: 32px 20px 64px; }
	.yl-brand { margin-bottom: 26px; }
	.yl-foot { position: static; margin-top: 30px; }
}

/* the ModernERP wordmark (text, so it needs no image): Modern + ERP in Aurora Cyan */
.yl-photo-top .yl-word { font-size: 20px; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: #fff; opacity: 1; }
.yl-word b { font-weight: 800; color: var(--yl-cyan); }

/* ---------------------------------------------------------------- desktop: always one screen, no page scroll (2026-11-07) */
@media (min-width: 992px) {
	html, body.yl-body { height: 100%; overflow: hidden; }
}
@media (min-width: 992px) and (max-height: 780px) {
	.yl-side { padding: 20px 32px; }
	.yl-brand { margin-bottom: 22px; }
	.yl-title { font-size: 28px; margin-bottom: 4px; }
	.yl-sub { margin-bottom: 4px; }
	.yl-form .form-label.sr-only { margin: 14px 0 6px; }
	.yl-form .form-control { height: 44px; }
	.yl-form .toggle-password { top: 13px; }
	.yl-form .forgot-password-message { margin-top: 10px; }
	.yl-form .btn-primary { height: 46px; margin-top: 16px; }
	.yl-form .login-divider { margin: 12px 0 10px; }
	.yl-form .btn-default, .yl-form .btn-login-option { height: 44px; }
}
@media (min-width: 992px) and (max-height: 600px) {
	.yl-brand { margin-bottom: 14px; }
	.yl-brand .yl-mark { width: 34px; height: 34px; }
	.yl-title { font-size: 24px; }
	.yl-sub { font-size: 14px; }
	.yl-form .form-label.sr-only { margin: 10px 0 4px; }
	.yl-form .form-control { height: 40px; }
	.yl-form .toggle-password { top: 11px; }
	.yl-form .btn-primary { height: 42px; margin-top: 12px; }
	.yl-form .login-divider { margin: 8px 0 6px; }
	.yl-form .btn-default, .yl-form .btn-login-option { height: 40px; }
}

/* the email-link button: its label centred vertically */
.yl-form .btn-default, .yl-form .btn-login-option { display: flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; }
