* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Inter", Arial, sans-serif;
}

.login-body {
  background-color: #111111;
}

.login-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background-color: #363636;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
}

.login-logo {
  width: 80px;
  margin-bottom: 16px;
}

.login-title {
  color: #ffffff;
  margin: 0 0 16px;
  font-size: 16px;
}

.input-group {
  margin: 16px 0;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #2ed46e;
  background-color: #222222;
  color: #ffffff;
  outline: none;
}

.input-group input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px #222222 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.password-group input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.icon-eye.is-hidden {
  display: none;
}

.login-button {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #2ed46e, #2ed46e);
  color: #000000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-button.loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loading-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000000;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.login-button:disabled {
  background: linear-gradient(90deg, #2ed46e, #2ed46e);
  cursor: not-allowed;
  opacity: 0.7;
}

.login-button:not(:disabled):hover {
  background: linear-gradient(90deg, #2ed46e, #2ed46e);
}

.reset-link {
  margin-top: 20px;
}

.reset-link a {
  color: #ffffff;
  text-decoration: none;
}

.login-slider {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #888888;
}

.slider-dot.active {
  background-color: #2ed46e;
}

.login-terms {
  margin-top: 16px;
  font-size: 12px;
  color: #aaaaaa;
  line-height: 1.4;
}

.login-terms a {
  color: #2ed46e;
  text-decoration: none;
  font-weight: bold;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  width: 360px;
  max-width: 90vw;
  border: 2px solid transparent;
  color: #ffffff;
}

.toast.success {
  background-color: #255c38;
  border-color: #2ed46e;
  color: #2ed46e;
}

.toast.error {
  background-color: #4b1717;
  border-color: #d60000;
  color: #fa4848;
}

.inline-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  color: #cfcfcf;
  font-size: 13px;
  justify-content: center;
  min-height: 140px;
  flex: 1;
  align-self: stretch;
}

.inline-loading .loading-spinner {
  width: 56px;
  height: 56px;
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
}

.app-body {
  background-color: #333333;
  color: #ffffff;
}

.app-layout {
  display: flex;
  height: 100vh;
}

.app-drawer {
  width: 104px;
  background-color: #212121;
  display: flex;
  flex-direction: column;
}

.drawer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background-color: #212121;
}

.drawer-logo img {
  max-height: 30px;
  width: auto;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.drawer-menu::-webkit-scrollbar {
  display: none;
}

.drawer-item {
  width: 92%;
  margin: 2px auto;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  height: auto;
  justify-content: center;
}

.drawer-item img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.drawer-item span {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.drawer-item:hover {
  background-color: #2e2e2e;
  border-color: #2e2e2e;
}

.drawer-item.active {
  background-color: #2e2e2e;
  border-color: #2e2e2e;
}

.drawer-logout {
  margin-top: 8px;
  color: #ff5252;
}

.drawer-logout span {
  color: #ff5252;
}

.drawer-logout:hover {
  background-color: #ff5252;
}

.drawer-logout:hover span {
  color: #ffffff;
}

.drawer-logout:hover img {
  filter: brightness(0) invert(1);
}

.app-content {
  flex: 1;
  background-color: #141414;
  overflow: auto;
  padding: 0;
}

.app-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.app-content::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.app-content::-webkit-scrollbar-thumb {
  background: #5a5a5a;
  border-radius: 8px;
}

.app-content::-webkit-scrollbar-thumb:hover {
  background: #6a6a6a;
}

.app-content {
  scrollbar-width: thin;
  scrollbar-color: #5a5a5a #2a2a2a;
}

.mobile-topbar {
  display: none;
  align-items: center;
  justify-content: center;
  height: 48px;
  background-color: #151515;
}

.mobile-topbar img {
  max-height: 25px;
  width: auto;
}

.mobile-footer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background-color: #212121;
  align-items: center;
  justify-content: space-around;
  z-index: 10;
}

.mobile-menu-item {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-item img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.mobile-menu-item:focus,
.mobile-menu-item:focus-visible {
  outline: none;
}

.mobile-menu-item.active {
  background-color: #2e2e2e;
  border-radius: 8px;
}

.app-placeholder {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 24px;
}

@media (max-width: 600px) {
  .contact-drawer {
    position: fixed !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    border-left: none;
    z-index: 12 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  .contact-drawer.is-fullscreen {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 104px) !important;
    margin-top: 48px !important;
    margin-bottom: 56px !important;
    z-index: 15 !important;
  }

  .contact-drawer-header {
    position: sticky;
    top: 0;
    background: #141414;
    z-index: 2;
  }

  .contact-drawer-close {
    position: relative;
    z-index: 3;
  }

  .app-layout {
    flex-direction: column;
    height: calc(100vh - 56px);
    padding-top: 48px;
  }

  .app-drawer {
    display: none;
  }

  .app-content {
    padding: 0;
    background-color: #151515;
  }

  .mobile-topbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
  }

  .mobile-footer {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
  }
}

.dash-wrap {
  padding: 0;
}

.dash-container {
  max-width: 1400px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filters-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filters-select {
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.filters-range {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dash-title {
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-card {
  background: #111111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 0 1px #1d1d1d inset;
  width: 100%;
  min-width: 0;
}

.dash-card-title {
  color: #9aa0a6;
  font-size: 13px;
  margin-bottom: 8px;
}

.dash-card-value {
  color: #2ed46e;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.donut-box {
  background: #111111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 0 1px #1d1d1d inset;
  width: 100%;
  min-width: 0;
}

.donut-title {
  color: #9aa0a6;
  font-size: 13px;
  margin-bottom: 8px;
}

.donut-ctr {
  width: 100%;
  max-width: 520px;
  height: 320px;
  margin: 0;
  position: relative;
  min-width: 0;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #d3d3d3;
  font-size: 13px;
  align-items: center;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donut-legend-item span {
  white-space: nowrap;
}

.donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-loading {
  margin-top: 10px;
  color: #9aa0a6;
}

.mini-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mini-bar-label {
  color: #f1f1f1;
  opacity: 0.92;
  font-size: 12px;
  min-width: 0;
}

.mini-bar-track {
  background: #2b2b2b;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.mini-bar-fill {
  height: 100%;
  transition: width 0.25s;
}

.mini-bar-value {
  color: #9aa0a6;
  font-size: 12px;
  text-align: right;
  min-width: 0;
}

.pill-button {
  width: 100%;
  background: #111111;
  color: #d3d3d3;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 6px 28px 6px 12px;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
}

.pill-caret {
  position: absolute;
  right: 10px;
  top: 6px;
  pointer-events: none;
  color: #8a8a8a;
  font-size: 12px;
}

.pill-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.pill-item {
  padding: 8px 10px;
  border-radius: 8px;
  color: #d3d3d3;
  cursor: pointer;
}

.pill-item:hover {
  background: #161616;
}

.filter-button {
  background: #111111;
  color: #d3d3d3;
  border-radius: 18px;
  border: 1px solid #2a2a2a;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}

.filter-button.active {
  background: #2ed46e;
  color: #000000;
}

.date-compact {
  background: #111111;
  color: #d3d3d3;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 6px 12px;
  outline: none;
}

@media (max-width: 900px) {
  .contact-drawer.is-fullscreen {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 48px !important;
    margin-bottom: 56px !important;
    height: calc(100vh - 104px) !important;
    z-index: 15 !important;
  }

  .dash-wrap {
    padding: 0;
  }

  .topbar {
    justify-content: center;
    gap: 10px;
  }

  .dash-title {
    width: 100%;
    text-align: center;
    margin-left: 0;
    order: -1;
    margin-top: 4px;
  }

  .filters-pills {
    display: none;
  }

  .filters-select {
    display: flex;
  }

  .filters-range {
    justify-content: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .dash-card,
  .donut-box,
  .donut-ctr {
    width: 100%;
    max-width: 100%;
  }

  .mini-bar-row {
    grid-template-columns: 90px 1fr 32px;
  }

  .donut-ctr {
    height: 340px;
    padding-bottom: 30px;
    margin-top: 8px;
  }

  .donut-legend {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -6px;
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    gap: 6px;
    padding: 0 6px;
  }

  .donut-box {
    padding: 16px 12px;
  }

  .donut-legend-item span {
    font-size: 12px;
  }
}

.dash-wrap * {
  -webkit-tap-highlight-color: transparent;
}

.dash-wrap button,
.dash-wrap [role=\"button\"],
.dash-wrap select,
.dash-wrap input {
  outline: none;
  box-shadow: none;
}

.contacts-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.contacts-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.contacts-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.contacts-topbar .spacer {
  flex: 1 1 auto;
}

.contacts-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.contacts-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.contacts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.contacts-container.is-loading .contacts-topbar,
.contacts-container.is-loading .contacts-content {
  visibility: hidden;
}

.contacts-loading-overlay {
  position: absolute;
  inset: 0;
}

.contacts-loading-overlay.page-loading {
  background: transparent;
}

.contact-card {
  background: #101010;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #1d1d1d;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.contact-drawer {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 360px !important;
  max-width: 90vw !important;
  height: 100% !important;
  background: #141414 !important;
  border-left: 1px solid #2b2b2b;
  z-index: 70 !important;
  display: none !important;
  flex-direction: column !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.contact-drawer-overlay {
  display: none !important;
}

.contact-drawer.is-open {
  display: flex !important;
}

@media (min-width: 961px) {
  .contact-drawer.is-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-left: none !important;
    right: 0 !important;
    left: 0 !important;
  }
}

.contact-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: none;
}

.contact-drawer-close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f1f1f;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.contact-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.contact-drawer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-drawer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-drawer-title-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-drawer-name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-drawer-sub {
  color: #bdbdbd;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-drawer-actions {
  margin-top: 0;
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}

.contact-drawer-actions.is-visible {
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
  max-height: 80px;
  pointer-events: auto;
}

.contact-drawer-actions .btn-primary {
  width: 100%;
}

.contact-drawer-actions .btn-primary:disabled {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #bdbdbd;
  cursor: not-allowed;
  opacity: 1;
}


.contact-drawer-section .text-input {
  width: 100%;
  background: #1d1d1d;
  color: #fff;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  padding: 10px 12px;
  resize: none;
  min-height: 86px;
  font-family: inherit;
}

.contact-drawer-section input[type="date"] {
  font-family: inherit;
}

.contact-note-list {
  margin-top: 16px;
}

.contact-note-item {
  align-items: stretch;
  background: #1b1b1b;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-note-item + .contact-note-item {
  margin-top: 12px;
}

.contact-note-item:last-child {
  margin-bottom: 12px;
}

.contact-note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cfcfcf;
  font-size: 11px;
  margin: 0;
  line-height: 1.2;
}

.contact-note-meta > div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-note-author {
  font-weight: 600;
}

.contact-note-time {
  opacity: 0.8;
}

.contact-note-text {
  font-size: 13px;
  color: #fff;
  margin: 0;
  white-space: pre-wrap;
  font-weight: 600;
  line-height: 1.35;
}

.contact-note-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #3a1d1d;
  background: #2a1414;
  cursor: pointer;
  align-self: center;
  margin: 0;
}

.contact-note-delete img {
  width: 14px;
  height: 14px;
  display: block;
  filter: invert(25%) sepia(82%) saturate(2706%) hue-rotate(351deg) brightness(97%) contrast(101%);
}


.tickets-page {
  position: relative;
}

.tickets-page.contact-drawer-open .tickets-chat {
  padding-right: 360px;
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.contact-avatar.placeholder .icon-svg {
  width: 26px;
  height: 26px;
  display: block;
  filter: invert(1);
}

.contact-avatar.ring-wa {
  border-color: #2ed46e;
}

.contact-avatar.ring-ig {
  border-color: #ff2d75;
}

.contact-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #101010;
}

.contact-badge .icon-svg {
  width: 12px;
  height: 12px;
  display: block;
  filter: invert(1);
}

.contact-badge.wa {
  background: #2ed46e;
}

.contact-badge.ig {
  background: #ff2d75;
}

.contact-title-col {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-name {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-sub {
  color: #d3d3d3;
  opacity: 0.85;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.icon-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #ffffff;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-btn .icon-svg {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
}

.icon-btn.danger .icon-svg {
  filter: invert(34%) sepia(90%) saturate(6335%) hue-rotate(352deg) brightness(100%) contrast(101%);
}

.contacts-loading {
  margin-top: 8px;
  color: #9aa0a6;
}

.quickmsg-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quickmsg-container [hidden] {
  display: none !important;
}

.quickmsg-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.quickmsg-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.quickmsg-topbar .spacer {
  flex: 1 1 auto;
}

.quickmsg-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.quickmsg-container {
  position: relative;
}

.quickmsg-container.is-loading .quickmsg-topbar,
.quickmsg-container.is-loading .quickmsg-content {
  visibility: hidden;
}

.quickmsg-loading-overlay {
  position: absolute;
  inset: 0;
}

.quickmsg-loading-overlay.page-loading {
  background: transparent;
}

.quickmsg-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.quickmsg-table-wrap {
  background: transparent;
  border-radius: 12px;
  border: none;
  padding: 0;
}

.quickmsg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.quickmsg-table thead tr {
  background: #00ff5b;
  height: 50px;
}

.quickmsg-table th {
  color: #000000;
  font-weight: 700;
  padding: 12px;
  text-transform: none;
}

.quickmsg-table tbody tr {
  background: #262626;
}

.quickmsg-table td {
  color: #ffffff;
  padding: 12px;
}

.quickmsg-table th:first-child,
.quickmsg-table td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.quickmsg-table th:last-child,
.quickmsg-table td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.quickmsg-col-center {
  text-align: center;
}

.quickmsg-col-left {
  text-align: left;
}

.quickmsg-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quickmsg-loading,
.quickmsg-empty {
  margin-top: 8px;
  color: #9aa0a6;
  text-align: center;
}

.quickmsg-modal {
  width: min(420px, 90vw);
}

.quickmsg-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quickmsg-textarea {
  min-height: 140px;
  resize: vertical;
}

.quickmsg-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quickmsg-picker-list {
  max-height: 320px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quickmsg-picker-item {
  border: 1px solid #2a2a2a;
  background: #181818;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.quickmsg-picker-item:hover {
  border-color: #2ed46e;
  background: #1f1f1f;
}

.quickmsg-picker-code {
  font-size: 12px;
  color: #2ed46e;
}

.quickmsg-picker-message {
  font-size: 13px;
  color: #d8d8d8;
  margin-top: 4px;
}

.users-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.users-container [hidden] {
  display: none !important;
}

.users-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.users-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.users-topbar .spacer {
  flex: 1 1 auto;
}

.users-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.users-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.users-table-wrap {
  background: transparent;
}

.queues-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.queues-container [hidden] {
  display: none !important;
}

.queues-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.queues-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.queues-topbar .spacer {
  flex: 1 1 auto;
}

.queues-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.queues-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.tags-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.tags-container [hidden] {
  display: none !important;
}

.tags-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.tags-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.tags-topbar .spacer {
  flex: 1 1 auto;
}

.tags-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.tags-topbar .btn-square {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #2ed46e;
  border: none;
}

.tags-topbar .btn-square img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%);
}

.tags-topbar .input-dark img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.tags-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.tags-container.is-loading .tags-topbar,
.tags-container.is-loading .tags-content {
  visibility: hidden;
}

.tags-loading-overlay {
  position: absolute;
  inset: 0;
}

.tags-loading-overlay.page-loading {
  background: transparent;
}

.tags-color-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tags-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.tags-modal {
  width: min(520px, 94vw);
}

.tags-modal .form-grid.tag-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: end;
  column-gap: 12px;
}

.tags-modal .form-field {
  width: 100%;
}

.tags-modal .text-input {
  height: 44px;
}

.tags-modal .color-square {
  width: 44px;
  height: 44px;
}

.connections-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.connections-container.is-loading .connections-topbar,
.connections-container.is-loading .connections-content {
  visibility: hidden;
}

.connections-loading-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.connections-loading-overlay.page-loading {
  background: transparent;
}

.connections-container [hidden] {
  display: none !important;
}

.connections-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.connections-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.connections-topbar .spacer {
  flex: 1 1 auto;
}

.settings-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  position: relative;
}

.settings-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
  margin-top: 12px;
}

.settings-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.settings-topbar .spacer {
  flex: 1 1 auto;
}

.settings-topbar .top-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #dcdcdc;
}

.settings-tab {
  background: #262626;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #2a2a2a;
}

.settings-tab.is-active {
  background: #2ed46e;
  color: #000000;
}

.settings-tab img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.settings-tab.is-active img {
  filter: brightness(0);
}

.settings-panels {
  flex: 1;
  padding: 0 16px 16px;
}

.settings-panel {
  display: none;
}

.settings-panel.is-active {
  display: block;
}

.settings-section {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #2a2a2a;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.section-subtitle {
  font-size: 12px;
  color: #a0a0a0;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-actions .btn-square {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #2ed46e;
  border: none;
}

.section-actions .btn-square img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%);
}

.section-actions .input-dark img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.settings-table-wrap {
  background: #1b1b1b;
  border-radius: 10px;
  padding: 8px;
  overflow-x: auto;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  color: #f5f5f5;
}

.settings-table th,
.settings-table td {
  text-align: left;
  padding: 10px;
  font-size: 13px;
  border-bottom: 1px solid #2a2a2a;
}

.settings-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.settings-date-icon {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1) !important;
}

.settings-loading-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.settings-container.is-loading .settings-topbar,
.settings-container.is-loading .settings-panels {
  visibility: hidden;
}

.company-users-modal {
  width: min(1100px, 96vw);
}

.settings-modal .form-grid.two-cols {
  grid-template-columns: 1fr 80px;
  align-items: end;
  column-gap: 12px;
}

.settings-modal .form-grid.company-grid {
  grid-template-columns: 1fr 1fr;
}

.settings-modal .form-grid.user-grid {
  grid-template-columns: 1fr 1fr;
}

.settings-modal .form-field.full-width {
  grid-column: 1 / 2;
}

.color-square {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.color-square::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-square::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
}

.settings-modal input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.settings-modal input[type="color"],
.settings-confirm-modal input[type="color"],
.company-users-modal input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.company-users-modal {
  width: min(980px, 94vw);
}

.settings-modal input[type="color"],
.settings-confirm-modal input[type="color"],
.company-users-modal input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  width: 46px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.settings-modal input[type="color"]::-webkit-color-swatch-wrapper,
.settings-confirm-modal input[type="color"]::-webkit-color-swatch-wrapper,
.company-users-modal input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.settings-modal input[type="color"]::-webkit-color-swatch,
.settings-confirm-modal input[type="color"]::-webkit-color-swatch,
.company-users-modal input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
}

.settings-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.settings-actions .icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.settings-actions .icon-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.settings-loading,
.settings-empty {
  text-align: center;
  margin: 12px 0 6px;
  color: #b0b0b0;
}

.settings-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.credentials-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credentials-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.settings-checkboxes input,
.settings-queues-list input {
  accent-color: #2ed46e;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dcdcdc;
  font-size: 13px;
}

.settings-queues {
  margin-top: 12px;
}

.settings-queues-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.settings-color {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
}

.settings-panel input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.settings-panel input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.settings-panel input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.connections-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.connections-content {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}

.connections-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.connection-card {
  background: #101010;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #1d1d1d;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.connection-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.connection-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.connection-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 2px solid transparent;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-avatar .icon-svg {
  width: 26px;
  height: 26px;
  display: block;
  filter: invert(1);
}

.connection-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.connection-avatar.ring-wa {
  border-color: #2ed46e;
}

.connection-avatar.ring-ig {
  border-color: #ff2d75;
}

.connection-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #101010;
}

.connection-badge .icon-svg {
  width: 12px;
  height: 12px;
  display: block;
  filter: invert(1);
}

.connection-badge.wa {
  background: #2ed46e;
}

.connection-badge.ig {
  background: #ff2d75;
}

.connection-title-col {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.connection-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.connection-name {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-sub {
  color: #d3d3d3;
  opacity: 0.85;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.connection-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.connections-loading,
.connections-empty {
  margin-top: 8px;
  color: #9aa0a6;
}

.connections-modal {
  width: min(420px, 90vw);
}

.connections-modal .modal-footer {
  flex-direction: row;
}

.connections-modal .btn-primary {
  width: auto;
}

.connections-modal .btn-outline {
  width: auto;
}

.connections-type-modal {
  width: min(360px, 90vw);
}

.connections-type-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.connections-type-modal .btn-solid {
  width: 100%;
  justify-content: flex-start;
  background: #3f3f3f;
  border-color: #4a4a4a;
  color: #ffffff;
}

.connections-type-modal .btn-solid .icon-svg {
  filter: invert(1);
}

.instagram-modal {
  width: min(560px, 92vw);
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
}

.copy-field .form-input {
  margin: 0;
}

.copy-action {
  height: 40px;
  padding: 0 16px;
  white-space: nowrap;
}

.qr-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1c1c1c;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.qr-modal[hidden] {
  display: none;
}

.connections-qr-modal {
  width: min(710px, 92vw);
}

.connections-qr-modal .modal-body {
  padding: 18px 20px 22px;
}

.qr-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.8fr);
  gap: 28px;
  color: #e6e6e6;
  align-items: start;
}

.qr-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
  padding-left: 10px;
}

.qr-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.qr-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  align-items: center;
  margin: 0;
}

.qr-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #5a5a5a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #dcdcdc;
  margin-top: 2px;
}

.qr-step-text {
  font-size: 14px;
  color: #d8d8d8;
  line-height: 1.35;
  text-align: left;
}

.qr-keep {
  margin-top: 10px;
  font-size: 13px;
  color: #9ad8a8;
}

.qr-code-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.qr-box {
  width: 260px;
  height: 260px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.connection-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #cfcfcf;
  border-top-color: #2ed46e;
  animation: spin 0.9s linear infinite;
}

.qr-wait {
  text-align: center;
  font-size: 12px;
  color: #bdbdbd;
  max-width: 280px;
}

.qr-alt {
  font-size: 12px;
  color: #93d7a2;
  text-decoration: underline;
  cursor: pointer;
}

.qr-paircode {
  font-size: 12px;
  color: #1a1a1a;
  background: #f0f0f0;
  padding: 6px 8px;
  border-radius: 6px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .qr-layout {
    grid-template-columns: 1fr;
  }
  .qr-box {
    width: 220px;
    height: 220px;
  }
}

.connections-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connection-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid transparent;
}

.connection-status.status-online {
  background: #1f3f2b;
  color: #2ed46e;
  border-color: #2ed46e;
}

.connection-status.status-offline {
  background: #3a1f1f;
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.connection-status.status-qr {
  background: #1f2f3f;
  color: #4cc3ff;
  border-color: #4cc3ff;
}

.connection-status.status-idle {
  background: #2a2a2a;
  color: #d3d3d3;
  border-color: #2a2a2a;
}

.qr-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.connection-qr-image {
  width: 240px;
  max-width: 100%;
  display: block;
  margin: 0 auto 12px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
}

.connection-qr-hint,
.connection-qr-empty,
.connection-qr-text {
  text-align: center;
  color: #d3d3d3;
  font-size: 14px;
}

.connection-qr-text {
  word-break: break-all;
}

.queues-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.queues-table thead tr {
  background: #00ff5b;
  height: 50px;
}

.queues-table th {
  color: #000000;
  font-weight: 700;
  padding: 12px;
  text-transform: none;
}

.queues-table tbody tr {
  background: #262626;
}

.queues-table td {
  color: #ffffff;
  padding: 12px;
}

.queues-table th:first-child,
.queues-table td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.queues-table th:last-child,
.queues-table td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.queues-col-center {
  text-align: center;
}

.queues-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.queues-color-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.queues-color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}

.queues-loading,
.queues-empty {
  margin-top: 8px;
  color: #9aa0a6;
  text-align: center;
}

.queues-modal {
  width: min(300px, 92vw);
}

.queues-modal .modal-footer {
  flex-direction: column;
}

.queues-modal .modal-footer .btn-outline,
.queues-modal .modal-footer .btn-primary {
  width: 100%;
  height: auto;
  padding: 10px 12px;
}

.queues-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queues-modal .form-input {
  height: 38px;
}

.queues-form .form-row {
  grid-template-columns: 1fr 38px;
  gap: 10px;
}

.queues-color-field {
  display: flex;
  flex-direction: column;
}

.color-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 38px;
  justify-content: center;
}

.color-preview {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.color-input {
  flex: 1;
}

.color-picker {
  width: 38px;
  height: 38px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.color-input-wrap .color-picker {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  position: absolute;
}

.users-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.users-table thead tr {
  background: #00ff5b;
  height: 50px;
}

.users-table th {
  color: #000000;
  font-weight: 700;
  padding: 12px;
  text-transform: none;
}

.users-table tbody tr {
  background: #262626;
}

.users-table td {
  color: #ffffff;
  padding: 12px;
}

.users-table th:first-child,
.users-table td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.users-table th:last-child,
.users-table td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.users-col-center {
  text-align: center;
}

.users-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.users-loading,
.users-empty {
  margin-top: 8px;
  color: #9aa0a6;
  text-align: center;
}

.users-modal {
  width: min(520px, 92vw);
}

.users-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.users-queues {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.multi-select {
  position: relative;
}

.multi-select-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: #ffffff;
}

.multi-select-placeholder {
  color: #8a8a8a;
  font-size: 13px;
}

.multi-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  z-index: 30;
  max-height: 200px;
  overflow: auto;
}

.multi-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #d3d3d3;
  cursor: pointer;
}

.multi-select-item:hover {
  background: #161616;
}

.multi-select-item input {
  pointer-events: none;
}

.queue-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #ffffff;
  background: #2a2a2a;
}

.btn-square {
  background: #2ed46e;
  color: #000000;
  height: 38px;
  min-height: 38px;
  width: 38px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-square .icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-solid {
  background: #2ed46e;
  color: #000000;
  border-radius: 10px;
  border: 1px solid #2ed46e;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-solid .icon-svg {
  width: 16px;
  height: 16px;
  display: block;
}

.btn-muted {
  background: #2a2a2a;
  color: #9aa0a6;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
}

.contacts-container [hidden] {
  display: none !important;
}

.input-dark {
  height: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: #111111;
  border: 1px solid #2a2a2a;
  color: #ffffff;
  padding: 0 12px;
  gap: 6px;
}

.input-dark svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  flex: 0 0 auto;
}

.input-dark .icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  filter: invert(1);
  flex: 0 0 auto;
}

.input-dark input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  height: 100%;
  padding: 0;
  line-height: 38px;
  outline: none;
}

.pill-select {
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #111111;
  color: #d3d3d3;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 0 12px;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.contacts-topbar .input-dark,
.contacts-topbar .pill-select,
.mobile-controls .input-dark,
.mobile-controls .pill-select {
  height: 38px;
  min-height: 38px;
  align-self: center;
}

.pill-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  z-index: 30;
}

.pill-item {
  padding: 8px 10px;
  border-radius: 8px;
  color: #d3d3d3;
  cursor: pointer;
}

.pill-item:hover {
  background: #161616;
}

.mobile-controls {
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 50;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1c1c1c;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  width: min(500px, 90vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.modal[hidden],
.modal-overlay[hidden] {
  display: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a2a;
}

.modal-title {
  color: #ffffff;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}

.modal-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-header .btn-icon.modal-add-action {
  background: #00e676 !important;
  border-radius: 8px;
  padding: 6px;
}

.modal-add-action img {
  filter: none !important;
  opacity: 1;
}

.modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.modal-body {
  padding: 16px;
  overflow: auto;
  color: #ffffff;
}

.modal-footer {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #2a2a2a;
}

.btn-outline {
  flex: 1;
  background: transparent;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  height: 38px;
  cursor: pointer;
}

.btn-outline.btn-danger {
  background: #e53935;
  border-color: #e53935;
  color: #ffffff;
  white-space: nowrap;
}

.btn-primary {
  flex: 1;
  background: #2ed46e;
  color: #000000;
  border: none;
  border-radius: 8px;
  height: 38px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.form-label {
  display: block;
  font-size: 12px;
  color: #d3d3d3;
  margin-bottom: 4px;
}

.form-input,
.form-select {
  width: 100%;
  background: #111111;
  border: 1px solid #2a2a2a;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
}

.variable-row {
  background: #212121;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.variable-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.variable-actions {
  display: flex;
  gap: 6px;
}

.variable-actions button {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 900px) {
  .contacts-topbar {
    padding-bottom: 0;
  }

  .contacts-topbar .top-title {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .contacts-topbar .top-left {
    display: none;
  }

  .contacts-content {
    padding: 8px 12px 16px;
  }

  .quickmsg-topbar {
    padding-bottom: 0;
  }

  .quickmsg-topbar .top-title {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .quickmsg-topbar .top-left {
    display: none;
  }

  .quickmsg-content {
    padding: 8px 12px 16px;
  }

  .users-topbar {
    padding-bottom: 0;
  }

  .users-topbar .top-title {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .users-topbar .top-left {
    display: none;
  }

  .users-content {
    padding: 8px 12px 16px;
  }

  .queues-topbar {
    padding-bottom: 0;
  }

  .queues-topbar .top-title {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .queues-topbar .top-left {
    display: none;
  }

  .queues-content {
    padding: 8px 12px 16px;
  }

  .connections-topbar {
    padding-bottom: 0;
  }

  .connections-topbar .top-title {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .connections-topbar .top-left {
    display: none;
  }

  .connections-content {
    padding: 8px 12px 16px;
  }
}

@media (max-width: 600px) {
  .contacts-container .contacts-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .copy-field {
    grid-template-columns: 1fr;
  }

  .copy-action {
    width: 100%;
  }

  .quickmsg-table thead tr {
    height: 45px;
  }

  .quickmsg-table th,
  .quickmsg-table td {
    padding: 10px;
  }

  .users-table thead tr {
    height: 45px;
  }

  .users-table th,
  .users-table td {
    padding: 10px;
  }

  .queues-table thead tr {
    height: 45px;
  }

  .queues-table th,
  .queues-table td {
    padding: 10px;
  }

  .connections-list {
    grid-template-columns: 1fr;
  }
}

.tickets-page {
  display: grid;
  grid-template-columns: 460px 1fr;
  height: 100%;
  gap: 0;
  padding: 0;
  color: #ffffff;
}
.campaigns-container {
  position: relative;
}

.campaigns-container.is-loading .campaigns-topbar,
.campaigns-container.is-loading .campaigns-content {
  visibility: hidden;
}

.campaigns-loading-overlay {
  position: absolute;
  inset: 0;
}

.campaigns-loading-overlay.page-loading {
  background: transparent;
}

.page-loading {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loading .loading-spinner,
.modal-loading .loading-spinner,
.campaigns-loading .loading-spinner {
  width: 42px;
  height: 42px;
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
}

.page-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #d9d9d9;
  font-size: 14px;
}

.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  color: #cfcfcf;
  font-size: 14px;
}

.tickets-sidebar {
  background: #161616;
  border-radius: 0;
  padding: 16px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border-right: 1px solid #222;
}

.tickets-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tickets-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tickets-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tickets-header-icon {
  border: none;
  background: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tickets-header-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.tickets-title {
  font-weight: 700;
  font-size: 16px;
}

.tickets-refresh {
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tickets-refresh img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.tickets-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #262626;
  border-radius: 999px;
  padding: 8px 12px;
}

.tickets-search img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.tickets-search input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  outline: none;
}

.tickets-search input:-webkit-autofill,
.tickets-search input:-webkit-autofill:hover,
.tickets-search input:-webkit-autofill:focus,
.tickets-search input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px #262626 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.tickets-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  cursor: pointer;
  background: transparent;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4Z'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4Z'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  background-color: #ffffff;
}

.tickets-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.tickets-tab {
  border: none;
  background: #262626;
  color: #ffffff;
  border-radius: 18px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.tickets-tab.is-active {
  background: #09533b;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #1f1f1f;
  font-size: 9px;
  font-weight: 700;
}

.tickets-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tickets-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.tickets-empty {
  color: #8d8d8d;
  font-size: 13px;
  text-align: center;
  padding: 24px 0;
}

.ticket-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ticket-item.is-active {
  background: #2f2f2f;
}

.ticket-item:hover {
  background: #2f2f2f;
}

.ticket-avatar-wrapper {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #25d366;
}

.ticket-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ticket-avatar.avatar-fallback {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ticket-avatar-wrapper.avatar-fallback {
  background: #2a2a2a;
  padding: 8px;
}

.ticket-contact-avatar.avatar-fallback {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ticket-channel {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #25d366;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.ticket-channel-icon {
  width: 10px;
  height: 10px;
  filter: brightness(0) invert(1);
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.tickets-loading-inline {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.tickets-loading-inline .loading-spinner {
  width: 42px;
  height: 42px;
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
}

.ticket-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ticket-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-time {
  font-size: 11px;
  color: #9e9e9e;
  flex: none;
}

.ticket-info-middle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-subline {
  font-size: 11px;
  color: #8d8d8d;
}

.ticket-connection {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #bdbdbd;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.ticket-connection--whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.ticket-connection--instagram,
.ticket-connection--instagramwebhook {
  color: #E1306C;
  background: rgba(225, 48, 108, 0.12);
}

.ticket-preview {
  font-size: 12px;
  color: #bdbdbd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.ticket-unread {
  background: #0f7a4f;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.ticket-side {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: #bdbdbd;
  font-size: 12px;
  white-space: nowrap;
}

.ticket-side-user {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #bdbdbd;
}

.ticket-side-user img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.ticket-side-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticket-side-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d6d6d;
}

.ticket-info-bottom {
  display: none;
}

.tickets-chat {
  background: #0f0f0f;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ticket-chat-header {
  padding: 10px 18px;
  background: #161616;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #1f1f1f;
}

.ticket-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticket-back-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ticket-back-btn img {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
  filter: brightness(0) invert(1);
}

.ticket-contact.is-clickable {
  cursor: pointer;
}

.ticket-contact.is-clickable:hover .ticket-contact-name {
  color: #2ed46e;
}

.ticket-contact-avatar-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #25d366;
}

.ticket-contact-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ticket-contact-avatar-wrapper.avatar-fallback {
  background: #2a2a2a;
  padding: 8px;
}

.ticket-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket-contact-name {
  font-weight: 600;
}

.ticket-contact-meta {
  font-size: 12px;
  color: #9e9e9e;
}

.ticket-header-actions {
  display: flex;
  gap: 6px;
  position: relative;
}

.ticket-actions-trigger {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.ticket-actions-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ticket-actions-dots {
  font-size: 18px;
  line-height: 1;
}

.ticket-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #202020;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  min-width: 200px;
  padding: 6px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

.ticket-action-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #f2f2f2;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.ticket-action-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ticket-action-item img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.ticket-action-item.is-danger {
  color: #ff6b6b;
}

.ticket-action-item.is-danger img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(83%) saturate(3552%) hue-rotate(350deg) brightness(97%) contrast(96%);
}

.ticket-action {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ticket-action img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.ticket-tags {
  padding: 6px 18px 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-tag {
  background: #262626;
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
}

.ticket-tag-group {
  background: #3b2b64;
}

.input-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: #2a2a2a;
  color: #ffffff;
}

.tags-modal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tags-modal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
}

.tags-modal-item span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #262626;
}

.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.messages-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.message-bubble {
  max-width: 70%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.message-bubble.is-pending {
  opacity: 0.75;
}

.message-bubble.is-error {
  opacity: 0.85;
  border: 1px solid rgba(255, 107, 107, 0.6);
}

.message-status {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.7;
}

.message-status.is-error {
  color: #ff6b6b;
  opacity: 1;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-text {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.message-contact-name {
  font-size: 12px;
  font-weight: 600;
  color: #7ad4ff;
  margin-bottom: 4px;
}

.message-text a {
  color: #7ad4ff;
  text-decoration: underline;
}

.message-text code {
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 12px;
}

.quoted-container {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.quoted-container.is-right {
  background: rgba(0, 0, 0, 0.2);
}

.quoted-side {
  width: 4px;
  background: #6bcbef;
}

.quoted-side.is-right {
  background: #35cd96;
}

.quoted-content {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quoted-name {
  font-size: 12px;
  font-weight: 600;
  color: #7ad4ff;
}

.quoted-text {
  font-size: 12px;
  color: #e0e0e0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.message-audio {
  margin-bottom: 6px;
}

.message-audio audio {
  width: 260px;
  max-width: 100%;
}

.audio-player {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  background: transparent;
  min-width: 260px;
}

.audio-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.audio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.2s ease;
}

.audio-avatar.avatar-fallback {
  object-fit: contain;
  filter: brightness(0) invert(1);
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  margin: 9px;
}

.audio-avatar-wrap.avatar-fallback {
  background: #2a2a2a;
  padding: 0;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid #25d366;
}

.audio-avatar.is-blurred {
  filter: blur(2px) brightness(0.9);
}

.audio-play {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.audio-play img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.audio-wave-wrap {
  position: relative;
  width: 180px;
  height: 24px;
  cursor: pointer;
}

.audio-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.audio-wave-progress {
  --progress: 0%;
  clip-path: inset(0 calc(100% - var(--progress)) 0 0);
}

.audio-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #bdbdbd;
}

.audio-time {
  font-size: 11px;
  color: #d6d6d6;
  white-space: nowrap;
}

.audio-speed {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 18px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 10px;
  padding: 0;
  cursor: pointer;
}

.message-media {
  width: 260px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}

.message-sticker {
  width: 200px;
  max-width: 80%;
  border-radius: 10px;
  cursor: default;
}

.message-bubble.is-sticker {
  background: transparent !important;
  padding: 0;
}

.message-bubble.is-image {
  max-width: 300px;
}

.message-media-video {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
}

.message-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.message-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.message-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.message-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  max-width: 320px;
}

.message-file span {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.message-tool.is-recording {
  background: #6b1d1d;
}

.message-bubble.from-me {
  align-self: flex-end;
  background: #144d37;
}

.message-bubble.from-me.is-instagram {
  background: #E1306C;
}

.message-bubble.from-them {
  align-self: flex-start;
  background: #242626;
}

.message-bubble.is-audio {
  background: transparent !important;
  padding: 0;
}

.message-bubble.is-audio .audio-player {
  background: #242626;
  padding: 8px 12px;
  border-radius: 16px;
}

.message-bubble.is-audio.from-me .audio-player {
  background: #144d37;
}

.message-bubble.is-audio.from-me.is-instagram .audio-player {
  background: #E1306C;
}

.message-bubble.is-audio.from-me.is-instagram .audio-avatar-wrap.avatar-fallback {
  border-color: #E1306C;
}

.message-bubble.is-audio.from-me.is-instagram .audio-play {
  background: rgba(255, 255, 255, 0.2);
}

.message-bubble.is-audio.from-me.is-instagram .audio-play:hover {
  background: rgba(255, 255, 255, 0.32);
}

.message-footer {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.message-time {
  font-size: 10px;
  color: #bdbdbd;
}

.message-time.is-pending,
.audio-time.is-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.message-time-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("/assets/icons/clock.svg") no-repeat center / contain;
  mask: url("/assets/icons/clock.svg") no-repeat center / contain;
  opacity: 0.8;
}

.send-message-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: #2a2a2a;
  border-radius: var(--composer-radius, 999px);
  margin: 8px 12px 12px;
  position: sticky;
  bottom: 12px;
  z-index: 4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.send-message-form.is-compact {
  display: flex;
}

.message-input-tools {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 0 8px 12px;
}

.message-tool {
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.message-tool:hover {
  background: rgba(255, 255, 255, 0.08);
}

.atendimentos-page.channel-instagram .message-tool:hover {
  background: rgba(225, 48, 108, 0.2);
}

.message-tool img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.send-message-form input,
.send-message-form textarea {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  color: #ffffff;
  outline: none;
  resize: none;
  line-height: 18px;
  min-height: 34px;
  max-height: 160px;
  overflow-y: hidden;
  box-sizing: border-box;
}

.send-message-form textarea::placeholder,
.send-message-form input::placeholder {
  line-height: 18px;
}

.send-message-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 6px 10px 6px 0;
  flex-shrink: 0;
}

.send-message-button img {
  filter: brightness(0) invert(1);
}

.send-message-button:hover {
  background: #35be6e;
}

.atendimentos-page.channel-instagram .send-message-button:hover {
  background: #E1306C;
}

.send-message-button:hover img {
  filter: none;
}

.send-message-button.is-send {
  background: #35be6e;
}

.atendimentos-page.channel-instagram .send-message-button.is-send {
  background: #E1306C;
}

.send-message-button.is-send img {
  filter: none;
}

.send-message-button.is-recording {
  background: #e53935;
  animation: pulse-record 1.2s ease-in-out infinite;
}

.send-message-button.is-recording img {
  filter: brightness(0) invert(1);
}

@keyframes pulse-record {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

.message-attachment-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2b2b2b;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  overflow: visible;
}

.message-attachment-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.message-audio-waveform {
  display: block;
  width: 140px;
  height: 20px;
  transform: scaleY(1.35);
  transform-origin: center;
  margin: 0 auto;
}

.message-audio-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  color: #e6e6e6;
  font-size: 12px;
}

.message-attachment-remove {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.emoji-picker {
  position: absolute;
  bottom: 64px;
  left: 18px;
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  width: min(360px, 86vw);
  max-height: 280px;
}

.emoji-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.emoji-tab {
  border: none;
  background: #2b2b2b;
  color: #d8d8d8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.emoji-tab.is-active {
  background: #2ed46e;
  color: #0b0b0b;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  overflow-y: auto;
}

.emoji-grid button {
  border: none;
  background: #2b2b2b;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  font-size: 16px;
}

.emoji-grid button:hover {
  background: #353535;
}

.send-message-button img {
  width: 20px;
  height: 20px;
}

@media (max-width: 960px) {
  .tickets-page,
  .tickets-page * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  .tickets-page button:focus,
  .tickets-page a:focus,
  .tickets-page [role="button"]:focus {
    outline: none;
  }

  .tickets-page button:focus-visible,
  .tickets-page a:focus-visible,
  .tickets-page [role="button"]:focus-visible {
    outline: none;
  }

  .tickets-page {
    grid-template-columns: 1fr;
    height: 100%;
    min-height: 100%;
    position: relative;
  }

  .tickets-sidebar {
    max-height: none;
    height: 100vh;
  }

  .tickets-chat {
    display: none;
    height: 100%;
  }

  .tickets-page.is-chat-open .tickets-sidebar {
    display: none;
  }

  .tickets-page.is-chat-open .tickets-chat {
    display: flex;
  }

  .ticket-back-btn {
    display: inline-flex;
  }

  .ticket-chat-header {
    position: sticky;
    top: 0;
    z-index: 6;
  }

  .messages-list {
    padding-bottom: 132px;
  }

  .send-message-form {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(56px + 12px);
    margin: 0;
    z-index: 7;
    gap: 8px;
    justify-content: space-between;
  }

  .message-input-tools {
    gap: 4px;
    padding: 6px 0 6px 8px;
  }

  .message-tool {
    width: 30px;
    height: 30px;
  }

  .send-message-button {
    width: 40px;
    height: 40px;
    margin: 4px 8px 4px 0;
  }

  .send-message-form.is-recording textarea,
  .send-message-form.has-audio textarea {
    display: none;
  }

  .send-message-form.is-recording .message-attachment-preview,
  .send-message-form.has-audio .message-attachment-preview {
    flex: 1;
    justify-content: center;
  }

  .send-message-form.is-recording .send-message-button,
  .send-message-form.has-audio .send-message-button {
    margin-left: auto;
  }

  .message-attachment-preview {
    max-width: 100%;
  }

  .message-audio-waveform {
    width: 110px;
  }

  .message-bubble.is-audio {
    max-width: 90%;
  }

  .audio-player {
    min-width: 0;
    width: 100%;
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .audio-content {
    min-width: 0;
  }

  .audio-wave-wrap {
    width: 120px;
    transform: none;
  }

  .audio-meta {
    width: 100%;
  }
}

/* =====================
   CAMPANHAS
===================== */
.campaigns-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: calc(100vh - 120px);
  background: #141414;
  padding: 12px;
  border-radius: 18px;
  height: 100%;
}

.campaigns-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
  background: #141414;
  border-radius: 16px;
}

.campaigns-topbar .top-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.campaigns-topbar .top-title {
  flex: 0 0 auto;
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.campaigns-container .spacer {
  flex: 1 1 auto;
}

.campaigns-content {
  padding: 16px;
  background: #141414;
  border-radius: 18px;
  border: none;
}

.campaigns-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.hero-card {
  background: #1f2f28;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(46, 212, 110, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-title {
  font-size: 12px;
  color: #bfbfbf;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-value {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.hero-sub {
  font-size: 12px;
  color: #9f9f9f;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 16px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 4px;
}

.campaign-card {
  background: #1f1f1f;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #2e2e2e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.campaign-card:hover {
  background: #242424;
  border-color: #3a3a3a;
}

.campaign-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.campaign-card-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
}

.campaign-card-subtitle {
  font-size: 12px;
  color: #b0b0b0;
}

.campaign-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-inativa { background: #353535; color: #d0d0d0; }
.status-programada { background: #2f3b4e; color: #b9d1ff; }
.status-andamento { background: #1f3c2a; color: #2ed46e; }
.status-cancelada { background: #3d2a2a; color: #ff8f8f; }
.status-finalizada { background: #2a3d36; color: #9ff0c8; }

.campaign-card-body {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

.campaign-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1 1 auto;
}

.metric-item {
  font-size: 12px;
  color: #c8c8c8;
}

.metric-item strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-top: 2px;
}

.campaign-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}

.progress-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#2ed46e calc(var(--percent) * 1%), #2c2c2c 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-ring.large {
  width: 120px;
  height: 120px;
}

.progress-ring-spin {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(46, 212, 110, 0.2);
  animation: spin 2.5s linear infinite;
}

.progress-ring-label {
  width: 72%;
  height: 72%;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 6px;
}

.progress-ring-count {
  font-size: 18px;
  font-weight: 700;
}

.progress-ring-text {
  font-size: 11px;
  color: #a8a8a8;
}

.progress-info {
  font-size: 12px;
  color: #a8a8a8;
}

.campaign-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}


.btn-icon img {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.15s;
  object-fit: contain;
}

.btn-icon.btn-danger img,
.btn-icon[data-action="delete"] img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(83%) saturate(3552%) hue-rotate(350deg) brightness(97%) contrast(96%);
}

.campaigns-loading,
.campaigns-empty {
  text-align: center;
  color: #b0b0b0;
  margin-top: 12px;
}

.campaigns-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.pipeline-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 16px;
}

.pipeline-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline-spacer {
  flex: 1 1 auto;
}

.pipeline-title {
  color: #d3d3d3;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pipeline-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  font-weight: 600;
  color: #e6e6e6;
}

.pipeline-summary-item {
  background: #0b2b1c;
  color: #8fffc1;
  border: 1px solid #1f5f3f;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.pipeline-topbar .btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  background: #00e676;
  border-color: #00e676;
  color: #111111 !important;
  white-space: nowrap;
}

.pipeline-topbar .btn-solid img {
  width: 14px;
  height: 14px;
  filter: none !important;
}

.pipeline-topbar #pipeline-add-lane img {
  width: 18px;
  height: 18px;
}

.pipeline-topbar .btn-solid span {
  color: #111111 !important;
  display: inline-flex;
}

.pipeline-scrollbar {
  padding: 2px 12px 10px;
}

.pipeline-scrollbar input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 8px;
  background: #1a1a1a;
  outline: none;
  cursor: pointer;
}

.pipeline-scrollbar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 10px;
  background: #444;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
}

.pipeline-scrollbar input[type="range"]::-moz-range-thumb {
  width: 60px;
  height: 10px;
  background: #444;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
}

.pipeline-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px;
  gap: 12px;
}

.pipeline-lanes {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  align-items: flex-start;
}

.pipeline-lane {
  background: #262626;
  border-radius: 14px;
  min-width: 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  max-height: none;
}

.pipeline-lane-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-lane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pipeline-lane-badge {
  background: #00e676;
  color: #000;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 12px;
}

.pipeline-lane-origins {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.pipeline-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex: 1 1 0;
  justify-content: center;
}

.pipeline-origin img {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.pipeline-origin.whatsapp {
  background: #25d366;
}

.pipeline-origin.instagram {
  background: #e1306c;
}

.pipeline-origin.external {
  background: #008081;
}

.pipeline-lane-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-lane-title {
  font-size: 14px;
  font-weight: 700;
  color: #f0f0f0;
}

.pipeline-lane-counts {
  font-size: 12px;
  color: #9a9a9a;
}

.pipeline-lane-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 16px;
  overflow: visible;
}

.pipeline-lane-cards.is-dragover {
  background: transparent;
  border-radius: 12px;
}

.pipeline-card {
  background: #2f2f2f;
  border-radius: 12px;
  padding: 10px 12px;
  color: #f3f3f3;
  cursor: grab;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.5);
}

.pipeline-card--instagram {
  border-color: rgba(225, 48, 108, 0.5);
}

.pipeline-card--external {
  border-color: rgba(0, 128, 129, 0.5);
}

.pipeline-card.is-dragging {
  opacity: 0.6;
}

.pipeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pipeline-card-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.pipeline-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #00e676;
  flex: 0 0 auto;
  position: relative;
  border: 2px solid #2b2b2b;
  overflow: hidden;
  background: #1f1f1f;
}

.pipeline-card-avatar.ring-whatsapp {
  border-color: #2ed46e;
}

.pipeline-card-avatar.ring-instagram {
  border-color: #ff2d75;
}

.pipeline-card-avatar.ring-external {
  border-color: #008081;
}

.pipeline-card-avatar.placeholder .pipeline-card-avatar-fallback {
  width: 22px;
  height: 22px;
  filter: invert(1);
  display: block;
  object-fit: contain;
}

.pipeline-card-avatar-fallback {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.pipeline-card-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pipeline-card-badge {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #101010;
  z-index: 2;
}

.pipeline-card-badge-icon {
  width: 12px;
  height: 12px;
  filter: invert(1);
}

.pipeline-card-badge.badge-whatsapp {
  background: #25d366;
}

.pipeline-card-badge.badge-instagram {
  background: #e1306c;
}

.pipeline-card-badge.badge-external {
  background: #008081;
}

.pipeline-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.pipeline-card-user {
  font-size: 12px;
  color: #bcbcbc;
}

.pipeline-card-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-card-top-actions .btn-icon img {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.pipeline-card-channel {
  display: none !important;
}

.pipeline-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pipeline-card-channel {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dcdcdc;
  text-transform: uppercase;
}

.pipeline-card-channel.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.pipeline-card-channel.instagram {
  background: rgba(225, 48, 108, 0.2);
  color: #e1306c;
}

.pipeline-card-channel.external {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.pipeline-card-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #bcbcbc;
}

.pipeline-card-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.pipeline-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pipeline-card-value {
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.pipeline-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: #fff;
  border: 1px solid #35cd96;
  background: transparent;
}

.pipeline-card-actions {
  display: flex;
  gap: 8px;
}

.pipeline-lane.is-dragover-lane {
  box-shadow: none;
}

.pipeline-lane.is-dragging-lane {
  opacity: 0.7;
}

.pipeline-lane-placeholder {
  border: 2px dashed #00e676;
  background: rgba(0, 230, 118, 0.08);
  min-height: 120px;
  min-width: 320px;
}

.pipeline-card-placeholder {
  border: 2px dashed #00e676;
  background: rgba(0, 230, 118, 0.08);
  min-height: 64px;
}

.pipeline-lane.is-dragging-lane * {
  pointer-events: none;
}

.pipeline-empty {
  text-align: center;
  color: #b0b0b0;
  padding: 12px 0;
}

.pipeline-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-select,
.textarea-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1f1f1f;
  color: #e6e6e6;
}

.textarea-input {
  min-height: 90px;
  resize: vertical;
}

.pipeline-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.pipeline-checkitem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d0d0d0;
}

.form-label {
  font-size: 12px;
  color: #9f9f9f;
  font-weight: 600;
  text-transform: uppercase;
}

.pipeline-variables {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pipeline-variable-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.pipeline-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d0d0d0;
}

.btn-green {
  background: #00e676;
  color: #000;
  border-radius: 10px;
  border: 1px solid #00e676;
  height: 38px;
  padding: 0 12px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.btn-green:hover {
  filter: brightness(0.95);
}

.btn-add {
  background: #00e676;
  border: none;
  height: 38px;
  width: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 230, 118, 0.25);
  transition: transform 0.2s ease;
}

.btn-add:hover {
  transform: translateY(-1px);
}

.btn-add img {
  width: 18px;
  height: 18px;
}

.search-input {
  background: #202020;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 8px 12px;
  color: #fff;
  min-width: 200px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #d0d0d0;
  font-size: 13px;
}

.text-input,
.text-area {
  background: #202020;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  transition: border 0.2s ease;
  font-family: inherit;
  width: 100%;
}

.text-area {
  resize: none;
  overflow: hidden;
  min-height: 90px;
}

select,
input,
textarea {
  font-family: inherit;
}

.text-input:focus,
.text-area:focus {
  border-color: #2ed46e;
}

input[type="datetime-local"] {
  color-scheme: dark;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.9;
}

.field-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-form-grid {
  grid-template-columns: 1fr;
}

.contact-number-inline {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 8px;
}

.contact-country {
  min-width: 160px;
}

.messages-block {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.message-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}

.contacts-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 16px;
}

.contacts-panel {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #2e2e2e;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow: auto;
}

.campaigns-modal {
  width: min(760px, 94vw);
}

.campaigns-contacts-modal {
  width: min(980px, 95vw);
}

.campaigns-report-modal {
  width: min(720px, 92vw);
}

.form-section {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: #d8d8d8;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-grid.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.select-multiple {
  min-height: 88px;
}

.messages-header {
  margin-bottom: 10px;
}

.messages-header .btn-add {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.datetime-field {
  position: relative;
}

.datetime-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #ffffff;
  mask: url("/assets/icons/calendar.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/icons/calendar.svg") no-repeat center / contain;
  cursor: pointer;
  z-index: 2;
}

.campaign-datetime {
  padding-right: 36px;
}

.campaigns-modal input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.campaigns-modal input[type="number"]::-webkit-inner-spin-button,
.campaigns-modal input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Flatpickr theme (verde do sistema) */
.flatpickr-calendar {
  background: #1b1b1b;
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  z-index: 120;
  width: 320px;
  max-width: 90vw;
}

.flatpickr-calendar.open {
  margin-top: 6px;
}

.flatpickr-calendar * {
  color: inherit;
}

.flatpickr-calendar {
  color-scheme: dark;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: transparent;
}

.flatpickr-months {
  background: #202020;
  border-bottom: none;
}

.flatpickr-months .flatpickr-month {
  background: #202020;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  width: 28px;
  height: 28px;
  top: 6px;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.flatpickr-weekdays {
  background: #202020;
}

.flatpickr-weekday {
  color: #ffffff !important;
  font-weight: 600;
}

.flatpickr-days {
  background: #1b1b1b;
}

.flatpickr-day {
  color: #ffffff !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #6f6f6f !important;
}

.flatpickr-day:hover,
.flatpickr-day:focus,
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
  background: #263b31 !important;
  border-color: #2ed46e !important;
  color: #ffffff !important;
}

.flatpickr-day.today {
  border-color: #2ed46e;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: #2ed46e !important;
  border-color: #2ed46e !important;
  color: #0e0e0e !important;
}

.flatpickr-time {
  background: #202020;
  border-top: none;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator {
  color: #ffffff !important;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #242424 !important;
}

.flatpickr-time .numInputWrapper span.arrowUp:after,
.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-color: #2ed46e transparent;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
  display: none;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-weekday {
  color: #ffffff !important;
}

.flatpickr-day {
  color: #d8d8d8;
}

.flatpickr-day.today {
  border-color: #2ed46e;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: #2ed46e;
  border-color: #2ed46e;
  color: #0e0e0e;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator {
  color: #ffffff;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #242424;
}

.flatpickr-time .numInputWrapper span.arrowUp:after,
.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-color: #2ed46e transparent;
}

.message-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.message-tab {
  background: #232323;
  color: #d6d6d6;
  border: 1px solid #2d2d2d;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.message-tab.active {
  background: #2ed46e;
  color: #0e0e0e;
  border-color: #2ed46e;
}

.tab-close {
  font-weight: 700;
  cursor: pointer;
}

.message-panels {
  background: transparent;
  border-radius: 12px;
  padding: 0;
  border: none;
}

.contact-list-hint {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 24px 12px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-panel[hidden] {
  display: none !important;
}

.multi-select {
  position: relative;
}

.multi-select-trigger {
  width: 100%;
  background: #202020;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.multi-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 8px;
  max-height: 220px;
  overflow: auto;
  display: none;
  z-index: 80;
}

.multi-select-menu.open {
  display: block;
}

.multi-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #d9d9d9;
  cursor: pointer;
}

.multi-select-item input[type="checkbox"] {
  accent-color: #2ed46e;
  width: 16px;
  height: 16px;
}

.multi-select-item:hover {
  background: #262626;
}

.file-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-input {
  display: none;
}

.file-name {
  font-size: 12px;
  color: #bdbdbd;
}

.btn-file {
  background: #2ed46e;
  color: #0e0e0e;
  border: 1px solid #2ed46e;
  font-weight: 600;
}

.btn-file:hover {
  filter: brightness(0.95);
}

.message-item .text-area {
  min-height: 90px;
  resize: vertical;
}

.message-item .btn-icon {
  align-self: flex-start;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.panel-actions {
  display: flex;
  gap: 8px;
}

.contacts-container .contacts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.contact-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #242424;
  cursor: pointer;
}

.contact-list-row.active {
  border: 1px solid #2ed46e;
}

.contact-list-name {
  font-weight: 600;
  color: #fff;
}

.contact-list-count {
  font-size: 12px;
  color: #b0b0b0;
}

.contact-list-actions {
  display: flex;
  gap: 6px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #242424;
}

.contact-item-name {
  font-weight: 600;
  color: #fff;
}

.contact-item-meta {
  font-size: 12px;
  color: #b0b0b0;
}

.contact-item-status {
  font-size: 11px;
  margin-top: 4px;
  color: #ff8f8f;
}

.contact-item-status.valid {
  color: #2ed46e;
}

.contact-item-actions {
  display: flex;
  gap: 6px;
}

.validation-progress {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 10px;
  color: #d0d0d0;
  font-size: 12px;
}

.validation-bar {
  height: 6px;
  border-radius: 999px;
  background: #2b2b2b;
  overflow: hidden;
  margin-top: 6px;
}

.validation-fill {
  height: 100%;
  background: #2ed46e;
  width: 0;
}

.empty-state {
  text-align: center;
  color: #b0b0b0;
  padding: 12px 0;
}

.report-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.report-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.report-panel {
  background: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #202020;
  border: 1px solid #2c2c2c;
}

.report-item-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 13px;
}

.report-item-meta {
  font-size: 12px;
  color: #b0b0b0;
}

.report-item-time {
  font-size: 12px;
  color: #8dd8a5;
  white-space: nowrap;
}

.report-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #d0d0d0;
}

@media (max-width: 960px) {
  .campaigns-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .campaigns-grid {
    max-height: none;
  }

  .campaigns-topbar .top-left {
    display: none;
  }

  .contacts-modal-grid {
    grid-template-columns: 1fr;
  }

  .report-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .report-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
}

.contact-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #0f0f0f;
  border: 2px solid #2a2a2a; /* fallback */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== CORES POR CANAL ===== */

.contact-avatar.ring-wa {
  border-color: #25d366;
}

.contact-avatar.ring-ig {
  border-color: #E1306C;
}

/* ===== PLACEHOLDER ===== */

.contact-avatar.placeholder svg,
.contact-avatar.placeholder img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

/* ===== BADGE DA REDE (IGUAL ATENDIMENTOS) ===== */

.contact-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f0f0f;
}

.contact-badge img,
.contact-badge svg {
  width: 10px;
  height: 10px;
}

.contact-badge.wa {
  background: #25d366;
}

.contact-badge.ig {
  background: #E1306C;
}