/* =========================================================
   Variables & Reset
========================================================= */
:root {
  --blue: #0078d4;
  --blue-dark: #106ebe;
  --blue-light: #e8f4fd;
  --red: #d32f2f;
  --red-light: #fdecea;
  --green: #107c10;
  --green-light: #e8f5e9;
  --amber: #f59500;
  --amber-light: #fff8e1;
  --gray-50: #f8f8f8;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-400: #9e9e9e;
  --gray-600: #616161;
  --gray-800: #212121;
  --sidebar-bg: #1e1e1e;
  --sidebar-text: #cccccc;
  --sidebar-hover: #2d2d2d;
  --sidebar-active: #37373d;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 4px rgba(0,0,0,.12);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.16);
  --transition: .15s ease;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body { font-family: var(--font); font-size: 14px; color: var(--gray-800); background: var(--gray-50); }
a { color: var(--blue); text-decoration: none; }
input, select, textarea, button { font: inherit; }

/* =========================================================
   Layout
========================================================= */
.app-shell { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 240px; min-width: 240px;
  background: var(--sidebar-bg);
  display: flex; flex-direction: column;
  overflow-y: auto; color: var(--sidebar-text);
}
.sidebar-logo {
  padding: 18px 16px 14px; font-size: 16px; font-weight: 600;
  color: #fff; border-bottom: 1px solid #333;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-section-title {
  padding: 16px 16px 4px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400);
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; cursor: pointer;
  border-radius: var(--radius); margin: 1px 6px;
  color: var(--sidebar-text); transition: background var(--transition);
  font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border: none; background: none; text-align: left; width: calc(100% - 12px);
}
.sidebar-item:hover { background: var(--sidebar-hover); }
.sidebar-item.active { background: var(--sidebar-active); color: #fff; }
.sidebar-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #333; padding: 10px 6px; }
.sidebar-footer .sidebar-item { font-size: 13px; }

.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.page-header {
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 0 24px; display: flex; align-items: center; gap: 16px;
  min-height: 52px; flex-shrink: 0;
}
.page-header h1 { font-size: 17px; font-weight: 600; }
.page-header .spacer { flex: 1; }

.page-body { flex: 1; overflow-y: auto; padding: 24px; }

/* =========================================================
   Auth Screens
========================================================= */
.auth-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0078d4 0%, #1a6faf 100%);
}
.auth-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px 36px; width: 380px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.auth-card p { color: var(--gray-600); margin-bottom: 24px; font-size: 14px; }
.auth-card .logo { font-size: 28px; font-weight: 700; color: var(--blue); margin-bottom: 24px; }

/* =========================================================
   Tabs
========================================================= */
.tabs {
  display: flex; border-bottom: 2px solid var(--gray-200);
  background: #fff; padding: 0 24px; flex-shrink: 0;
}
.tab-btn {
  padding: 12px 16px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--gray-800); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; font-size: 13.5px; font-weight: 500;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: default; pointer-events: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--gray-800); border-color: var(--gray-200); }
.btn-secondary:hover { background: var(--gray-50); }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #b71c1c; }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-success:hover { background: #0a5e0a; }
.btn-ghost { background: transparent; color: var(--blue); border-color: transparent; }
.btn-ghost:hover { background: var(--blue-light); }
.btn-sm { padding: 4px 10px; font-size: 12.5px; }
.btn-icon { padding: 5px; border-radius: var(--radius); }

/* =========================================================
   Forms
========================================================= */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 13px; }
.form-control {
  display: block; width: 100%;
  padding: 8px 11px; border: 1px solid var(--gray-200);
  border-radius: var(--radius); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: 14px;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0,120,212,.15); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* =========================================================
   Rich Editor (WYSIWYG) + Formatting Toolbar
========================================================= */
.rich-editor-wrap { display: flex; flex-direction: column; flex: 1; }
.format-toolbar {
  display: flex; gap: 2px; padding: 6px 8px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-bottom: none; border-radius: var(--radius) var(--radius) 0 0;
  flex-wrap: wrap;
}
.fmt-btn {
  padding: 4px 9px; background: none; border: 1px solid transparent;
  border-radius: var(--radius); cursor: pointer;
  font-size: 12px; color: var(--gray-600);
  transition: background var(--transition);
  line-height: 1.4;
}
.fmt-btn:hover { background: var(--gray-200); }
.fmt-btn.active { background: var(--blue-light); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.fmt-sep { width: 1px; background: var(--gray-200); margin: 2px 4px; }
.rich-editor {
  min-height: 120px; padding: 10px 14px;
  border: 1px solid var(--gray-200); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  outline: none; font-size: 14px; line-height: 1.6;
  cursor: text; overflow-y: auto; word-break: break-word;
  background: #fff;
}
.rich-editor.compact { min-height: 90px; }
.rich-editor:focus { outline: none; }
.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--gray-400); pointer-events: none;
}
/* Rich text styles inside editors and message display */
.rich-editor h1, .md h1 { font-size: 20px; font-weight: 700; margin: 10px 0 6px; }
.rich-editor h2, .md h2 { font-size: 16px; font-weight: 600; margin: 8px 0 4px; }
.rich-editor h3, .md h3 { font-size: 14px; font-weight: 600; margin: 6px 0 3px; }
.rich-editor p, .md p { margin: 4px 0; }
.rich-editor ul, .md ul { padding-left: 20px; margin: 4px 0; }
.rich-editor ol, .md ol { padding-left: 20px; margin: 4px 0; }
.rich-editor li, .md li { margin: 2px 0; }
.rich-editor strong, .md strong { font-weight: 700; }
.rich-editor em, .md em { font-style: italic; }
.rich-editor u, .md u { text-decoration: underline; }
.md { line-height: 1.6; font-size: 14px; }

/* =========================================================
   Cards & Containers
========================================================= */
.card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
}
.card-header {
  padding: 14px 18px; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
}
.card-body { padding: 16px 18px; }

/* =========================================================
   Task Board
========================================================= */
.search-bar-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.search-bar-row .form-control { max-width: 260px; }

.task-board {
  display: flex; gap: 16px; align-items: flex-start;
  overflow-x: auto; padding-bottom: 12px; min-height: 200px;
}
.task-board::-webkit-scrollbar { height: 6px; }
.task-board::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

.task-column {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 12px; min-width: 280px; width: 280px; flex-shrink: 0;
  transition: background var(--transition), border var(--transition);
  border: 2px solid transparent;
}
.task-column.drag-over {
  background: var(--blue-light) !important;
  border-color: var(--blue) !important;
}
.task-column.done-column { background: #f0f0f0; }

.task-column-header {
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 0 2px;
}
.task-column-title {
  font-weight: 600; font-size: 13px;
  color: var(--gray-600); flex: 1;
}
.task-count {
  background: var(--gray-200); color: var(--gray-600);
  border-radius: 10px; padding: 1px 8px; font-size: 12px; font-weight: 600;
}
.column-actions { display: flex; gap: 2px; }

.task-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 12px 14px;
  margin-bottom: 8px; cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition), opacity var(--transition);
  position: relative;
  user-select: none;
}
.task-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.task-card[draggable="true"] { cursor: grab; }
.task-card.dragging { opacity: 0.35; cursor: grabbing; box-shadow: none; }

/* Completed task styling */
.task-card.completed {
  opacity: 0.52;
  background: var(--gray-50);
}
.task-card.completed .task-card-title {
  text-decoration: line-through;
  color: var(--gray-400);
}

.task-card-title { font-weight: 500; margin-bottom: 8px; font-size: 13.5px; }
.task-card-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--gray-600);
}
.task-card-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 10px;
}

/* Quick complete button on task card */
.task-complete-btn {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--gray-200); background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 11px; opacity: 0;
  transition: opacity var(--transition), border-color var(--transition), background var(--transition);
}
.task-card:hover .task-complete-btn { opacity: 1; }
.task-complete-btn:hover { border-color: var(--green); color: var(--green); }
.task-card.completed .task-complete-btn {
  opacity: 1; background: var(--green); border-color: var(--green); color: #fff;
}

.subtask-progress {
  font-size: 12px; color: var(--gray-400);
  display: flex; align-items: center; gap: 4px;
}
.progress-bar {
  height: 4px; background: var(--gray-200); border-radius: 2px; width: 60px; overflow: hidden;
}
.progress-bar-fill { height: 100%; background: var(--green); border-radius: 2px; }

/* =========================================================
   Badges
========================================================= */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-low { background: var(--gray-100); color: var(--gray-600); }
.badge-medium { background: var(--amber-light); color: #a66900; }
.badge-high { background: var(--red-light); color: var(--red); }
.badge-admin { background: var(--blue-light); color: var(--blue); }
.badge-member { background: var(--gray-100); color: var(--gray-600); }
.badge-suspended { background: var(--red-light); color: var(--red); }
.badge-done { background: var(--green-light); color: var(--green); }

/* =========================================================
   Avatar
========================================================= */
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-transform: uppercase;
}
.avatar-sm { width: 22px; height: 22px; font-size: 9px; }
.avatar-lg { width: 36px; height: 36px; font-size: 14px; }

/* =========================================================
   Modal
========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 16px 16px; overflow-y: auto;
}
.modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 680px; box-shadow: var(--shadow-lg);
  animation: modal-in .15s ease; position: relative;
}
.modal-sm { max-width: 420px; }
.modal-header {
  padding: 18px 24px 14px; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h2 { font-size: 16px; font-weight: 600; }
.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 14px 24px; border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.modal-close {
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: var(--radius); color: var(--gray-400);
  font-size: 20px; line-height: 1;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-800); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Discussion
========================================================= */
.discussion-wrapper { display: flex; flex-direction: column; height: calc(100vh - 160px); }
.discussion-feed { flex: 1; overflow-y: auto; padding: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.message {
  display: flex; gap: 12px; padding: 8px 10px; border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.message:hover { background: var(--gray-50); }
.message.is-pinned { background: #fffbeb; border-left: 3px solid var(--amber); padding-left: 5px; }
.message-content { flex: 1; min-width: 0; }
.message-header { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; flex-wrap: wrap; }
.message-author { font-weight: 600; font-size: 13px; }
.message-time { font-size: 11px; color: var(--gray-400); flex-shrink: 0; }
.msg-inline-actions { display: flex; gap: 2px; align-items: center; margin-left: 2px; }
.msg-inline-actions .btn { opacity: 0.45; transition: opacity var(--transition); }
.msg-inline-actions .btn:hover { opacity: 1; }
.msg-action-pinned { opacity: 1 !important; background: rgba(255,193,7,.18) !important; }
.message-text { font-size: 13.5px; line-height: 1.5; word-break: break-word; }
.message-attachment {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 6px 10px;
  background: var(--gray-100); border-radius: var(--radius);
  font-size: 12px; color: var(--blue); cursor: pointer;
}
.message-attachment:hover { background: var(--blue-light); }
/* Reactions */
.msg-reactions { display: flex; gap: 4px; margin-top: 4px; }
.msg-reactions-empty .reaction-btn { opacity: 0.2; }
.msg-reactions-empty:not(:hover) { display: none; }
.message:hover .msg-reactions-empty { display: flex; }
.reaction-btn {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--gray-100); border: 1px solid transparent;
  border-radius: 12px; padding: 2px 8px; font-size: 12px;
  cursor: pointer; transition: all var(--transition); line-height: 1.4;
  color: var(--gray-600);
}
.reaction-btn:hover { background: var(--gray-200); border-color: var(--gray-200); opacity: 1; }
.reaction-btn.active { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.reaction-btn span { font-weight: 600; }
/* Pinned banner */
.pinned-banner {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: #fffbeb; border: 1px solid var(--amber); border-radius: var(--radius);
  margin-bottom: 8px; font-size: 13px;
}
.pinned-banner-pin { font-size: 14px; flex-shrink: 0; }
.pinned-banner-body { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.discussion-input-area { border-top: 1px solid var(--gray-200); padding: 16px 0 0; }
.discussion-input-row { display: flex; gap: 8px; align-items: flex-end; }
.discussion-input-row .rich-editor-wrap { flex: 1; }
.discussion-input-row .rich-editor { min-height: 90px; max-height: 180px; overflow-y: auto; }

/* =========================================================
   Attachments
========================================================= */
.attachment-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-top: 16px;
}
.attachment-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.attachment-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.attachment-icon { font-size: 28px; line-height: 1; }
.attachment-name { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-meta { font-size: 11px; color: var(--gray-400); }
.attachment-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }

.upload-zone {
  border: 2px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 28px 20px; text-align: center; cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  color: var(--gray-400);
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
.upload-zone input { display: none; }

/* =========================================================
   Members
========================================================= */
.members-list { display: flex; flex-direction: column; gap: 2px; }
.member-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
  transition: background var(--transition);
}
.member-row:hover { background: var(--gray-50); }
.member-info { flex: 1; min-width: 0; }
.member-name { font-weight: 500; font-size: 13.5px; }
.member-email { font-size: 12px; color: var(--gray-400); }

/* =========================================================
   Admin
========================================================= */
.user-table { width: 100%; border-collapse: collapse; }
.user-table th, .user-table td {
  padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--gray-100); font-size: 13px;
}
.user-table th { font-weight: 600; color: var(--gray-600); background: var(--gray-50); }
.user-table tr:hover td { background: var(--gray-50); }
.user-table .actions { display: flex; gap: 6px; }

/* =========================================================
   Subtasks
========================================================= */
.subtask-list { display: flex; flex-direction: column; gap: 4px; }
.subtask-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: var(--radius);
  transition: background var(--transition);
}
.subtask-item:hover { background: var(--gray-50); }
.subtask-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--blue); }
.subtask-item label { flex: 1; cursor: pointer; font-size: 13.5px; }
.subtask-item.done label { text-decoration: line-through; color: var(--gray-400); }

/* =========================================================
   Task Detail Modal Layout
========================================================= */
.task-detail-grid { display: grid; grid-template-columns: 1fr 220px; gap: 24px; }
.task-sidebar-fields { display: flex; flex-direction: column; gap: 14px; }
.task-field-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--gray-400); margin-bottom: 4px;
}

/* =========================================================
   Projects Grid
========================================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.project-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 20px; cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.project-card h3 { font-size: 15px; margin-bottom: 6px; }
.project-card p { font-size: 13px; color: var(--gray-400); margin-bottom: 14px; }
.project-card-footer { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-400); }
.new-project-card {
  border: 2px dashed var(--gray-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--gray-400); min-height: 120px;
}
.new-project-card:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* =========================================================
   Utilities
========================================================= */
.text-muted { color: var(--gray-400); }
.text-sm { font-size: 12px; }
.text-danger { color: var(--red); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.ml-auto { margin-left: auto; }
.divider { border: none; border-top: 1px solid var(--gray-100); margin: 12px 0; }
.spacer { flex: 1; }

.empty-state { text-align: center; padding: 48px 20px; color: var(--gray-400); }
.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state h3 { font-size: 15px; color: var(--gray-600); margin-bottom: 6px; }

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-200); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
.loading-center { display: flex; justify-content: center; align-items: center; height: 200px; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13px; }
.alert-error { background: var(--red-light); color: var(--red); border: 1px solid #f7c0be; }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid #b8e0b8; }
.alert-warning { background: var(--amber-light); color: #a66900; border: 1px solid #f8d87b; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 900px) {
  .task-detail-grid { grid-template-columns: 1fr; }
  .sidebar { width: 200px; min-width: 200px; }
}
@media (max-width: 640px) {
  .sidebar { display: none; }
  .page-body { padding: 12px; }
  .auth-card { width: 100%; margin: 16px; }
}
