/* chat/static/chat/css/styles.css */
/* Import Inter */

@font-face {
  font-family: "hasti-font";
  src: url("../fonts/neue.otf") format('opentype');
}

@font-face {
  font-family: "hasti-font";
  src: url("../fonts/Linotype - Neue Frutiger Arabic Bold.otf") format('opentype');
  font-weight: bold;
}

@font-face {
  font-family: "hasti-font";
  src: url("../fonts/Linotype - Neue Frutiger Arabic Regular.otf") format('opentype');
  font-weight: lighter;
}

:root {
  --bg-main: #ffffff;
  --bg-sidebar: #111312;
  --bg-chat-header: #ffffff;
  --bg-hover: #f5f5f5;
  --bg-user-msg: #343541;
  --bg-assistant-msg: #f7f7f8;
  --text-main: #444654;
  --text-light: #e5e5e5;
  --accent: #10a37f;
  --border: #e0e0e0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  min-height: 100%;
  font-family: 'hasti-font';
}

#app {
  display: flex;
  flex-direction: row-reverse;
  height: 100vh;
  overflow: hidden;

}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn {
  font-family: inherit;
  font-size: .875rem;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: background .2s, border .2s;
}

.icon-btn {
  padding: .4rem .6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-chat-header);
}

.icon-btn:hover {
  background: var(--bg-hover);
}

.new-chat {
  width: 100%;
  padding: .75rem;
  margin-bottom: 1rem;
  background: #343541;
  border: 1px solid #343541;
  border-radius: 4px;
}

.new-chat:hover {
  background: #444654;
  border-color: #444654;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin-bottom: 1rem;
}

.chat-list li {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: .25rem;
  transition: background .2s;
  cursor: pointer;
  user-select: none;
}

.chat-list li:hover,
.chat-list li.active {
  background: #343541;
}

.sidebar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #2a2b2d;
}

.account {
  font-size: .875rem;
}

/* Chat panel */
.chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--bg-main);
}

.chat-header {
  display: flex;
  align-items: center;
  background: var(--bg-chat-header);
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.header-controls {
  display: flex;
  gap: .5rem;
}

.conversation-title {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.filler {
  width: calc(2*.6rem + 2*.4rem + .5rem);
  /* match controls width */
}

/* Messages */
.messages {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.message {
  max-width: 70%;
  padding: .75rem 1rem;
  border-radius: 8px;
  line-height: 1.4;
  position: relative;
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.message.user {
  align-self: flex-end;
  background: var(--bg-user-msg);
  color: #fff;
}

.message.assistant {
  align-self: flex-start;
  background: var(--bg-assistant-msg);
  color: var(--text-main);
}

/* Input panel */
.input-panel {
  display: flex;
  align-items: center;
  padding: .5rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-chat-header);
}

.message-input {
  flex: 1;
  padding: .75rem;
  margin: 0 .5rem;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .875rem;
  transition: border-color .2s;
}

.message-input::placeholder {

  /* Base input styles */
  .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  /* Focus state */
  .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }

  /* Placeholder text */
  .form-control::placeholder {
    color: #6c757d;
    opacity: 1;
    /* Firefox */
  }

  /* Disabled or read-only */
  .form-control:disabled,
  .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
  }

  /* Small size */
  .form-control-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
  }

  /* Large size */
  .form-control-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
  }

  /* Textarea adjustment */
  textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
  }

  color: #888;
  font-style: italic;
}

.message-input:focus {
  outline: none;
  border-color: var(--accent);
}

.send-btn {
  padding: .75rem 1rem;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  transition: background .2s;
}

.send-btn:hover {
  background: #0e8f6f;
}

/* Base input styles */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="color"] {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Focus state */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="color"]:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Placeholder text */
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="tel"]::placeholder,
input[type="search"]::placeholder,
input[type="number"]::placeholder,
input[type="date"]::placeholder,
input[type="month"]::placeholder,
input[type="time"]::placeholder,
input[type="datetime-local"]::placeholder,
input[type="week"]::placeholder,
input[type="color"]::placeholder {
  color: #6c757d;
  opacity: 1;
  /* Firefox */
}

/* Disabled or read-only */
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="email"]:disabled,
input[type="url"]:disabled,
input[type="tel"]:disabled,
input[type="search"]:disabled,
input[type="number"]:disabled,
input[type="date"]:disabled,
input[type="month"]:disabled,
input[type="time"]:disabled,
input[type="datetime-local"]:disabled,
input[type="week"]:disabled,
input[type="color"]:disabled,
input[type="text"][readonly],
input[type="password"][readonly],
input[type="email"][readonly],
input[type="url"][readonly],
input[type="tel"][readonly],
input[type="search"][readonly],
input[type="number"][readonly],
input[type="date"][readonly],
input[type="month"][readonly],
input[type="time"][readonly],
input[type="datetime-local"][readonly],
input[type="week"][readonly],
input[type="color"][readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

/* Base textarea styles */
textarea {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: calc(1.5em + 0.75rem + 2px);
  resize: vertical;
  /* allow vertical resize only */
}

/* Focus state */
textarea:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Placeholder text */
textarea::placeholder {
  color: #6c757d;
  opacity: 1;
  /* for Firefox */
}

/* Disabled or read-only */
textarea:disabled,
textarea[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

/* Base select styles */
select {
  display: block;
  width: 100%;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.65em 0.65em;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Remove native focus outline in some browsers */
select::-ms-expand {
  display: none;
}

/* Focus state */
select:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Disabled or read-only */
select:disabled,
select[readonly] {
  background-color: #e9ecef;
  opacity: 1;
  cursor: not-allowed;
}

/* Size variants */
/* Small */
select.select-sm {
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

/* Large */
select.select-lg {
  padding: 0.5rem 2.25rem 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

/* Multiple-select adjustment */
select[multiple] {
  height: auto;
  background-image: none;
  padding-right: 0.75rem;
}

.report-header-print {
  width: 100%;
  text-align: center;
}

.btn {
  direction: rtl;
}

@media print {
  * {
    color: black !important;
    font-size: 14px !important;
  }

  body,
  html {
    width: 100%;
    height: 100vh;
    font-family: 'hasti-font';
    background: "none";
  }

  /* Hide wrappers’ fixed height & scrollbars so content flows naturally */
  #wrapper,
  #page-content-wrapper {
    height: auto !important;
    overflow: visible !important;
  }

  /* Ensure the .no-print elements (sidebar, top nav) are gone */
  .no-print {
    display: none !important;
  }

  /* Optional: full-width for printed content pane */
  #page-content-wrapper {
    width: 100% !important;
  }
}

.task-table * {
  font-size: 1rem;
}

.task-table th {
  background: linear-gradient(to bottom, rgb(6, 106, 188), color-mix(in srgb, rgb(6, 106, 188) 50%, white));
  color: white;
  align-items: center;
  vertical-align: middle;
}

.task-table-achievement {
  padding: 12px !important;
  background-color: color-mix(in srgb, rgb(6, 106, 188) 10%, white) !important;
}

.task-row {
  border: solid 1px black;
}

.task-table-task-cell {
  background-color: color-mix(in srgb, rgb(6, 106, 188) 50%, white) !important;

}

td {
  transition: 300ms linear ease-in-out;
}

.subtask-collapse {
  transition: height .35s ease, opacity .2s ease;

}

.task-table-thead-a {
  background: none !important;
  color: white !important;
}

.hidden-column {
  display: none !important;
}

/* General layout */
.col-toggle-th {
  transition: min-width .25s ease, width .25s ease, padding .25s ease;
  white-space: nowrap;
}

/* Link styling */
.toggle-anchor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.toggle-anchor[aria-expanded="true"] {
  opacity: 1;

}

.toggle-anchor[aria-expanded="false"] {
  opacity: 0.5;
  max-width: 14px;
  overflow: hidden;
  text-align: right;
  direction: ltr;
  justify-content: right;
}

/* Arrow icon */
.toggle-anchor .arrow::before {
  content: "🔽";
  display: inline-block;
  font-size: .8rem;
  transition: transform .25s ease;

}

/* ------------------------------------------------ */
/* COLLAPSED STATE                                  */
/* ------------------------------------------------ */

/* Bootstrap adds aria-expanded="false" on collapse */
.toggle-anchor[aria-expanded="false"] .arrow::before {
  content: "◀";
}

/* Shrink the TH when hidden */
.target-th.collapsed-col {
  min-width: 40px !important;
  width: 40px !important;
  padding: 6px !important;
}

/* Hide column title while collapsed */
.target-th.collapsed-col .title {
  display: none;
}

/* When a Bootstrap collapse element is hidden */
.collapse:not(.show) {
  display: none !important;
}

/* Remove width reservation from hidden columns */
.start-date.collapse:not(.show),
.end-date.collapse:not(.show),
.evidence.collapse:not(.show),
.opts.collapse:not(.show),
.add.collapse:not(.show) {
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Achievement column expands naturally */
.task-table-achievement {
  width: auto !important;
  white-space: normal;
}

.task-table-achievement-th {
  display: flex;
  flex: 1;
  flex-grow: 1;
  justify-content: center;
}

.achievments-table th,
.achievments-table td {
  display: flex;
  justify-content: center;
}

.achievments-table {
  display: flex;
  justify-content: stretch;
  overflow-x: auto;
}

/* Turn nested rows into flex rows */
.achievments-table tr {
  display: flex;
  width: 100%;
}

/* Every cell behaves as flex item */
.achievments-table th,
.achievments-table td {
  display: flex;
  align-items: center;
}

/* ⬅✅ ACHIEVEMENT column expands */
.task-table-achievement-th,
.task-table-achievement {
  flex: 1 1 auto;
  min-width: 0;
}

/* ⛔ Other columns do NOT grow */
.start-date,
.end-date,
.evidence,
.opts,
.percentage,
.add,
.target-th {
  flex: 0 0 auto;
  width: 10vw;
}

.achievments-local-column {
  flex: 0 0 auto;
  width: 20vw;
}

/* ✅ When collapsed — remove reserved width */
.start-date.collapse:not(.show),
.end-date.collapse:not(.show),
.evidence.collapse:not(.show),
.percentage.collapse:not(.show),
.opts.collapse:not(.show),
.add.collapse:not(.show) {
  width: 0 !important;
  flex: 0 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
}

/* ✅ Header cell styling remains intact */
.task-table-achievement-th {
  background-color: transparent;
}

svg {
  height: 1.5rem;
  width: auto;
}

.task-table-achievement span {
  color: rgb(4, 90, 4);
  clear: both;
}
#wrapper.toggled #sidebar-wrapper {
  margin-right: -250px; /* slide sidebar out of view in RTL */
  transition: margin 0.3s ease;
}

#sidebar-wrapper {
  transition: margin 0.3s ease;
}
#wrapper{
  display: flex;
}

canvas label {
    text-align: right !important;
    direction: rtl !important;
}

/* responsiveness */

/* ============================================================
   RESPONSIVE OVERRIDES
   For monthlyreport dashboard & home views
   RTL Safe – Bootstrap 5 compatible
   ============================================================ */

/* ------------------------------------------------------------
   OTHER TASKS TABLE
------------------------------------------------------------ */
  .mobile-table-box{
display: none;
  }
@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  .container-fluid {
    padding: 10px !important;
  }

  #sidebar-wrapper {
    position: fixed;
    height: 100vh;
    z-index: 10000;
    background: #fff;
    right:-100vw;
  }

  #wrapper.toggled #sidebar-wrapper {
    right:0;
    margin-right: -0px;
  }
#wrapper.toggled #sidebarToggle{
  margin-right: 250px;
}
  #page-content-wrapper {
    width: 100%;
  }

  .navbar .navbar-text {
    font-size: 14px;
  }

  #sidebarToggle {
    padding: 4px 10px;
    font-size: 14px;
  }
  .memo-box{
    display: none;
  }


  .badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  .btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  .btn svg {
    width: 18px;
    height: 18px;
  }



  .month-filter {
    gap: 6px;
    
  }
  .task-table *{
    font-size: 0.7rem;
  }
  .task-table .management-tasks-th{
    width:30%;
  }
  .table-box{
    display: none;
  }
  .mobile-table-box{
    display: unset;
  }
  .mobile-task-table-achievement{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .navbar{
    height: 7vh !important;
  }
  .add-subtask-title{
    color:var(--primary-color);
  }
  .add-subtask-title-task{
    color:rgb(25, 67, 152);
   

  }
}


/* ------------------------------------------------------------
   PRINT FIX
------------------------------------------------------------ */
@media print {

  body {
    font-size: 12px !important;
  }

  table {
    page-break-inside: avoid;
  }

}

/* new opts */

.sbx-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--sbx-z);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(2px);
}
.sbx-one-side-sheet{
  position: relative;
  width: var(--sbx-sheet-w);
  height: fit-content;
  max-height: var(--sbx-sheet-h);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--sbx-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.sbx-sheet {
  position: relative;
  width: var(--sbx-sheet-w);
  height: var(--sbx-sheet-h);
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  overflow: hidden;
  border-radius: var(--sbx-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.Workspace-Settings-workspace-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e2e2;
  border-radius: 10px
}

.sbx-left {
  position: relative;
  overflow: hidden;
  background: var(--modern-background);
  backdrop-filter: blur(14px) saturate(120%);
  border-top-left-radius: var(--sbx-radius);
  border-bottom-left-radius: var(--sbx-radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}

@media (max-width: 920px) {
  .sbx-sheet {
    grid-template-columns: 1fr;
  }
  
  .sbx-left {
      border-bottom-left-radius:0;

  }
}


.sbx-left p svg path {
  fill: white;
}

.settings-email-box {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
}

.sbx-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  pointer-events: none;
}

.sbx-brand {
  padding: 24px 22px 12px;
  font: 600 18px/1.2 system-ui, Segoe UI, Roboto, Arial;
  letter-spacing: .2px;
}

.sbx-left p {
  padding: 0 22px 22px;
  margin: 0;
  font: 400 13px/1.5 system-ui, Segoe UI, Roboto, Arial;
}

.sbx-right {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;

}

.sbx-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.sbx-title {
  font: 600 16px/1.2 system-ui, Segoe UI, Roboto, Arial;
  color: #111;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbx-close {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #333;
}

.sbx-close:hover {
  background: #f2f3f5
}

.sbx-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 0 12px;
}


.sbx-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font: 500 13px/1 system-ui, Segoe UI, Roboto, Arial;
  color: var(--white-color);
  text-align: left;
  display: flex;
  align-items: center;
  color: var(--user-msg-color);
}

.sbx-tab svg {
  margin-right: 16px;
}
.sbx-tab svg path {
  fill: white;
}

.sbx-tab[aria-selected="true"] {
  background: var(--white-color-semi-transparent);

}

.sbx-panel {
  flex: 1;
  overflow: auto;
  padding: 16px 18px 20px 18px;
}

.sbx-actions {
  position: sticky;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid #eee;
  background: transparent;
  top: auto;
}

/* overlay right pane content */
.sbx-content {
  overflow: auto;
  max-height: calc(100vh - 140px);
  padding: 10px;
}

.sbx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.sbx-card {
  border: 1px solid #2a2f3a;
  border-radius: 10px;
  padding: 10px;
  background: var(--primary-color);
}

.sbx-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sbx-card-title {
  font-weight: 600;
}

.sbx-card-ts {
  opacity: .7;
  font-size: .9em;
}

.sbx-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sbx-link {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: rgba(0, 0, 0, .04);
}

.sbx-link:hover {
  border-color: #2a2f3a;
  background: rgba(0, 0, 0, .06);
}

.sbx-link-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbx-link-ts {
  opacity: .7;
  font-size: .85em;
  margin-inline-start: 10px;
}

.sbx-empty {
  opacity: .7;
  padding: 8px 4px;
}

.sbx-btn {
  appearance: none;
  border: 1px solid #e2e2e2;
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font: 600 13px/1 system-ui, Segoe UI, Roboto, Arial
}

.sbx-btn.primary {
  background: rgb(0, 145, 255);
  color: #fff
}

.sbx-btn:active {
  transform: translateY(1px)
}

.sbx-sheet:focus {
  outline: none;
}

/* Custom dark scrollbar for the messages panel */
* {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #555 none;
  /* thumb color, track color */
}

