

/* Start:/bitrix/templates/MarsOps/template_styles.css?17915108557193*/
/* MarsOps: оформление страниц входа, регистрации и восстановления пароля.
   Всё scoped под .auth-shell, на страницу курса не влияет. Цвета совпадают с курсом. */
.auth-shell {
  --bg: #080b0f; --panel: #0d1116; --panel-2: #11171d; --line: rgba(255, 244, 232, 0.1);
  --line-strong: rgba(255, 244, 232, 0.2); --text: #f4efe9; --muted: #9b9b98;
  --mars: #e76348; --mars-bright: #ff7b58; --sand: #e6b986; --red: #ff786c; --green: #84d3a1;
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 440px); justify-content: center; align-content: center; padding: 32px 16px;
  color: var(--text); color-scheme: dark;
  font: 15px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(231, 99, 72, 0.22), transparent 60%),
    radial-gradient(700px 480px at 6% 110%, rgba(120, 211, 220, 0.09), transparent 60%),
    var(--bg);
}
html:has(.auth-shell), body:has(.auth-shell) { background: #080b0f; margin: 0; }
.auth-shell *, .auth-shell *::before, .auth-shell *::after { box-sizing: border-box; }

.auth-card {
  width: 100%; max-width: 440px; min-width: 0; overflow-wrap: anywhere; padding: 30px 30px 26px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 23, 29, 0.92), rgba(13, 17, 22, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--text); text-decoration: none; }
.auth-orbit {
  width: 34px; height: 34px; border-radius: 50%; position: relative; flex: none;
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 35% 35%, var(--mars-bright), var(--mars) 60%, #7c2d1f);
  box-shadow: 0 0 24px rgba(231, 99, 72, 0.35);
}
.auth-brand strong { display: block; font-size: 1.05rem; letter-spacing: .14em; font-weight: 800; }
.auth-brand strong span { color: var(--mars); }
.auth-brand small { display: block; margin-top: 1px; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.auth-title { margin: 0 0 6px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
.auth-sub { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }

.auth-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0 0 22px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .25); }
.auth-tabs a { padding: 9px 12px; border-radius: 7px; text-align: center; text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.auth-tabs a:hover { color: var(--text); }
.auth-tabs a.is-active { background: var(--mars); color: #fffaf5; box-shadow: 0 6px 18px rgba(231, 99, 72, .25); }

/* ---- штатные формы Bitrix (таблицы) превращаем в вертикальные поля ---- */
.auth-shell .bx-auth { margin: 0; }
.auth-shell .bx-auth-note { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.auth-shell .bx-auth-table, .auth-shell .bx-auth-table tbody, .auth-shell .bx-auth-table tr, .auth-shell .bx-auth-table td,
.auth-shell table, .auth-shell tbody, .auth-shell tr, .auth-shell td, .auth-shell thead, .auth-shell tfoot { display: block; width: 100%; border: 0; padding: 0; }
.auth-shell tr { margin: 0 0 14px; }
.auth-shell thead tr:first-child td, .auth-shell thead { margin: 0 0 10px; }
.auth-shell .bx-auth-label, .auth-shell td:first-child:not(:empty) { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-align: left; }
.auth-shell td:empty { display: none; }
.auth-shell .starrequired { color: var(--mars-bright); margin-left: 2px; }

.auth-shell input[type=text], .auth-shell input[type=password], .auth-shell input[type=email], .auth-shell input:not([type]) {
  width: 100%; height: 44px; padding: 0 14px; margin: 0;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.auth-shell input[type=text]:focus, .auth-shell input[type=password]:focus, .auth-shell input[type=email]:focus {
  border-color: var(--mars); box-shadow: 0 0 0 3px rgba(231, 99, 72, .22);
}
.auth-shell input::placeholder { color: #666c70; }
.auth-shell input[type=checkbox] { width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--mars); }
.auth-shell label { color: var(--muted); font-size: .84rem; cursor: pointer; }

.auth-shell input[type=submit], .auth-shell button[type=submit], .auth-shell .btn {
  width: 100%; height: 46px; margin-top: 4px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--mars); color: #fffaf5; font: inherit; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(231, 99, 72, .22); transition: background .2s, transform .15s;
}
.auth-shell input[type=submit]:hover, .auth-shell button[type=submit]:hover, .auth-shell .btn:hover { background: var(--mars-bright); }
.auth-shell input[type=submit]:active, .auth-shell .btn:active { transform: translateY(1px); }

.auth-shell a { color: var(--sand); text-underline-offset: 3px; }
.auth-shell a:hover { color: var(--mars-bright); }
.auth-shell noindex p, .auth-shell .bx-auth p { margin: 14px 0 0; font-size: .86rem; text-align: center; }

/* логотип остаётся белым, а не цвета ссылок */
.auth-shell a.auth-brand, .auth-shell a.auth-brand:hover { color: var(--text); }
/* заголовок таблицы регистрации дублирует вкладку, блок «Зарегистрироваться» — тоже */
.auth-shell thead { display: none; }
.auth-shell noindex:has(a[href*="register=yes"]) { display: none; }
/* строки без полей и текста (пустые разделители штатной таблицы) */
.auth-shell tr:not(:has(input, img, b, a, p, font, span)) { display: none; }
.auth-shell td b { font-weight: 600; color: var(--sand); font-size: .8rem; letter-spacing: .02em; }

/* сообщения: ошибки и успех */
.auth-shell .errortext, .auth-shell font.errortext, .auth-shell .errortext font {
  display: block; padding: 10px 12px; margin: 0 0 14px; border: 1px solid rgba(255, 120, 108, .4); border-radius: 8px;
  background: rgba(255, 120, 108, .1); color: var(--red); font-size: .86rem;
}
.auth-shell .notetext, .auth-shell font.notetext {
  display: block; padding: 10px 12px; margin: 0 0 14px; border: 1px solid rgba(132, 211, 161, .4); border-radius: 8px;
  background: rgba(132, 211, 161, .1); color: var(--green); font-size: .86rem;
}
.auth-shell p:has(> font.errortext), .auth-shell p:has(> font.notetext) { margin: 0; }
.auth-shell img { max-width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.auth-shell .authorize-submit-cell { margin-top: 2px; }

@media (max-width: 480px) { .auth-card { padding: 24px 20px 22px; } }

/* End */
/* /bitrix/templates/MarsOps/template_styles.css?17915108557193 */
