/* Экран входа в кабинет ССД. Палитра и шрифт - из кабинета (frontend/src/style.css): оранжевый ССД, чёрный, белый.
   Слева - стопка листов акрилового камня (то, чем торгует ССД), справа - форма. CSP: только свои стили, без inline. */
:root {
  --bg: #f2f2f2;
  --card: #ffffff;
  --ink: #111111;
  --ink-2: #2b2f36;
  --ink-3: #5b6170;
  --line-2: #d0d0d0;
  --or: #ed5729;
  --or-btn: #b93d16;
  --or-btn-hover: #9e330e;
  --bad: #c42020;
  --bad-soft: #fdecec;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }

.screen { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

.brand { position: relative; overflow: hidden; background: #121212; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; }
.logo { display: block; }
.claim { margin: auto 0 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; position: relative; z-index: 1; }

/* Стопка листов: белый мрамор, серый, песок и оранжевый торец - наклонные плиты с тонкой гранью */
.slabs { position: absolute; right: -60px; top: 18%; width: 520px; height: 360px; transform: rotate(-14deg); }
.slab { position: absolute; left: 0; width: 460px; height: 64px; border-radius: 4px; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); }
.slab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; border-radius: 0 0 4px 4px; background: rgba(0, 0, 0, 0.35); }
.s1 { top: 0; left: 70px; background: linear-gradient(115deg, #f4f2ee 0 40%, #e5e1da 40% 41%, #f4f2ee 41% 72%, #dcd7cf 72% 73%, #f4f2ee 73%); }
.s2 { top: 86px; left: 30px; background: linear-gradient(115deg, #8d8d8f, #a6a6a8 55%, #8a8a8c); }
.s3 { top: 172px; left: 96px; background: linear-gradient(115deg, #d9c8a8, #e8dbc2 50%, #cfbd9b); }
.s4 { top: 258px; left: 50px; background: var(--or); }

.side { display: grid; place-items: center; padding: 40px 24px; }
.card { width: 100%; max-width: 400px; }
.logo-m { display: none; }
h1 { margin: 0 0 24px; font-size: 32px; letter-spacing: -0.01em; }
label { display: block; font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; }
input:focus { outline: 3px solid rgba(237, 87, 41, 0.35); border-color: var(--or); }
.pass { position: relative; }
.pass input { padding-right: 104px; }
#show { position: absolute; right: 6px; top: 6px; bottom: 6px; border: 0; background: var(--bg); border-radius: 9px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.btn { margin-top: 22px; width: 100%; border: 0; border-radius: 12px; padding: 14px; font: inherit; font-weight: 800; color: #fff; background: var(--or-btn); cursor: pointer; }
.btn:hover { background: var(--or-btn-hover); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn:focus-visible, #show:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.err { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-weight: 600; }
.foot { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); }

@media (max-width: 860px) {
  .screen { grid-template-columns: minmax(0, 1fr); }
  .brand { display: none; }
  .side { place-items: start center; padding: 40px 16px; }
  .logo-m { display: block; margin-bottom: 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  .slab { animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .s2 { animation-delay: 0.08s; }
  .s3 { animation-delay: 0.16s; }
  .s4 { animation-delay: 0.24s; }
  @keyframes settle { from { transform: translateY(-26px); } to { transform: none; } }
}

/* Оформление из проверенного авторского варианта. */



:root { --font: Arial, sans-serif; --ink-3: #656565; --line-2: #dcdcdc; }
.screen { max-width: 1200px; margin: auto; min-height: 100dvh; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 60px 40px; }
.brand { padding: 0; background: transparent; color: #111; overflow: visible; }
.logo { width: 112px; height: auto; }
.slabs { display: none; }
.claim { margin: 64px 0 24px; font-size: 56px; line-height: 1.05; letter-spacing: -1px; font-weight: 500; }
.what { color: #656565; gap: 12px; font-size: 16px; }
.what li { padding: 0; }
.what li::before { content: none; }
.side { padding: 0; }
.card { padding: 36px; background: #fff; border-radius: 10px; max-width: 420px; }
h1 { font-size: 28px; font-weight: 500; }
.hint { font-size: 15px; margin-bottom: 24px; }
label { font-weight: 500; }
input { border-radius: 10px; padding: 12px 14px; font-size: 16px; }
input:focus { outline: 2px solid #fff0eb; border-color: #ed5729; }
#show { background: transparent; border-radius: 100px; font-weight: 400; color: #656565; }
.btn { border: 1px solid #ed5729; border-radius: 100px; background: #ed5729; color: #111; font-weight: 500; transition: background-color .3s ease, color .3s ease; }
.btn:hover { background: #cb461e; color: #fff; }
.foot { line-height: 1.5; }
@media(max-width:860px) {
 .screen { display: block; padding: 32px 16px; min-height: 100dvh; }
 .brand { display: none; }
 .side { padding: 0; display: grid; place-items: center; }
 .card { padding: 28px 24px; }
 .logo-m { display: block; width: 96px; height: auto; margin-bottom: 32px; }
}
@media(prefers-reduced-motion:reduce) { * { transition: none !important; animation: none !important; } }
