/* The sign-in page: the paper's orange and wordmark on one side, the form on the other. No italics. */

@font-face { font-family: "TTA Inter"; src: url("fonts/Inter-Variable.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-024F, U+0259, U+02B0-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF, U+2212, U+2215, U+FB01-FB02, U+FEFF, U+FFFD; }
@font-face { font-family: "TTA Chivo"; src: url("fonts/Chivo-VariableFont_wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "TTA Plex Arabic"; src: url("fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root { --tt-ink: #111111; --tt-paper: #ffffff; --tt-orange: #ff4200; --tt-text: #111111; --tt-accent: #ff4200; }
html, body.login { height: 100%; }
body.login { display: grid; grid-template-columns: minmax(320px, 44%) minmax(0, 1fr); min-height: 100vh; margin: 0; padding: 0; background: #ffffff; color: #111111; font-family: "TTA Inter", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; }
body.login * { font-style: normal; }
.login .screen-reader-text { position: absolute; }

/* the side */
.tta-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 56px 56px 44px; box-sizing: border-box; background: #ff4200; color: #ffffff; overflow: hidden; }
.tta-side__in { margin-top: auto; margin-bottom: auto; }
.tta-side__word { line-height: 0; }
.tta-side__word svg { width: min(320px, 100%); height: auto; }
.tta-word { font-family: "TTA Chivo", sans-serif; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -0.01em; color: #ffffff; }
.tta-word__colon { color: #111111; }
.tta-side__line { margin: 26px 0 0; font-family: "TTA Chivo", sans-serif; font-weight: 800; font-size: 54px; line-height: 0.98; letter-spacing: -0.02em; }
.tta-side__ur { margin: 14px 0 0; font-family: "TTA Plex Arabic", "IBM Plex Sans Arabic", sans-serif; font-weight: 600; font-size: 22px; line-height: 1.6; opacity: 0.9; text-align: left; }
.tta-side__foot { line-height: 0; }

/* the form */
#login { align-self: center; justify-self: center; width: min(400px, calc(100% - 48px)); margin: 0; padding: 48px 0; }
.login h1 { margin: 0 0 30px; text-align: left; }
.login h1 a { width: auto; height: auto; margin: 0; padding: 0; background: none; text-indent: 0; overflow: visible; font-family: "TTA Chivo", sans-serif; font-weight: 800; font-size: 36px; line-height: 1.05; letter-spacing: -0.015em; color: #111111; text-decoration: none; outline: 0; box-shadow: none; }
.login h1 a::before { content: "Sign in"; display: block; }
.login.login-action-lostpassword h1 a::before, .login.login-action-rp h1 a::before, .login.login-action-resetpass h1 a::before { content: "A new password"; }
.login h1 a { font-size: 0; }
.login h1 a::before { font-size: 36px; }
.login h1 a::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 18px; background: #ff4200; }
.login form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.login label { display: block; margin-bottom: 6px; font-family: "TTA Inter", sans-serif; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0; text-transform: none; color: #111111; }
.login form .input, .login input[type="text"], .login input[type="password"], .login input[type="email"] { width: 100%; min-height: 48px; margin: 0 0 20px; padding: 6px 14px; border: 1.5px solid #111111; border-radius: 0; background: #ffffff; box-shadow: none; font-family: "TTA Inter", sans-serif; font-size: 18px; color: #111111; }
.login form .input:focus, .login input[type="text"]:focus, .login input[type="password"]:focus { border-color: #111111; box-shadow: 0 0 0 2px #ff4200; outline: 0; }
.login .user-pass-wrap { margin-bottom: 0; }
.login .wp-pwd { position: relative; }
.login .button.wp-hide-pw { top: 2px; right: 2px; height: 44px; min-height: 44px; width: 44px; border: 0; color: #646464; background: transparent; }
.login .button.wp-hide-pw:focus { box-shadow: 0 0 0 2px #ff4200; }
.login .button.wp-hide-pw .dashicons { top: 0.6rem; color: #646464; }
.login .forgetmenot { float: none; margin: 4px 0 22px; }
.login .forgetmenot label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: "TTA Inter", sans-serif; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.login input[type="checkbox"] { width: 18px; height: 18px; border: 1.5px solid #111111; border-radius: 0; box-shadow: none; }
.login input[type="checkbox"]:checked { background: #111111; }
.login input[type="checkbox"]:checked::before { content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23ffffff%27%2F%3E%3C%2Fsvg%3E"); }
.login input[type="checkbox"]:focus { box-shadow: 0 0 0 2px #ff4200; }
.login .submit { float: none; clear: both; padding: 0; }
.login .button-primary, .login .submit .button-primary { float: none; width: 100%; min-height: 52px; padding: 0 18px; border: 0; border-radius: 0; background: #111111; box-shadow: none; text-shadow: none; color: #ffffff; font-family: "TTA Inter", sans-serif; font-weight: 650; font-size: 17px; line-height: 52px; letter-spacing: 0; }
.login .button-primary:hover, .login .button-primary:focus { background: #ff4200; color: #ffffff; box-shadow: none; }
.login .button-primary:focus { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #ff4200; }
.login #nav, .login #backtoblog { margin: 22px 0 0; padding: 0; font-size: 15px; }
.login #backtoblog { margin-top: 10px; }
.login #nav a, .login #backtoblog a { color: #111111; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.login #nav a:hover, .login #backtoblog a:hover { color: #ff4200; }
.login .message, .login .notice, .login #login_error, .login .success { margin: 0 0 22px; padding: 12px 16px; border: 0; border-left: 3px solid #111111; border-radius: 0; background: #f4f4f2; box-shadow: none; font-size: 15px; }
.login #login_error, .login .notice-error { border-left-color: #ff4200; background: #fff1eb; }
.login .privacy-policy-page-link { margin: 26px 0 0; text-align: left; }
.login .language-switcher { display: none; }
.login .pw-weak { margin-bottom: 14px; }
.login #pass-strength-result { border-radius: 0; }
.login .reset-pass-submit { display: flex; gap: 10px; }
.login .reset-pass-submit .button { float: none; min-height: 48px; border-radius: 0; }
.login .reset-pass-submit .button:not(.button-primary) { border: 1.5px solid #111111; background: #ffffff; color: #111111; }

/* narrower: the orange becomes a band at the top */
@media (max-width: 860px) {
	body.login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.tta-side { min-height: 0; padding: 26px 24px 28px; }
	.tta-side__in { margin: 0; }
	.tta-side__word svg { width: 210px; }
	.tta-word { font-size: 26px; }
	.tta-side__line { margin-top: 16px; font-size: 34px; }
	.tta-side__ur { display: none; }
	.tta-side__foot { display: none; }
	#login { align-self: start; padding: 32px 0 48px; }
	.login h1 a::before { font-size: 30px; }
}
