:root {
  --the3-primary: #0f80ed;
  --the3-primary-strong: #063a5f;
  --the3-primary-soft: #eaf4ff;
  --the3-accent: #12a88a;
  --the3-warning: #f59e0b;
  --the3-danger: #dc3545;
  --the3-ink: #111827;
  --the3-muted: #667085;
  --the3-line: #e4e7ec;
  --the3-line-strong: #d0d5dd;
  --the3-surface: #ffffff;
  --the3-surface-alt: #f8fafc;
  --the3-canvas: #f3f6fa;
  --the3-shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.04);
  --the3-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  --the3-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --the3-radius-xs: 6px;
  --the3-radius-sm: 8px;
  --the3-radius: 10px;
  --the3-radius-lg: 14px;
  --the3-space-page: clamp(1rem, 2vw, 1.5rem);
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  color: var(--the3-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--the3-canvas) !important;
}

a {
  color: var(--the3-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--the3-primary-strong);
}

.app-shell {
  min-height: 100vh;
}

.app-content,
.app-main {
  min-width: 0;
}

.app-main-inner {
  max-width: 1360px;
  padding: var(--the3-space-page) !important;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex: 0 0 272px;
  flex-direction: column;
  width: 272px;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--the3-line);
  background: var(--the3-surface);
  box-shadow: 3px 0 14px rgba(15, 23, 42, 0.04);
}

.app-sidebar-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.app-sidebar-body.collapse:not(.show) {
  display: flex;
}

.app-brand {
  min-height: 104px;
  border-bottom: 1px solid var(--the3-line);
  justify-content: flex-start;
}

.app-brand-logo {
  display: block;
  width: 232px;
  height: 58px;
  margin: 0;
  padding: 0.18rem;
  object-fit: contain;
  border: 1px solid var(--the3-line);
  border-radius: var(--the3-radius);
  background: #fff;
}

.app-menu-toggle {
  display: none;
}

.app-menu {
  flex: 1 1 auto;
  gap: 0.25rem;
  padding: 0.85rem 0.75rem;
}

.app-menu .nav-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  color: #344054;
  border: 1px solid transparent;
  border-radius: var(--the3-radius);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.app-menu .nav-link:hover {
  color: var(--the3-primary-strong);
  background-color: var(--the3-primary-soft);
  border-color: #d6ebff;
}

.app-menu .nav-link.active {
  color: var(--the3-primary-strong);
  background: var(--the3-primary-soft);
  border-color: #b9ddff;
  box-shadow: inset 3px 0 0 var(--the3-primary);
}

.app-sidebar-footer {
  display: grid;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: auto;
  padding: 0.85rem 0.75rem;
  border-top: 1px solid var(--the3-line);
  background: var(--the3-surface-alt);
}

.app-notification-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-self: start;
  margin-left: 0;
}

.app-user-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid var(--the3-line);
  border-radius: var(--the3-radius);
  background: var(--the3-surface);
  box-shadow: var(--the3-shadow-sm);
}

.app-user-meta {
  min-width: 0;
  line-height: 1.25;
}

.app-user-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.app-user-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  border-bottom: 1px solid var(--the3-line);
  background: var(--the3-surface);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 3px var(--the3-primary-soft);
}

.card,
.auth-card,
.dropdown-menu,
.modal-content {
  border: 1px solid var(--the3-line) !important;
  border-radius: var(--the3-radius-sm);
  background: var(--the3-surface);
  box-shadow: var(--the3-shadow) !important;
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 1rem;
}

.card-title {
  color: var(--the3-ink);
  font-size: 0.98rem;
  font-weight: 750;
  margin-bottom: 0.9rem;
}

.card .h3,
.card h3 {
  font-weight: 780;
}

.app-main-inner > .d-flex:first-child {
  margin-bottom: 1.25rem !important;
}

.app-main-inner > .d-flex:first-child h3 {
  color: var(--the3-ink);
  font-size: 1.35rem;
  font-weight: 780;
}

.card .row.g-3 {
  row-gap: 0.9rem !important;
}

.card form.row {
  row-gap: 0.85rem !important;
}

.card + .card,
.card + .row,
.row + .card {
  margin-top: 0.9rem;
}

h3,
.h3 {
  letter-spacing: 0;
}

.text-muted {
  color: var(--the3-muted) !important;
}

.small,
small {
  letter-spacing: 0;
}

.btn {
  min-height: 38px;
  border-radius: var(--the3-radius);
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--the3-shadow-sm);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-sm {
  min-height: 32px;
}

.btn-lg {
  min-height: 48px;
}

.dashboard-open-ticket-card .card-body {
  min-height: 100%;
}

.btn-primary,
.bg-primary {
  background-color: var(--the3-primary) !important;
  border-color: var(--the3-primary) !important;
}

.btn-primary:hover {
  background-color: #0a6fd2 !important;
  border-color: #0a6fd2 !important;
}

.btn-outline-primary {
  color: var(--the3-primary) !important;
  border-color: #98ccff !important;
  background-color: #fff;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  color: #fff !important;
  background-color: var(--the3-primary) !important;
  border-color: var(--the3-primary) !important;
}

.btn-light,
.btn-outline-secondary {
  border-color: var(--the3-line-strong);
  background-color: #fff;
}

.btn-danger {
  background-color: var(--the3-danger);
  border-color: var(--the3-danger);
}

.form-label {
  color: #344054;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 42px;
  border-radius: var(--the3-radius);
  border-color: var(--the3-line-strong);
  background-color: #fff;
}

.form-control:focus,
.form-select:focus,
.auth-card .form-control:focus {
  border-color: rgba(15, 128, 237, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(15, 128, 237, 0.12);
}

.form-text {
  color: #7a8699;
}

.form-check-input:checked {
  background-color: var(--the3-primary);
  border-color: var(--the3-primary);
}

.table {
  --bs-table-striped-bg: #f8fbff;
  --bs-table-hover-bg: #eef7ff;
  color: var(--the3-ink);
  vertical-align: middle;
}

.table > :not(caption) > * > * {
  padding: 0.68rem 0.78rem;
}

.table thead th {
  color: #5f6b7a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--the3-surface-alt);
  border-bottom-color: var(--the3-line-strong);
}

.table td {
  border-color: var(--the3-line);
}

.table-responsive {
  border: 1px solid var(--the3-line);
  border-radius: var(--the3-radius);
  box-shadow: var(--the3-shadow-sm);
}

.table-responsive .table {
  margin-bottom: 0;
}

.list-group-item {
  padding: 0.72rem 0;
  border-color: var(--the3-line);
  background-color: transparent;
}

.list-group-flush > .list-group-item:first-child {
  padding-top: 0;
}

.list-group-flush > .list-group-item:last-child {
  padding-bottom: 0;
}

.badge {
  border-radius: 999px;
  font-weight: 750;
  padding: 0.38em 0.65em;
}

.alert {
  border-radius: var(--the3-radius);
}

.pagination {
  gap: 0.3rem;
}

.pagination .page-link {
  min-width: 36px;
  border-radius: var(--the3-radius);
  color: var(--the3-primary);
  border-color: var(--the3-line);
}

.pagination .page-item.active .page-link {
  background-color: var(--the3-primary);
  border-color: var(--the3-primary);
  color: #fff;
}

.pagination .page-link:hover {
  color: var(--the3-primary-strong);
  background-color: var(--the3-primary-soft);
}

.auth-shell {
  display: grid;
  padding: 0;
  background: #fff;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.36fr);
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.auth-visual {
  display: flex;
  align-items: stretch;
  padding: 0;
  background: #123555;
}

.auth-visual-inner {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 3.6rem);
  border-radius: 0;
  background: radial-gradient(circle at 82% 67%, rgba(47, 128, 237, 0.12) 0 96px, transparent 97px),
    linear-gradient(135deg, #0f2a44 0%, #143a5e 100%);
  color: #fff;
}

.auth-visual-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 42%);
}

.auth-visual-logo,
.auth-visual-copy,
.auth-visual-footer {
  position: relative;
  z-index: 1;
}

.auth-visual-logo {
  width: min(100%, 520px);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-visual-copy {
  max-width: 520px;
}

.auth-visual-copy strong {
  display: block;
  max-width: 520px;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 820;
  line-height: 1.02;
}

.auth-visual-copy strong span {
  color: #2f80ed;
}

.auth-visual-copy p {
  max-width: 470px;
  margin: 1.35rem 0 1.8rem;
  color: #b8cbe0;
  font-size: 1.02rem;
  line-height: 1.65;
}

.auth-visual-copy ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  color: #c8d7e8;
  list-style: none;
}

.auth-visual-copy li {
  position: relative;
  padding-left: 1.2rem;
}

.auth-visual-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.16);
}

.auth-visual-footer {
  color: rgba(200, 215, 232, 0.55);
  font-size: 0.82rem;
}

.auth-card {
  display: flex;
  max-width: none !important;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.6rem) clamp(1.5rem, 4vw, 4rem) !important;
  border: 0 !important;
  border-radius: 0;
  background: #fff;
  box-shadow: none !important;
}

.auth-card-header {
  text-align: left !important;
  width: min(100%, 400px);
}

.auth-title {
  color: #0f2a44;
  font-size: clamp(2.05rem, 3vw, 2.65rem);
  font-weight: 820;
  line-height: 1.04;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: #2f80ed;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.auth-form .form-label {
  color: #0f2a44;
  font-size: 0.84rem;
  font-weight: 780;
}

.auth-form .form-control {
  min-height: 48px;
  border-radius: var(--the3-radius-sm);
  background: #f8fafc;
  font-size: 0.95rem;
}

.auth-form {
  width: min(100%, 400px);
}

.auth-submit {
  min-height: 50px;
  border-color: #0f2a44 !important;
  background: #0f2a44 !important;
  box-shadow: 0 14px 24px rgba(15, 42, 68, 0.22);
}

.auth-submit:hover {
  border-color: #123555 !important;
  background: #123555 !important;
}

.auth-help {
  width: min(100%, 400px);
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid #cfe6ff;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--the3-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--the3-primary-soft);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1;
  text-align: center;
}

.status-badge.bg-info {
  background-color: #d7f0ff !important;
  color: #075985 !important;
}

.status-badge.bg-secondary {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
}

.status-badge.bg-dark {
  background-color: #111827 !important;
  color: #fff !important;
}

.status-badge.bg-primary {
  background-color: var(--the3-primary) !important;
  color: #fff !important;
}

.ticket-editor {
  overflow: hidden;
  border-color: var(--the3-line-strong) !important;
  border-radius: var(--the3-radius) !important;
  background: #fff;
}

.ticket-editor-area {
  min-height: 180px;
  outline: none;
}

.ticket-editor-area:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}

.ticket-editor-toolbar {
  background: var(--the3-surface-alt);
}

.ticket-editor-toolbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  font-size: 0.88rem;
}

.ticket-editor-toolbar .btn:hover {
  background-color: #e2e8f0;
}

.ticket-message-content ul,
.ticket-message-content ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.ticket-message-content p {
  margin-bottom: 0.75rem;
}

.ticket-conversation {
  display: grid;
  gap: 0.85rem;
  max-height: 54vh;
  overflow-y: auto;
  padding: 0.15rem 0.2rem 1rem;
}

.ticket-chat-row {
  display: flex;
  width: 100%;
}

.ticket-chat-row.is-client,
.ticket-chat-row.is-other {
  justify-content: flex-start;
}

.ticket-chat-row.is-agent,
.ticket-chat-row.is-own {
  justify-content: flex-end;
}

.ticket-chat-bubble {
  width: fit-content;
  max-width: min(680px, 78%);
  padding: 0.9rem 1rem;
  border: 1px solid var(--the3-line);
  border-radius: var(--the3-radius);
  background: #fff;
}

.ticket-chat-row.is-client .ticket-chat-bubble,
.ticket-chat-row.is-other .ticket-chat-bubble {
  border-left: 4px solid var(--the3-primary);
  border-right: 1px solid var(--the3-line);
  background: #f8fbff;
}

.ticket-chat-row.is-agent .ticket-chat-bubble,
.ticket-chat-row.is-own .ticket-chat-bubble {
  border-left: 1px solid var(--the3-line);
  border-right: 4px solid var(--the3-accent);
  background: #f8fffc;
}

.ticket-chat-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ticket-chat-name {
  color: var(--the3-ink);
  font-weight: 760;
}

.ticket-chat-composer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--the3-line);
}

.ticket-chat-composer .ticket-editor-area {
  min-height: 112px;
}

.ticket-chat-actions {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  overflow: hidden;
  padding-bottom: 0.35rem;
}

.timeline-horizontal .timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--the3-line);
  border-radius: var(--the3-radius-sm);
  background: #fff;
  box-shadow: none;
}

.timeline-horizontal .timeline-item::before {
  display: none;
}

.timeline-horizontal .timeline-item strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.timeline-horizontal .timeline-item ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.timeline-horizontal .timeline-item li {
  margin-bottom: 0.18rem;
  font-size: 0.82rem;
}

.timeline-horizontal .timeline-item li:last-child {
  margin-bottom: 0;
}

.timeline-compact {
  display: grid;
  gap: 0;
}

.client-timeline-card .card-body {
  padding: 0.95rem 1.1rem;
}

.client-timeline-card .card-title {
  margin-bottom: 0.8rem !important;
}

.timeline-compact .timeline-item {
  display: grid;
  gap: 0.18rem;
  min-height: 0;
  padding: 0 0 0.55rem 1.05rem;
  border-left: 2px solid #d6ebff;
}

.timeline-compact .timeline-item:last-child {
  min-height: 0;
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-compact .timeline-item::before {
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 3px solid var(--the3-primary);
  box-shadow: 0 0 0 2px var(--the3-primary-soft);
}

.timeline-compact .timeline-item strong {
  color: var(--the3-ink);
  font-size: 0.9rem;
}

.timeline-compact .timeline-item .d-flex {
  align-items: baseline !important;
  gap: 0.75rem !important;
}

.timeline-compact .timeline-item .text-end {
  min-width: 112px;
}

.timeline-compact .timeline-item small,
.timeline-compact .timeline-item .small {
  font-size: 0.78rem;
}

.timeline-compact .timeline-item .badge {
  margin-top: 0 !important;
  padding: 0.22rem 0.52rem;
  font-size: 0.68rem;
}

.timeline-compact .timeline-item ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.timeline-compact .timeline-item li {
  margin: 0;
}

.timeline-compact .status-badge {
  min-width: 0;
  padding: 0.28rem 0.65rem;
}

.client-chat-card {
  width: 100%;
  max-width: none;
}

.client-chat-card .ticket-conversation {
  max-height: 58vh;
}

.client-chat-card .ticket-chat-row {
  justify-content: initial;
}

.client-chat-card .ticket-chat-row.is-other {
  justify-content: flex-start;
}

.client-chat-card .ticket-chat-row.is-own {
  justify-content: flex-end;
}

.client-chat-card .ticket-chat-bubble {
  max-width: min(960px, 88%);
}


@media (min-width: 1200px) {
  .client-chat-card .ticket-conversation {
    padding-right: 0.55rem;
  }

  .client-chat-card .ticket-chat-bubble {
    max-width: min(720px, 62%);
  }
}

.timeline-horizontal .timeline-item small {
  white-space: normal;
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .app-shell {
    flex-direction: column;
  }

  .app-sidebar {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    flex-basis: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--the3-line);
    box-shadow: none;
    z-index: 30;
  }

  .app-sidebar-body {
    display: none;
    border-top: 1px solid var(--the3-line);
  }

  .app-sidebar-body.collapse:not(.show) {
    display: none;
  }

  .app-sidebar-body.show {
    display: flex;
  }

  .app-brand {
    min-height: auto;
    padding: 0.75rem 1rem !important;
    justify-content: space-between !important;
    gap: 1rem;
  }

  .app-brand-logo {
    width: min(62vw, 272px);
    height: 58px;
    margin: 0;
  }

  .app-menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .app-menu-toggle span {
    position: absolute;
    left: 10px;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--the3-primary-strong);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .app-menu-toggle span:nth-child(1) {
    top: 14px;
  }

  .app-menu-toggle span:nth-child(2) {
    top: 20px;
  }

  .app-menu-toggle span:nth-child(3) {
    top: 26px;
  }

  .app-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .app-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .app-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .app-menu {
    display: flex !important;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
  }

  .app-menu .nav-link {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0.55rem 0.75rem !important;
    text-align: left;
  }

  .app-sidebar-footer {
    display: grid;
    align-items: stretch;
    gap: 0.75rem;
    overflow: visible;
    padding: 0.85rem 1rem;
  }

  .app-user-card {
    min-width: 0;
  }

  .app-user-actions {
    min-width: 0;
  }

  .auth-shell {
    padding: 0;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border-radius: 0;
  }

  .auth-visual {
    padding: 0;
  }

  .auth-visual-inner {
    min-height: 360px;
    padding: 1.5rem;
  }

  .auth-visual-logo {
    width: min(100%, 420px);
    padding: 0;
  }

  .auth-visual-copy strong {
    font-size: 1.75rem;
  }

  .auth-card {
    align-items: center;
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .app-main-inner {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .app-menu {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .app-sidebar-footer {
    flex-wrap: wrap;
  }

  .ticket-chat-bubble {
    width: 100%;
    max-width: 100%;
  }

  .ticket-chat-actions {
    flex-direction: column;
  }

  .ticket-chat-actions .btn {
    width: 100%;
  }

  .client-chat-card {
    margin-left: 0;
    width: 100%;
  }

  .client-chat-card .ticket-chat-bubble {
    max-width: 100%;
  }

  .auth-shell {
    display: grid;
    padding: 0;
    place-items: stretch;
  }

  .auth-panel {
    display: grid;
    grid-template-rows: auto auto;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-visual {
    display: block;
    padding: 0;
  }

  .auth-visual-inner {
    min-height: 300px;
    padding: 1.25rem;
    background: radial-gradient(circle at 82% 67%, rgba(47, 128, 237, 0.12) 0 72px, transparent 73px),
      linear-gradient(135deg, #0f2a44 0%, #143a5e 100%);
    color: #fff;
  }

  .auth-visual-inner::before {
    display: block;
  }

  .auth-visual-logo {
    width: min(100%, 320px);
    height: auto;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-visual-copy p,
  .auth-visual-copy ul,
  .auth-visual-footer {
    display: none;
  }

  .auth-card {
    min-height: 0;
    padding: 2rem 1.25rem !important;
    border-radius: 0;
  }

  .auth-card-header {
    text-align: left !important;
  }
}
