:root {
	--cscrm-ink: #11182b;
	--cscrm-muted: #667085;
	--cscrm-blue: #304bd9;
	--cscrm-purple: #744ef0;
	--cscrm-line: #e4e8f2;
}

* { box-sizing: border-box; }

html, body.cscrm-portal-page { margin: 0; min-height: 100%; }

body.cscrm-portal-page {
	background: #f7f8fc;
	color: var(--cscrm-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cscrm-login-shell {
	display: grid;
	grid-template-columns: minmax(420px, 44%) 1fr;
	min-height: 100vh;
}

.cscrm-brand-panel {
	background: linear-gradient(145deg, #2547c9 0%, #4957e6 48%, #7c4ee9 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: clamp(34px, 5vw, 76px);
	position: relative;
}

.cscrm-brand-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }

.cscrm-wordmark { font-size: 20px; font-style: italic; font-weight: 800; letter-spacing: -1px; line-height: .75; text-transform: lowercase; }
.cscrm-wordmark span { display: block; }
.cscrm-wordmark span:last-child { margin-left: 19px; }

.cscrm-product-label {
	border: 1px solid rgba(255,255,255,.34);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .17em;
	padding: 10px 14px;
}

.cscrm-brand-copy { max-width: 650px; position: relative; z-index: 2; }
.cscrm-kicker, .cscrm-card-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; margin: 0 0 22px; }
.cscrm-brand-copy h1 { font-size: clamp(44px, 5.1vw, 78px); letter-spacing: -.055em; line-height: .98; margin: 0; max-width: 680px; }
.cscrm-brand-copy > p:not(.cscrm-kicker) { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.7; margin: 28px 0 0; max-width: 580px; }

.cscrm-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.cscrm-pill-row span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .2em; padding: 10px 15px; }
.cscrm-brand-foot { color: rgba(255,255,255,.56); font-size: 12px; margin: 0; position: relative; z-index: 2; }

.cscrm-orbit { border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; position: absolute; }
.cscrm-orbit-one { bottom: -34%; height: 58vw; right: -38%; width: 58vw; }
.cscrm-orbit-two { bottom: -22%; height: 39vw; right: -27%; width: 39vw; }

.cscrm-form-panel { align-items: center; display: flex; justify-content: center; padding: 48px; position: relative; }
.cscrm-login-card { background: #fff; border: 1px solid var(--cscrm-line); border-radius: 28px; box-shadow: 0 24px 60px rgba(42, 49, 91, .09); max-width: 520px; padding: clamp(38px, 5vw, 64px); width: 100%; }
.cscrm-card-icon { align-items: center; background: #eef1ff; border-radius: 16px; display: flex; height: 52px; justify-content: center; margin-bottom: 30px; width: 52px; }
.cscrm-card-icon svg { fill: none; height: 25px; stroke: var(--cscrm-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 25px; }
.cscrm-card-kicker { color: var(--cscrm-blue); margin-bottom: 14px; }
.cscrm-login-card h2 { color: var(--cscrm-ink); font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.cscrm-card-intro { color: var(--cscrm-muted); font-size: 15px; line-height: 1.65; margin: 18px 0 30px; }
.cscrm-alert { background: #fff2f0; border: 1px solid #ffccc7; border-radius: 10px; color: #8a1f17; font-size: 13px; line-height: 1.45; margin: -8px 0 24px; padding: 12px 14px; }

.cscrm-login-form > label { color: #344054; display: block; font-size: 12px; font-weight: 700; margin: 17px 0 8px; }
.cscrm-login-form > input[type="text"], .cscrm-login-form > input[type="password"] { appearance: none; background: #fff; border: 1px solid #d5dae6; border-radius: 11px; box-shadow: none; color: var(--cscrm-ink); font: inherit; height: 54px; outline: none; padding: 0 15px; transition: border-color .15s, box-shadow .15s; width: 100%; }
.cscrm-login-form > input:focus { border-color: var(--cscrm-blue); box-shadow: 0 0 0 4px rgba(48,75,217,.1); }
.cscrm-form-options { align-items: center; display: flex; font-size: 12px; justify-content: space-between; margin: 19px 0 28px; }
.cscrm-form-options a { color: var(--cscrm-blue); font-weight: 700; text-decoration: none; }
.cscrm-remember { align-items: center; color: var(--cscrm-muted); display: flex; gap: 7px; }
.cscrm-remember input { accent-color: var(--cscrm-blue); height: 15px; margin: 0; width: 15px; }
.cscrm-submit { align-items: center; background: linear-gradient(90deg, var(--cscrm-blue), var(--cscrm-purple)); border: 0; border-radius: 11px; color: #fff !important; cursor: pointer; display: flex; font-size: 14px; font-weight: 750; justify-content: space-between; min-height: 56px; padding: 0 20px; text-decoration: none !important; transition: transform .15s, box-shadow .15s; width: 100%; }
.cscrm-submit:hover { box-shadow: 0 12px 24px rgba(63,72,220,.22); transform: translateY(-1px); }
.cscrm-secure-note { color: #98a2b3; font-size: 11px; margin: 25px 0 0; text-align: center; }
.cscrm-mobile-brand { display: none; }
.cscrm-shortcode-message { margin: 40px auto; max-width: 460px; padding: 32px; }

@media (max-width: 900px) {
	.cscrm-login-shell { display: block; min-height: 100vh; }
	.cscrm-brand-panel { display: none; }
	.cscrm-form-panel { align-items: flex-start; min-height: 100vh; padding: 84px 22px 40px; }
	.cscrm-mobile-brand { align-items: center; display: flex; gap: 12px; left: 24px; position: absolute; top: 25px; }
	.cscrm-mobile-brand strong { align-items: center; background: linear-gradient(135deg, var(--cscrm-blue), var(--cscrm-purple)); border-radius: 10px; color: #fff; display: flex; height: 36px; justify-content: center; width: 36px; }
	.cscrm-mobile-brand span { font-size: 14px; font-weight: 750; }
	.cscrm-login-card { border-radius: 20px; padding: 34px 25px; }
}

@media (max-width: 420px) {
	.cscrm-form-options { align-items: flex-start; flex-direction: column; gap: 14px; }
}
.cscrm-password{display:flex;align-items:center;position:relative}.cscrm-password input{padding-right:68px!important;width:100%}.cscrm-password-toggle{position:absolute;right:10px;border:0;background:transparent;color:#185dc7;font-weight:650;cursor:pointer;padding:10px}.cscrm-login-card{border-radius:20px!important;box-shadow:0 20px 70px #16345814!important}.cscrm-login-form input:focus{outline:3px solid #76aefa55;outline-offset:2px}.cscrm-login-form button[type=submit]{border-radius:9px!important}

.cscrm-password input{height:54px!important;box-sizing:border-box;border:1px solid #acbcd0;border-radius:10px;padding:12px 68px 12px 15px!important;background:white;font-size:16px}.cscrm-password{margin-bottom:20px}
