/* bisonar.com night screen-print look for the stand-alone sign-in pages (customer, affiliate, admin).
   Body gets class "stil"; tokens match static/css/gece.css. */
@import url("https://fonts.googleapis.com/css2?family=Gloock&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap");

body.stil {
	--gece: #111410; --gece2: #1c211a; --sage: #6f7a66; --sage-d: #3d4537;
	--lime: #d9ff6b; --kagit: #efede2; --murekkep: #111410; --mercan: #ff6b5b;
	--serif: Gloock, Georgia, serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	background: var(--gece) !important;
	color: var(--kagit) !important;
}
/* film grain over everything, as on the site */
body.stil::after {
	content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.stil, body.stil *:not(i) { font-family: var(--mono); }
body.stil .form-control, body.stil .form-container, body.stil > .container { box-sizing: border-box; }
body.stil .form-control { width: 100%; }
body.stil h1, body.stil h2 { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -.01em; color: var(--kagit); }

/* left panel: halftone night block with the site's big serif headline */
body.stil .left-panel {
	background-color: var(--gece2) !important; color: var(--kagit) !important; border-right: 2px solid rgba(239,237,226,.15);
	background-image: radial-gradient(rgba(239,237,226,.09) 1px, transparent 1.2px) !important; background-size: 7px 7px !important;
}
body.stil .left-panel h1 { color: var(--kagit) !important; font-size: clamp(38px, 4.4vw, 64px) !important; line-height: .98; text-shadow: .045em .045em 0 var(--sage); }
body.stil .left-panel p { color: rgba(239,237,226,.8) !important; opacity: 1 !important; font-size: 15px; line-height: 1.65; }
body.stil .left-panel::before, body.stil .left-panel::after { display: none !important; }
/* logo: the site's bison mark instead of the robot icon */
body.stil .logo { display: inline-flex !important; align-items: center; gap: 10px; color: var(--kagit) !important; font-family: var(--serif) !important; font-weight: 400 !important; font-size: 24px !important; letter-spacing: .02em; }
body.stil .logo i { display: none !important; }
body.stil .logo::before { content: ""; width: 42px; height: 42px; flex: none; background: url("../images/gece/logo.svg") center / contain no-repeat; }
body.stil .features li { color: var(--kagit) !important; }
body.stil .features i { color: var(--lime) !important; }

/* right side: dark form card with a light frame and a hard lime shadow */
body.stil .right-panel { background: transparent !important; }
body.stil .form-container, body.stil > .container:not(:has(.left-panel)), body.stil .kart {
	position: relative; background: var(--gece) !important; color: var(--kagit) !important;
	border: 2px solid var(--kagit) !important; border-radius: 0 !important;
	box-shadow: 10px 10px 0 var(--lime) !important; padding: 34px 30px !important;
}
/* strip of tape on the card, like the site's paper cards */
body.stil .form-container::before, body.stil > .container:not(:has(.left-panel))::before, body.stil .kart::before {
	content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 22px; transform: translateX(-50%) rotate(-2deg); background: var(--lime);
}
body.stil > .container:has(.left-panel) { background: transparent !important; box-shadow: none !important; border: 0 !important; }
body.stil .form-header h2, body.stil .header h2, body.stil .kart h1 { color: var(--kagit) !important; font-size: 36px !important; line-height: 1.05; }
body.stil .form-header p, body.stil .header p { color: rgba(239,237,226,.65) !important; }
body.stil label { color: var(--kagit) !important; font-weight: 600 !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .1em; }
body.stil .remember-me label { text-transform: none; letter-spacing: 0; font-size: 13px !important; font-weight: 500 !important; }

/* fields: underlined, as in the contact form */
body.stil .form-control, body.stil .kart input, body.stil input[type=email], body.stil input[type=password], body.stil input[type=text], body.stil input[type=tel] {
	background: transparent !important; color: var(--kagit) !important; border: 0 !important; border-bottom: 2px solid rgba(239,237,226,.5) !important;
	border-radius: 0 !important; box-shadow: none !important; font-size: 15px !important;
}
body.stil .form-control::placeholder, body.stil input::placeholder { color: rgba(239,237,226,.4) !important; }
body.stil .form-control:focus, body.stil .kart input:focus, body.stil input:focus { outline: none !important; border-bottom-color: var(--lime) !important; box-shadow: none !important; }
body.stil .input-with-icon i { color: var(--sage) !important; }
body.stil input[type=checkbox] { accent-color: var(--lime); }
/* keep autofilled fields dark instead of the browser's pale yellow */
body.stil input:-webkit-autofill { -webkit-text-fill-color: var(--kagit) !important; -webkit-box-shadow: 0 0 0 1000px var(--gece) inset !important; caret-color: var(--kagit); }

/* buttons */
body.stil .btn, body.stil .kart button {
	background: var(--lime) !important; color: var(--murekkep) !important; border: 0 !important; border-radius: 0 !important;
	box-shadow: 5px 5px 0 var(--sage) !important; font-weight: 600 !important; filter: none !important; transition: transform .12s, box-shadow .12s !important;
}
body.stil .btn:hover:not(:disabled), body.stil .kart button:hover { transform: translate(-2px, -2px) !important; box-shadow: 7px 7px 0 var(--sage) !important; }
body.stil .btn:active, body.stil .kart button:active { transform: translate(3px, 3px) !important; box-shadow: 1px 1px 0 var(--sage) !important; }
body.stil .social-btn {
	background: transparent !important; color: var(--kagit) !important; border: 1.5px solid var(--kagit) !important; border-radius: 0 !important; box-shadow: none !important; font-weight: 600 !important;
	transition: box-shadow .12s, border-color .12s, color .12s !important;
}
body.stil .social-btn:hover { border-color: var(--lime) !important; color: var(--lime) !important; box-shadow: 5px 5px 0 var(--lime) !important; }
body.stil .divider::before, body.stil .divider::after { background: rgba(239,237,226,.25) !important; opacity: 1; }
body.stil .divider span { background: var(--gece) !important; color: rgba(239,237,226,.6) !important; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
body.stil a { color: var(--lime) !important; font-weight: 600; text-decoration: none; }
body.stil a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.stil .register-link, body.stil .login-link { color: rgba(239,237,226,.7) !important; }
body.stil .trial-badge { background: var(--lime) !important; color: var(--murekkep) !important; border: 0 !important; border-radius: 0 !important; display: inline-block; transform: rotate(-2deg); font-weight: 700; box-shadow: 4px 4px 0 var(--sage); }

/* messages */
body.stil .alert, body.stil .hata { border: 0 !important; border-radius: 0 !important; font-weight: 600; box-shadow: 5px 5px 0 var(--sage); }
body.stil .alert-error, body.stil .alert-danger, body.stil .hata { background: var(--mercan) !important; color: var(--murekkep) !important; }
body.stil .alert-success, body.stil .alert-info { background: var(--lime) !important; color: var(--murekkep) !important; }
body.stil .kart .logo { color: var(--kagit) !important; }
/* single-card pages (forgot/reset password, admin login): give the card some air above */
body.stil > .container:not(:has(.left-panel)) { margin-top: max(40px, 10vh) !important; }
/* Chrome's autofill highlight (also while hovering a saved entry) stays dark */
body.stil input:autofill, body.stil input:-webkit-autofill:hover, body.stil input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--kagit) !important; -webkit-box-shadow: 0 0 0 1000px var(--gece) inset !important; transition: background-color 9999s ease-out 0s;
}
