﻿

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* ===== Fundo do ambiente ===== */
body {
  background-color: #08111f !important;
  background-image: var(--desktop-wallpaper-image, linear-gradient(135deg, #08111f 0%, #10243d 52%, #18384f 100%));
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  font-family: var(--desktop-font, 'Montserrat', sans-serif);
  color: var(--desktop-text, #fff);
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(4, 10, 24, 0.08), rgba(4, 10, 24, 0.32));
  pointer-events: none;
  z-index: 0;
}

#desktop {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

#windows-container {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

#windows-container .window,
#windows-container .login-window {
  pointer-events: auto;
}

/* ===== Scrollbars globais estilo VisionOS ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(10, 18, 32, 0.08);
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: rgba(10, 18, 32, 0.08);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(148, 163, 184, 0.24));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(148, 163, 184, 0.34));
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* ===== Janelas ===== */
.window {
  width: 500px;
  background: var(--window-bg, rgba(255, 255, 255, 0.15));
  backdrop-filter: blur(var(--window-blur, 12px)) saturate(1.25);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.15);
  position: absolute;
  top: 100px;
  left: 100px;
  display: none;
  flex-direction: column;
  resize: both; /* permite redimensionar */
  overflow: hidden;
  pointer-events: auto;
  transform-origin: center center;
  animation: window-fade-in 180ms ease-out;
}

.window.minimized {
  display: none !important;
}

@keyframes window-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ===== Cabe??alho das janelas ===== */
.window-header {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  cursor: move; /* s?? o cabe??alho arrasta */
}

/* Bot??es estilo MacOS */
.window-header .btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;              /* impede de deformar */
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  padding: 0;
}

/* Estado normal */
.window-header .btn.red    { background: #ff5f56; }
.window-header .btn.yellow { background: #ffbd2e; }
.window-header .btn.green  { background: #27c93f; }

/* Hover */
.window-header .btn:hover {
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  filter: brightness(1.15);
  transform: scale(1.1);
}

/* T??tulo */
.window-header .title {
  margin-left: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}


/* Corpo da janela */
.window-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;       /* mant??m sem scroll duplo */
  min-height: 0;          /* ???? evita cortar conte??do flex */
  position: relative;     /* garante posicionamento interno */
}


/* Inputs */
.form-input {
  width: 90%;
  padding: 10px;
  margin: 6px 0;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  outline: none;
}

.form-input::placeholder {
  color: #ddd;
}

/* Bot??o padr??o */
.btn-primary {
  background: #27c93f;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #1fa530;
}

.login-bg {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-window {
  width: 360px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  overflow: hidden;
}

.login-window .window-header {
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}

.login-window .title {
  margin-left: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}

/* Ajustes espec??ficos do Login */
.login-window .form-input {
  width: 100%;                  /* ocupa toda a largura do box */
  padding: 12px 14px;           /* mais confort??vel */
  margin: 0;                    /* remove margens extras */
  border-radius: 0px;          /* cantos arredondados suaves */
   color: #fff;
  font-size: 20px;
}

.login-window .form-input::placeholder {
  color: rgba(255,255,255,0.6); /* placeholder mais discreto */
}

.login-window .btn-primary {
  width: 100%;
  border-radius: 0px;
  font-size: 20px;
  padding: 12px;
}



/* ===== Topbar (usu??rio logado) ===== */
.topbar {
  position: fixed;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  z-index: 9999;
}

#task-tray {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(920px, calc(100vw - 160px));
  z-index: 9950;
  pointer-events: none;
}

.task-tray-item {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(7, 12, 24, 0.72);
  color: #fff;
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  font-size: 12px;
  cursor: pointer;
}

.task-tray-item:hover {
  transform: translateY(-1px);
}

.task-tray-item .task-tray-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 0 6px rgba(39, 201, 63, 0.16);
}

.window-switcher {
  position: fixed;
  inset: auto 24px 120px auto;
  z-index: 9960;
  min-width: 320px;
  max-width: min(500px, calc(100vw - 48px));
  display: none;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(6, 12, 28, 0.82);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.window-switcher.open {
  display: grid;
}

.window-switcher-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.window-switcher-card strong {
  display: block;
  margin-bottom: 3px;
}

.window-switcher-card small {
  color: rgba(255,255,255,0.66);
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.user-menu .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
}

body.theme-aurora {
  --desktop-wallpaper: radial-gradient(circle at top left, rgba(20, 184, 166, 0.85), transparent 32%), radial-gradient(circle at 76% 12%, rgba(250, 204, 21, 0.54), transparent 24%), linear-gradient(135deg, #07111f 0%, #143349 45%, #0b1020 100%);
  --window-bg: rgba(7, 17, 31, 0.58);
  --desktop-text: #f8fafc;
}

body.theme-solar {
  --desktop-wallpaper: radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.9), transparent 30%), linear-gradient(135deg, #1f1305 0%, #9a3412 42%, #172554 100%);
  --window-bg: rgba(32, 18, 8, 0.52);
  --desktop-text: #fff7ed;
}

body.theme-graphite {
  --desktop-wallpaper: linear-gradient(135deg, #020617 0%, #111827 48%, #374151 100%);
  --window-bg: rgba(2, 6, 23, 0.64);
  --desktop-text: #e5e7eb;
}

body.theme-ocean {
  --desktop-wallpaper: radial-gradient(circle at 50% 8%, rgba(56, 189, 248, 0.74), transparent 34%), linear-gradient(145deg, #082f49 0%, #0f766e 50%, #042f2e 100%);
  --window-bg: rgba(8, 47, 73, 0.58);
  --desktop-text: #ecfeff;
}

.role-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(39, 201, 63, 0.18);
  border: 1px solid rgba(39, 201, 63, 0.25);
  color: #d6ffe0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dropdown escondido por padr??o */
.user-menu .dropdown {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background: rgba(0,0,0,0.85);
  border-radius: 8px;
  padding: 6px 0;
  flex-direction: column;
  min-width: 140px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.user-menu .dropdown a {
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.user-menu .dropdown a:hover {
  background: rgba(255,255,255,0.1);
}




/* ===== Apps Manager ===== */
.apps-body {
  padding: 10px;
}

#apps-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-item {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.app-item:hover {
  background: rgba(255,255,255,0.1);
}

.window#formiproject {
  width: 1180px;
  height: 760px;
  top: 46px;
  left: 60px;
}

.window#workforce-monitor {
  width: 1080px;
  height: 720px;
  top: 70px;
  left: 90px;
}

/* ===== IDE ===== */
.ide-body{
  display:flex;
  gap:12px;
  min-height:520px;
}
.ide-sidebar{
  width:260px;
  background: rgba(255,255,255,0.06);
  border-radius:10px;
  padding:10px;
  overflow:auto;
}
.ide-section-title{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#ddd;
  margin-bottom:6px;
}
.ide-actions{
  display:flex; gap:6px; margin-top:8px;
}
.btn-xs{
  background: rgba(255,255,255,0.12);
  color:#fff; border:none; border-radius:6px;
  padding:6px 10px; cursor:pointer; font-size:12px;
}
.btn-xs.danger{ background: rgba(255, 80, 80, .35); }
.btn-xs:hover{ filter: brightness(1.1); }

.ide-tree{ font-size:14px; }
.tree-node{
  padding:4px 6px; border-radius:6px; margin:2px 0;
  cursor:pointer; display:flex; align-items:center; gap:6px; color:#fff;
}
.tree-node:hover{ background: rgba(255,255,255,0.08); }
.tree-children{ margin-left:4px; display:none; }
.tree-children.show{ display:block; }
.tree-node.dir i{ color:#facc14; }
.tree-node.file i{ color:#cbd5e1; }

.ide-docs{ display:flex; flex-direction:column; gap:6px; }
.doc-item{
  padding:6px 8px; border-radius:6px; cursor:pointer; background: rgba(255,255,255,0.05);
}
.doc-item:hover{ background: rgba(255,255,255,0.1); }

.ide-main{ flex:1; display:flex; flex-direction:column; }
.ide-tabs{ display:flex; gap:6px; margin-bottom:8px; }
.tab-btn{
  background: rgba(255,255,255,0.12); color:#fff; border:none; border-radius:8px;
  padding:8px 12px; cursor:pointer; font-size:13px;
}
.tab-btn.active{ background:#27c93f; }
.tab-panel{ display:none; }
.tab-panel.show{ display:block; }

.ide-editor-toolbar{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:8px; gap:8px;
}
#ide-current-path{ font-size:12px; opacity:.8; }

.ide-editor{
  width:100%; min-height:420px;
  background: rgba(0,0,0,0.35); color:#fff; border:none; border-radius:10px;
  padding:12px; outline:none; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:14px; line-height:1.45;
}

.ide-preview-toolbar{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:8px;
}
.ide-preview{
  width:100%; height:460px; background:#fff; border:none; border-radius:10px; overflow:hidden;
}

.ide-chat-messages{
  height:460px; overflow:auto; display:flex; flex-direction:column; gap:8px;
  padding-right:6px;
}
.chat-msg .bubble{
  max-width:80%; padding:10px 14px; border-radius:12px;
  word-wrap:break-word; white-space:pre-wrap;
}
.chat-msg.user{ display:flex; justify-content:flex-end; }
.chat-msg.user .bubble{ background: rgba(200,200,200,0.2); color:#eee; }
.chat-msg.ai{ display:flex; justify-content:flex-start; }
.chat-msg.ai .bubble{ background: rgba(50,50,50,0.6); border-left: 3px solid #27c93f; color:#fff; }

.ide-chat-input{
  display:flex; gap:8px; margin-top:8px; align-items:center;
}
.ide-chat-input input{
  flex:1; border:none; border-radius:12px; padding:10px 14px;
  background: rgba(255,255,255,0.1); color:#fff; font-size:14px; outline:none;
}
.ide-chat-input button{
  border:none; background:#27c93f; color:#fff; border-radius:50%; width:36px; height:36px;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}

/* ===== FormiOS Login Premium ===== */
.formios-login-bg {
  background:
    radial-gradient(circle at top left, rgba(35, 211, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(39, 201, 63, 0.10), transparent 28%),
    linear-gradient(135deg, #07101d 0%, #0b1d31 48%, #10283f 100%);
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.brand-panel {
  align-self: center;
  padding: 36px 18px 36px 8px;
  color: #f8fbff;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-badge-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27c93f 0%, #23d3ff 100%);
  box-shadow: 0 0 0 8px rgba(35, 211, 255, 0.12);
}

.brand-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.brand-panel p {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(248, 251, 255, 0.82);
}

.brand-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.brand-point {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

.brand-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.brand-point span {
  color: rgba(248, 251, 255, 0.70);
  font-size: 13px;
}

.brand-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  font-weight: 600;
}

.brand-pill.muted {
  color: rgba(248, 251, 255, 0.72);
}

.login-window--hero {
  width: auto;
  max-width: 480px;
  justify-self: end;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.34);
}

.login-body {
  padding: 22px;
  gap: 16px;
}

.login-copy {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
}

.login-copy strong {
  font-size: 20px;
  color: #fff;
}

.login-copy span {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.45;
}

.field-label {
  display: block;
  margin: 12px 0 6px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-window .form-input {
  width: 100%;
  padding: 12px 14px;
  margin: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(4, 10, 24, 0.28);
  box-sizing: border-box;
}

.login-window .form-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.login-window .btn-primary {
  width: 100%;
  border-radius: 14px;
  font-size: 16px;
  padding: 13px;
  margin-top: 12px;
}

.login-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
}

.login-noscript {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  background: #e11d48;
  color: #fff;
  padding: 12px 14px;
  text-align: center;
  font-weight: 700;
}

.desktop-app-shortcuts {
  position: fixed;
  left: 24px;
  bottom: 128px;
  z-index: 5;
  width: min(980px, calc(100vw - 48px));
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(132, 202, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(160, 118, 255, 0.12), transparent 26%),
    rgba(7, 12, 24, 0.70);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(24px) saturate(1.35);
  box-shadow: 0 22px 54px rgba(0,0,0,0.34);
  transition: transform 220ms ease, opacity 220ms ease;
}

.desktop-app-shortcuts.is-collapsed {
  display: none;
}

.desktop-app-shortcuts[hidden] {
  display: none !important;
}

.desktop-app-shortcuts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.desktop-app-shortcuts-close {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.desktop-app-shortcuts-close:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
  transform: scale(1.05);
}

.desktop-app-shortcuts-head strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.desktop-app-shortcuts-head span {
  color: rgba(255,255,255,0.68);
  font-size: 12px;
}

.desktop-app-shortcuts-button {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.desktop-app-shortcuts-button:hover {
  background: rgba(255,255,255,0.13);
}

.desktop-app-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.desktop-app-shortcut {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 14px 28px rgba(0,0,0,0.20);
  transform: translateY(0);
}

.desktop-app-shortcut:hover {
  transform: translateY(-4px) scale(1.01);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)),
    rgba(255,255,255,0.06);
}

.desktop-app-shortcut-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), transparent 40%),
    linear-gradient(135deg, rgba(132,202,255,0.34), rgba(126,92,255,0.26));
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.10);
}

.desktop-app-shortcut-name {
  font-size: 15px;
  font-weight: 700;
}

.desktop-app-shortcut-desc {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.70);
}

@media (max-width: 960px) {
  .desktop-app-shortcuts {
    left: 14px;
    right: 14px;
    bottom: 106px;
    width: auto;
  }
}

@media (max-width: 640px) {
  .desktop-app-shortcuts-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .desktop-app-shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(640px, calc(100vw - 28px));
  }

  .brand-panel {
    padding: 8px 6px 0;
  }

  .brand-panel h1 {
    max-width: none;
  }

  .brand-points {
    grid-template-columns: 1fr;
  }

  .login-window--hero {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .brand-panel h1 {
    font-size: 30px;
  }

  .login-body {
    padding: 18px 16px;
  }

  .brand-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


