/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f6fa;
  color: #1d2939;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
  position: sticky; top: 0; z-index: 50;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  color: #fff; display: grid; place-items: center; font-size: 15px;
}
.topbar-nav { display: flex; gap: 4px; }
.topbar-nav a {
  padding: 8px 14px; border-radius: 8px; color: #667085; font-weight: 500; font-size: 14px; cursor: pointer;
}
.topbar-nav a.active { background: #f3ebff; color: #5b21b6; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: #667085;
  border: 1px solid #e4e7ec; background: #fff;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600;
}

/* ---------- Container ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 24px 28px 64px; }

/* ---------- Page header ---------- */
.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.page-header-left { flex: 1; }
.breadcrumb { display: flex; align-items: center; gap: 6px; color: #667085; font-size: 13px; margin-bottom: 8px; }
.breadcrumb strong { color: #1d2939; font-weight: 600; }
.page-header h1 { font-size: 24px; margin-bottom: 10px; }
.meta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; color: #475467; font-size: 13px; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.badge-info { background: #eff8ff; color: #175cd3; border: 1px solid #b2ddff; }
.badge-success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.badge-warning { background: #fffaeb; color: #b54708; border: 1px solid #fedf89; }
.badge-danger { background: #fef3f2; color: #b42318; border: 1px solid #fdb022; }

.page-header-right { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 8px; font-size: 14px; font-weight: 500; transition: all .15s;
  border: 1px solid transparent;
}
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-primary { background: #5b21b6; color: #fff; }
.btn-primary:hover { background: #4c1d95; }
.btn-primary:disabled { background: #c4b5fd; cursor: not-allowed; }
.btn-secondary { background: #fff; color: #1d2939; border-color: #d0d5dd; }
.btn-secondary:hover { background: #f9fafb; }
.btn-ghost { background: transparent; color: #475467; border-color: #d0d5dd; }
.btn-ghost:hover { background: #f9fafb; }
.btn-group { display: inline-flex; gap: 8px; }

/* ---------- Tab Panel ---------- */
.tab-panel { display: block; }
.tab-panel.active { display: block; }

/* ---------- Card / panel grid ---------- */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-grid-full { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.card-header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid #e4e7ec;
}
.card-header h2 { font-size: 15px; color: #101828; }
.card-body { padding: 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; color: #475467; text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: #101828;
  outline: none; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: #f9fafb; color: #667085; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 50px; }
.input-suffix span {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: #667085; font-size: 13px; pointer-events: none;
}

/* ---------- Data table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table thead th {
  text-align: left; padding: 10px 12px; font-weight: 600; color: #475467;
  background: #f9fafb; border-bottom: 1px solid #e4e7ec;
}
.data-table tbody td { padding: 8px 12px; border-bottom: 1px solid #f2f4f7; }
.data-table tbody tr:hover { background: #fafbff; }
.cell-input { width: 100%; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; }
.cell-input:focus { border-color: #7c3aed; background: #fff; box-shadow: 0 0 0 3px #f3ebff; outline: none; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.chip-violet { background: #f3ebff; color: #5b21b6; }
.chip-blue { background: #eff8ff; color: #1849a9; }
.chip-amber { background: #fffaeb; color: #b54708; }
.chip-emerald { background: #ecfdf3; color: #027a48; }

/* ---------- Image grid ---------- */
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.image-tile {
  background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; overflow: hidden;
  transition: all .15s;
}
.image-tile:hover { box-shadow: 0 4px 12px rgba(16,24,40,.08); transform: translateY(-1px); }
.thumb { aspect-ratio: 4/3; }
.image-meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.image-meta strong { font-size: 13px; }
.image-meta span { font-size: 12px; color: #667085; }
.image-tile-empty {
  border: 2px dashed #d0d5dd; aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: #98a2b3; cursor: pointer;
  background: #fafbff;
}
.image-tile-empty:hover { border-color: #7c3aed; color: #5b21b6; }

/* ---------- Laudo editor ---------- */
.laudo-layout { display: flex; flex-direction: column; gap: 20px; }
.laudo-editor-card { display: flex; flex-direction: column; }
.template-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.template-row label { font-size: 13px; color: #475467; }
.template-select-wrap { display: flex; gap: 10px; align-items: center; }
.template-select {
  flex: 1; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff;
  color: #101828;
}

/* Rich text toolbar */
.rt-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 8px 10px; background: #f9fafb; border: 1px solid #e4e7ec; border-radius: 8px;
  margin-bottom: 12px;
}
.rt-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px;
  color: #475467; font-size: 13px;
}
.rt-btn:hover { background: #fff; color: #1d2939; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.rt-btn.rt-btn-active { background: #5b21b6; color: #fff; }
.rt-btn.rt-btn-highlight { background: #f3ebff; color: #5b21b6; font-weight: 500; border: 1px solid #e9d5ff; }
.rt-btn.rt-btn-highlight:hover { background: #e9d5ff; }
.rt-sep { width: 1px; height: 18px; background: #d0d5dd; margin: 0 4px; }

.editor-layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; }
.rt-editor {
  background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; padding: 28px 36px;
  min-height: 540px; outline: none; line-height: 1.65;
}
.rt-editor p { margin: 0 0 10px; }
.rt-editor strong { color: #1d2939; }
.rt-editor table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.rt-editor table th, .rt-editor table td { border: 1.5px solid #111; padding: 6px 10px; }
.rt-editor table th { background: #f3ebff; text-align: left; font-weight: 600; }
.rt-editor table .num { text-align: right; }
.rt-editor table tr.green-row td { background: #d6f5d6; }
.rt-editor .table-title { font-weight: 700; font-size: 14px; margin: 18px 0 6px; }

.rt-sidebar {
  background: #f9fafb; border: 1px solid #e4e7ec; border-radius: 8px; padding: 14px;
  font-size: 13px; width: 280px; max-height: 545px; overflow-y: auto;
}
.sidebar-section h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #1d2939; }
.search-box { margin-bottom: 12px; }
.search-box input {
  width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 6px;
  font-size: 13px; outline: none;
}
.search-box input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }
.sidebar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-list li {
  padding: 8px 10px; background: #fff; border: 1px solid #e4e7ec; border-radius: 6px;
  cursor: pointer; font-size: 12px; color: #475467; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-list li:hover { border-color: #7c3aed; color: #5b21b6; background: #f3ebff; }
.rt-side-section { display: flex; gap: 6px; border-bottom: 1px solid #e4e7ec; padding-bottom: 8px; margin-bottom: 12px; }
.rt-side-title { padding: 6px 10px; border-radius: 6px; color: #475467; cursor: pointer; font-weight: 500; }
.rt-side-title.active { background: #fff; color: #5b21b6; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.rt-side-body { display: flex; flex-direction: column; gap: 14px; }
.rt-prop { display: flex; flex-direction: column; gap: 8px; }
.rt-prop label { font-size: 12px; font-weight: 600; color: #475467; }
.color-pick { display: flex; gap: 6px; align-items: center; }
.color-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #e4e7ec; }
.color-swatch-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #d0d5dd; background: #fff; display: grid; place-items: center; color: #475467; }
.rt-borders { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rt-border-btn {
  width: 30px; height: 28px; border-radius: 6px; border: 1px solid #d0d5dd; background: #fff;
  display: grid; place-items: center; color: #475467;
}
.rt-border-btn.active { background: #1d2939; color: #fff; border-color: #1d2939; }
.border-size { padding: 6px 8px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; font-size: 12px; }
.rt-mini-btn { width: 32px; height: 28px; border: 1px solid #d0d5dd; background: #fff; border-radius: 6px; display: grid; place-items: center; color: #475467; }
.margin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.margin-grid div { display: flex; flex-direction: column; gap: 2px; }
.margin-grid small { color: #475467; font-size: 11px; }
.margin-grid input { padding: 6px 8px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; width: 100%; }

.rt-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 0 4px; }
.page-info { color: #475467; font-size: 13px; }
.zoom-info { display: flex; align-items: center; gap: 6px; color: #475467; font-size: 13px; }
.zoom-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #d0d5dd; background: #fff; display: grid; place-items: center; color: #475467; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(16,24,40,.5);
  display: grid; place-items: center; z-index: 100; padding: 24px; overflow: auto;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 560px;
  display: flex; flex-direction: column; max-height: 90vh; overflow: hidden;
  box-shadow: 0 20px 50px rgba(16,24,40,.25);
}
.modal-md { max-width: 480px; }
.modal-lg { max-width: 720px; }
.modal-full { max-width: 1100px; height: 90vh; max-height: 90vh; }
.modal-header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid #e4e7ec;
}
.modal-header h2 { font-size: 16px; color: #101828; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #667085;
}
.modal-close:hover { background: #f3ebff; color: #5b21b6; }
.modal-subhead { padding: 16px 22px 0; }
.modal-subtitle { font-size: 13px; color: #475467; margin: 0 0 8px; }
.modal-subtitle .link { color: #5b21b6; cursor: pointer; text-decoration: underline; }
.model-title { width: 100%; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 15px; font-weight: 500; color: #101828; outline: none; }
.model-title:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }

.modal-body { padding: 18px 22px; overflow: auto; flex: 1; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 22px; border-top: 1px solid #e4e7ec; background: #fafbff;
}
.modal-footer-spread { justify-content: space-between; }
.modal-footer-info { color: #475467; font-size: 12px; display: flex; align-items: center; }
.modal-footer-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Search input */
.search-input {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; margin-bottom: 14px;
}
.search-input input { border: none; outline: none; flex: 1; padding: 0; background: transparent; }
.search-input:focus-within { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }

/* Checkbox list */
.checkbox-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.checkbox-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer;
}
.checkbox-item:hover { background: #f9fafb; }
.checkbox-item input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-box {
  width: 18px; height: 18px; border: 1.5px solid #d0d5dd; border-radius: 4px; display: grid; place-items: center;
  background: #fff; transition: all .15s; flex-shrink: 0;
}
.checkbox-item input:checked + .checkbox-box { background: #5b21b6; border-color: #5b21b6; }
.checkbox-item input:checked + .checkbox-box::after {
  content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translateY(-1px);
}
.checkbox-label { font-size: 14px; color: #1d2939; }
.modal-hint { font-size: 12px; color: #98a2b3; padding: 0 4px; }
.modal-hint.error { color: #b42318; }

/* ---------- Rule builder ---------- */
.section-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #475467; letter-spacing: .04em; margin: 4px 0 10px; }
.rule-builder {
  display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 10px; margin-bottom: 18px;
}
.rule-segment { display: flex; flex-direction: column; gap: 4px; }
.rule-segment label { font-size: 12px; color: #475467; }
.rule-select, .rule-input {
  width: 100%; padding: 9px 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; outline: none;
}
.rule-select:focus, .rule-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }

.rule-output { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.rule-output-row strong { color: #1d2939; font-size: 13px; }
.rule-textarea-wrapper { position: relative; }
.rule-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 8px; outline: none; resize: vertical; min-height: 80px; white-space: pre-wrap;
}
.rule-textarea:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px #f3ebff; }
.rule-textarea:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
}
.autocomplete-list {
  position: fixed; z-index: 2000; list-style: none; margin: 0; padding: 4px 0;
  background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 200px; overflow-y: auto; width: 403px; display: none;
}
.autocomplete-list li {
  padding: 8px 12px; cursor: pointer; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.autocomplete-list li:hover, .autocomplete-list li.selected {
  background: #f3ebff; color: #5b21b6;
}
.rule-helper { font-size: 12px; color: #667085; background: #f9fafb; border-radius: 6px; padding: 8px 10px; }
.rule-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f3ebff; color: #5b21b6; font-size: 12px; font-weight: 500; border: 1px solid #e9d5ff; }

.link-btn {
  display: inline-block;
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: #5b21b6;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.link-btn:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.rule-else-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e4e7ec;
}

.rule-else-if-list,
.rule-else-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Model editor modal ---------- */
.model-editor-layout { display: grid; grid-template-columns: 240px 1fr; gap: 16px; height: 100%; min-height: 0; }
.model-sidebar {
  background: #fafbff; border: 1px solid #e4e7ec; border-radius: 8px; padding: 14px;
  display: flex; flex-direction: column; gap: 18px; overflow: auto;
}
.model-side-section h3 { font-size: 11px; color: #98a2b3; letter-spacing: .06em; margin-bottom: 8px; }

.attr-list { display: flex; flex-direction: column; gap: 4px; }
.attr-btn { text-align: left; padding: 6px 10px; border-radius: 6px; color: #475467; font-size: 13px; }
.attr-btn:hover { background: #f3ebff; color: #5b21b6; }
.model-canvas {
  background: #fff; border: 1px solid #e4e7ec; border-radius: 8px; padding: 24px 28px;
  outline: none; min-height: 100%; line-height: 1.65; overflow: auto;
}
.model-canvas p { margin: 0 0 10px; }
.cond-block { background: #f3ebff; border-left: 3px solid #5b21b6; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.cond-block:hover { background: #e9d5ff; }
.cond-block[data-cond-type="end"] { border-left-color: #98a2b3; background: #f9fafb; }
.cond-marker { font-weight: 600; color: #1d2939; font-family: 'Menlo', monospace; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .panel-grid, .grid-2, .editor-layout, .rule-builder, .model-editor-layout { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
}

/* ============================================================
   Tela de Login (mock — apenas demonstração visual)
   ============================================================ */
body.logged-out { overflow: hidden; }
body.logged-out .container { display: none; }

.login-screen {
  position: fixed; inset: 0; z-index: 1000;
  background: #eef1f6;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 20px; overflow: auto;
}
.login-wrap { width: 100%; max-width: 560px; }

.login-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 40px;
}
.login-logo-text { font-size: 32px; letter-spacing: -.5px; }
.lw-thin { color: #b91c1c; font-weight: 600; }
.lw-bold {
  font-weight: 800;
  background: linear-gradient(90deg, #b91c1c, #5b21b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.login-card {
  position: relative; background: #fff; border-radius: 22px;
  padding: 44px 44px 40px;
  box-shadow: 0 18px 50px rgba(45, 27, 105, .12);
  border-top: 3px solid transparent;
}
.login-card::before {
  content: ""; position: absolute; inset: -3px -1px auto -1px; height: 26px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #7c3aed, #5b21b6);
  z-index: -1;
}
.login-subtitle {
  text-align: center; color: #667085; font-size: 17px;
  margin-bottom: 32px;
}
.login-label {
  display: block; font-size: 18px; font-weight: 700;
  color: #101828; margin: 18px 0 8px;
}
.login-field { position: relative; }
.login-field input {
  width: 100%; padding: 16px 18px; font-size: 15px;
  border: 1px solid #e4e7ec; border-radius: 12px; color: #101828;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.login-field input::placeholder { color: #98a2b3; }
.login-field input:focus {
  outline: none; border-color: #7c3aed; box-shadow: 0 0 0 4px #f3ebff;
}
.login-eye {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: #98a2b3; display: flex; padding: 4px;
}
.login-eye:hover { color: #5b21b6; }

.login-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 26px;
}
.login-remember {
  display: flex; align-items: center; gap: 10px;
  color: #475467; font-size: 16px; cursor: pointer;
}
.login-remember input { width: 20px; height: 20px; accent-color: #7c3aed; }
.login-forgot { color: #344054; font-weight: 700; font-size: 16px; text-decoration: none; }
.login-forgot:hover { color: #5b21b6; }

.login-submit {
  width: 100%; padding: 17px; font-size: 17px; font-weight: 700;
  color: #fff; border-radius: 12px;
  background: #a78bfa; transition: background .15s, transform .05s;
}
.login-submit:hover { background: #8b5cf6; }
.login-submit:active { transform: translateY(1px); }
