/* Shared two-panel presentation for login and registration. */
.crm-access-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); min-height:100dvh; background:var(--crm-surface); }
.crm-access-panel { display:flex; flex-direction:column; min-width:0; min-height:100dvh; padding:28px clamp(28px,5vw,80px); background:var(--crm-surface); }
.crm-access-brand { align-self:flex-start; color:var(--crm-text); font-size:15px; font-weight:700; text-decoration:none; }
.crm-access-form { display:flex; flex:1; flex-direction:column; justify-content:center; width:100%; max-width:420px; margin-inline:auto; padding-block:48px; }
.crm-app .crm-access-form .crm-title { font-size:30px; line-height:1.3; margin:0 0 28px; }
.crm-access-fields { display:flex; flex-direction:column; gap:20px; }
.crm-access-field { min-width:0; }
.crm-access-field .crm-label { display:block; font-size:14px; font-weight:700; margin-bottom:7px; }
.crm-access-input { position:relative; }
.crm-access-input > .crm-icon { position:absolute; top:15px; inset-inline-start:13px; width:18px; height:18px; color:var(--crm-muted); pointer-events:none; }
.crm-access-input .crm-field { min-height:48px; padding:11px 44px; border:1px solid var(--crm-control-border); border-radius:10px; background:var(--crm-field-surface); font-size:16px; }
.crm-access-input .crm-field:focus-visible { border-color:var(--crm-primary); background:var(--crm-surface); }
.crm-access-password { position:absolute; top:4px; inset-inline-end:4px; display:grid; place-items:center; width:40px; height:40px; border:0; border-radius:7px; color:var(--crm-muted); background:transparent; cursor:pointer; }
.crm-access-password .crm-icon { width:18px; height:18px; }
.crm-access-password:hover, .crm-access-password[aria-pressed="true"] { color:var(--crm-primary); background:#dce9fa; }
.crm-access-password:focus-visible, .crm-access-brand:focus-visible { outline:2px solid var(--crm-focus); outline-offset:3px; }
.crm-access-submit { width:100%; min-height:48px; border-radius:10px; margin-top:4px; font-size:16px; }
.crm-access-submit .crm-icon { width:18px; height:18px; }
.crm-access-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:20px; padding-top:16px; border-top:1px solid var(--crm-border); color:var(--crm-muted); font-size:14px; line-height:1.5; }
.crm-access-footer .crm-button { min-height:36px; padding:7px 12px; font-size:14px; border-radius:8px; background:var(--crm-field-surface); border-color:var(--crm-control-border); }
.crm-access-footer .crm-icon { width:15px; height:15px; color:var(--crm-primary); }
.crm-access-form > .crm-alert:not([hidden]) { margin-top:16px; font-size:14px; }
.crm-access-banner { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:40px; padding:64px 32px; min-width:0; background:var(--crm-field-surface); border-inline-start:1px solid #e7ecf8; }
.crm-access-art { width:180px; height:180px; overflow:hidden; mix-blend-mode:multiply; }
.crm-access-art img { display:block; width:377px; height:377px; max-width:none; transform:translate(-99px,-77px); }
.crm-app .crm-access-banner h2 { text-align:center; font-size:28px; font-weight:600; line-height:1.35; margin:0; }
.crm-access-banner h2 span { display:block; }
.crm-access-spinner { display:block; width:16px; height:16px; border:2px solid #ffffff66; border-top-color:#ffffff; border-radius:50%; animation:crm-access-spin .8s linear infinite; }
@keyframes crm-access-spin { to { transform:rotate(360deg); } }
@media(max-width:900px) {
    .crm-access-panel { padding-inline:28px; }
    .crm-access-banner { padding-inline:24px; }
    .crm-app .crm-access-banner h2 { font-size:24px; }
}
@media(max-width:760px) {
    .crm-access-layout { grid-template-columns:minmax(0,1fr); }
    .crm-access-banner { display:none; }
    .crm-access-panel { padding:24px; }
    .crm-access-form { padding-block:40px; }
    .crm-app .crm-access-form .crm-title { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) { .crm-access-spinner { animation:none; } }
