/* ================================
   SWIFLIST - MINIMALIST DESIGN SYSTEM
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #171717;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.main-content {
  flex: 1;
}

.main-content:has(> .fill-height) {
  display: flex;
  flex-direction: column;
}

.fill-height {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #171717;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  color: #525252;
  line-height: 1.6;
}

a {
  color: #3483f8;
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover {
  color: #2d7af7;
}

.text-muted {
  color: #737373;
}

.text-small {
  font-size: 13px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  font-weight: 600;
  color: #171717;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 32px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #525252;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 150ms ease;
}
.nav-link:hover {
  color: #171717;
  background: #f5f5f5;
}
.nav-link.active {
  color: #171717;
  background: #f5f5f5;
}

.navbar .navbar-toggler {
  display: none;
}
@media (max-width: 768px) {
  .navbar .navbar-toggler {
    display: inline-flex;
  }
}

.nav-messages {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 1rem;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-link {
    min-height: 44px;
  }
  .nav-user {
    width: 100%;
  }
  .user-dropdown__menu {
    position: static;
    box-shadow: none;
    border: 1px solid #e5e5e5;
    margin-top: 0.5rem;
  }
}
.nav-user {
  position: relative;
}

.user-dropdown {
  position: relative;
}
.user-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid transparent;
  border-radius: 9999px;
  padding: 2px;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.user-dropdown__trigger:hover {
  border-color: #e5e5e5;
}
.user-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(10, 10, 10, 0.12);
  border: 1px solid #e5e5e5;
  z-index: 1001;
  overflow: hidden;
}
.user-dropdown__menu.show {
  display: block;
}
.user-dropdown__header {
  padding: 1rem;
}
.user-dropdown__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #171717;
}
.user-dropdown__email {
  display: block;
  font-size: 12px;
  color: #737373;
  margin-top: 2px;
}
.user-dropdown__divider {
  height: 1px;
  background: #e5e5e5;
}
.user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 14px;
  color: #404040;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 150ms ease;
}
.user-dropdown__item:hover {
  background: #fafafa;
}
.user-dropdown__item--danger {
  color: #FF0200;
}
.user-dropdown__item--danger:hover {
  background: #fff5f5;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  object-fit: cover;
}

.user-initial {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #eef5ff;
  color: #3483f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.footer {
  padding: 2rem;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #737373;
  font-size: 14px;
}
.footer__logo {
  height: 26px;
  width: auto;
  margin-bottom: 0.5rem;
}
.footer__copy {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col-6 {
  width: 50%;
  padding: 0.5rem;
}

.col-12 {
  width: 100%;
  padding: 0.5rem;
}

@media (min-width: 576px) {
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-8 {
    width: 66.666%;
  }
  .col-md-auto {
    width: auto;
  }
}
@media (min-width: 992px) {
  .col-lg-2 {
    width: 16.666%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.333%;
  }
  .col-lg-5 {
    width: 41.666%;
  }
  .col-lg-7 {
    width: 58.333%;
  }
}
.g-3 {
  margin: -0.5rem;
}
.g-3 > * {
  padding: 0.5rem;
}

.g-4 {
  margin: -1rem;
}
.g-4 > * {
  padding: 1rem;
}

.section {
  padding: 4rem 0;
}
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 28px;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: #737373;
}
.section-header--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
  gap: 1rem;
}
.section-header__link {
  color: #3483f8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.section-header__link:hover {
  color: #2d7af7;
  text-decoration: none;
}
.section-header__link i {
  font-size: 0.85em;
}

.bg-gray {
  background: #fafafa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  font-family: inherit;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 131, 248, 0.2);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn--primary {
  background: #3483f8;
  color: #ffffff;
  border-color: #3483f8;
}
.btn--primary:hover {
  background: #2d7af7;
  border-color: #2d7af7;
  color: #ffffff;
}
.btn--secondary {
  background: #ffffff;
  color: #171717;
  border-color: #d4d4d4;
}
.btn--secondary:hover {
  background: #fafafa;
  border-color: #a3a3a3;
  color: #171717;
}
.btn--ghost {
  background: transparent;
  color: #404040;
  border-color: transparent;
}
.btn--ghost:hover {
  background: #f5f5f5;
}
.btn--accent {
  background: #FF0200;
  color: #ffffff;
  border-color: #FF0200;
}
.btn--accent:hover {
  background: #e60200;
  border-color: #e60200;
  color: #ffffff;
}
.btn--dark {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
}
.btn--dark:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}
.btn--success {
  background: #22c55e;
  color: #ffffff;
  border-color: #22c55e;
}
.btn--success:hover {
  background: rgb(27.9948051948, 162.2051948052, 77.3974025974);
  border-color: rgb(27.9948051948, 162.2051948052, 77.3974025974);
  color: #ffffff;
}
.btn--outline-primary {
  background: transparent;
  color: #3483f8;
  border-color: #3483f8;
}
.btn--outline-primary:hover {
  background: #3483f8;
  color: #ffffff;
}
.btn--outline-danger {
  background: transparent;
  color: #FF0200;
  border-color: #FF0200;
}
.btn--outline-danger:hover {
  background: #FF0200;
  color: #ffffff;
}
.btn--outline-secondary {
  background: transparent;
  color: #404040;
  border-color: #d4d4d4;
}
.btn--outline-secondary:hover {
  background: #f5f5f5;
  border-color: #a3a3a3;
}
.btn--sm {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
}
.btn--lg {
  min-height: 48px;
  padding: 10px 24px;
  font-size: 15px;
}
.btn--icon {
  width: 40px;
  height: 40px;
  min-height: 0;
  padding: 0;
}
.btn--icon.btn--sm {
  width: 32px;
  height: 32px;
}
.btn--icon.btn--lg {
  width: 48px;
  height: 48px;
}
.btn--soft {
  border-radius: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: #f5f5f5;
  color: #404040;
}
.badge--success {
  background: #dcfce7;
  color: #166534;
}
.badge--info {
  background: #e0f2fe;
  color: #0369a1;
}
.badge--warning {
  background: #fef3c7;
  color: #92400e;
}
.badge--danger {
  background: #fff5f5;
  color: #b30200;
}
.badge--brand {
  background: #eef5ff;
  color: #1e5bbf;
}
.badge--neutral {
  background: #f5f5f5;
  color: #404040;
}
.badge--sm {
  padding: 1px 7px;
  font-size: 11px;
}
.badge--lg {
  padding: 7px 15px;
  font-size: 14px;
}

.badge--complete {
  background: #dcfce7;
  color: #166534;
}

.badge--sold {
  background: #eef5ff;
  color: #1e5bbf;
}

.badge--expired {
  background: #f5f5f5;
  color: #404040;
}

.badge--removed {
  background: #fff5f5;
  color: #b30200;
}

.badge--draft {
  background: #fef3c7;
  color: #92400e;
}

.badge--pending_info {
  background: #fef3c7;
  color: #92400e;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #3483f8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
}
.count-badge[hidden] {
  display: none;
}
.count-badge--danger {
  background: #FF0200;
}
.count-badge--lg {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
}

.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  height: calc(100vh - 70px);
}
.chat__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem 1rem;
  border-bottom: 1px solid #e5e5e5;
}
.chat__back {
  font-size: 20px;
}
.chat__meta {
  flex: 1;
  min-width: 0;
}
.chat__who {
  font-weight: 600;
  font-size: 15px;
  color: #171717;
}
.chat__sub {
  display: block;
  font-size: 13px;
  color: #737373;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chat__empty {
  text-align: center;
  color: #a3a3a3;
  margin: auto 0;
  font-size: 14px;
}
.chat__compose {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0.25rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
}
.chat__compose textarea,
.chat__compose input {
  flex: 1;
  min-width: 0;
  resize: none;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 15px;
  font-family: inherit;
  max-height: 120px;
}
.chat__compose textarea:focus,
.chat__compose input:focus {
  outline: none;
  border-color: #3483f8;
}
.chat__compose textarea:disabled,
.chat__compose input:disabled {
  background: #f5f5f5;
}
.chat__compose button {
  flex-shrink: 0;
  font-size: 18px;
}
.chat__compose .voice-recorder {
  flex-shrink: 0;
}
.chat__compose--recording .voice-recorder {
  flex: 1;
  min-width: 0;
}
.chat__compose--recording textarea, .chat__compose--recording button[type=submit] {
  display: none;
}
.chat__compose--locked .voice-recorder {
  opacity: 0.5;
  pointer-events: none;
}

.chat-bubble {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
  word-wrap: break-word;
}
.chat-bubble--own {
  align-self: flex-end;
  background: #3483f8;
  color: #ffffff;
  border-bottom-right-radius: 6px;
}
.chat-bubble--other {
  align-self: flex-start;
  background: #404040;
  color: #ffffff;
  border-bottom-left-radius: 6px;
}
.chat-bubble__time {
  display: block;
  font-size: 11px;
  opacity: 0.6;
  margin-top: 8px;
}
.chat-bubble--typing {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.45;
  animation: chat-bubble-dot 1.2s infinite ease-in-out;
}
.chat-bubble--typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat-bubble--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-bubble-dot {
  0%, 60%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-bubble--typing span {
    animation: none;
  }
}
.page-header {
  margin-bottom: 2rem;
}
.page-header__title {
  font-size: 24px;
  font-weight: 700;
  color: #171717;
  margin: 0;
}
.page-header__subtitle {
  font-size: 15px;
  color: #737373;
  margin: 0.25rem 0 0;
  line-height: 1.5;
}
.page-header--sm .page-header__title {
  font-size: 22px;
}
.page-header--centered {
  text-align: center;
}

.panel {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}
.panel--raised {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.panel--muted {
  background: #fafafa;
}
.panel--center {
  text-align: center;
  padding: 3rem;
}
.panel__head {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f5f5f5;
}
.panel__title {
  font-size: 16px;
  font-weight: 600;
  color: #171717;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.panel__title i {
  color: #737373;
}
.panel__desc {
  font-size: 13px;
  color: #737373;
  margin: 0.25rem 0 0;
}
.panel__body {
  padding: 1.5rem 2rem;
}
.panel__actions {
  padding: 1rem 0 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 200ms ease;
}
.card:hover {
  border-color: #d4d4d4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f5f5f5;
}
.card__body {
  padding: 1.5rem;
}
.card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #171717;
}
.card__price {
  font-size: 18px;
  font-weight: 600;
  color: #171717;
}
.card__meta {
  font-size: 13px;
  color: #737373;
  margin-top: 0.5rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 430px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

.listing-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.listing-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #d4d4d4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.listing-card__media {
  position: relative;
  aspect-ratio: 1/1;
  background: #f5f5f5;
  overflow: hidden;
}
.listing-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
}
.listing-card:hover .listing-card__img {
  transform: scale(1.04);
}
.listing-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  font-size: 2.5rem;
}
.listing-card__body {
  padding: 1rem;
}
.listing-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #171717;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-card__price {
  font-size: 17px;
  font-weight: 700;
  color: #171717;
  margin: 0.25rem 0 0;
}
.listing-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #737373;
  margin: 0.25rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.wishlist-btn.is-active, .wishlist-btn.is-active:hover {
  color: #FF0200;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  text-decoration: none;
  display: block;
}
.stat-card:hover {
  text-decoration: none;
}
.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1rem;
}
.stat-card__icon--blue {
  background: #eef5ff;
  color: #3483f8;
}
.stat-card__icon--green {
  background: #dcfce7;
  color: #166534;
}
.stat-card__icon--red {
  background: #fff5f5;
  color: #FF0200;
}
.stat-card__icon--gray {
  background: #f5f5f5;
  color: #525252;
}
.stat-card__value {
  font-size: 28px;
  font-weight: 700;
  color: #171717;
  line-height: 1.2;
}
.stat-card__label {
  font-size: 13px;
  color: #737373;
  margin-top: 0.25rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.empty-state[hidden] {
  display: none;
}
.empty-state > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: #f5f5f5;
  color: #a3a3a3;
  font-size: 28px;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 0.25rem;
}
.empty-state p {
  color: #737373;
  margin: 0;
}
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}
@media (max-width: 575px) {
  .empty-state__actions {
    width: 100%;
    flex-direction: column;
  }
  .empty-state__actions .btn {
    width: 100%;
  }
}

.message-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: #fafafa;
}

.message-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.05);
  padding: 3rem;
  text-align: center;
}
.message-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #eef5ff;
  color: #3483f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 1.5rem;
}
.message-card__icon--error {
  background: #fff5f5;
  color: #FF0200;
}
.message-card__actions {
  margin-top: 1.5rem;
}

.input,
.form-control,
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #171717;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  transition: all 150ms ease;
}
.input:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: #3483f8;
  box-shadow: 0 0 0 3px rgba(52, 131, 248, 0.1);
}
.input::placeholder,
.form-control::placeholder,
.form-select::placeholder {
  color: #a3a3a3;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #404040;
  margin-bottom: 0.25rem;
}

.form-label--optional::after {
  content: "(optional)";
  font-weight: 400;
  color: #a3a3a3;
  font-size: 12px;
  margin-left: 0.25rem;
}

.form-label--required::after {
  content: "*";
  color: #FF0200;
  font-weight: 500;
  margin-left: 2px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-section {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}
.form-row .flex-1 {
  flex: 1;
}

.search-wrapper {
  position: relative;
  max-width: 400px;
}
.search-wrapper .input,
.search-wrapper .form-control {
  padding-left: 40px;
}
.search-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a3a3a3;
}

.input-group {
  display: flex;
}
.input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 14px;
}
.alert.alert-info {
  background: rgba(52, 131, 248, 0.05);
  border: 1px solid rgba(52, 131, 248, 0.2);
  color: #3483f8;
}
.alert.alert-success {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: rgb(26.4935064935, 153.5064935065, 73.2467532468);
}
.alert.alert-warning {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #b45309;
}
.alert.alert-error {
  background: #fff5f5;
  color: #FF0200;
  border: 1px solid #ffb3b3;
}

.alert--inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 14px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip-group[hidden] {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 32px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #404040;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
}
.chip:hover {
  background: #e5e5e5;
  color: #171717;
  text-decoration: none;
}
.chip--active {
  background: #3483f8;
  color: #ffffff;
  border-color: #3483f8;
}
.chip--active:hover {
  background: #2d7af7;
  color: #ffffff;
}
.chip--accent {
  background: #ffffff;
  color: #3483f8;
  border-color: #d9e8ff;
}
.chip--accent:hover {
  background: #3483f8;
  color: #ffffff;
  border-color: #3483f8;
}
.chip--sm {
  min-height: 28px;
  padding: 6px 12px;
  font-size: 13px;
}
.chip--sm .chip__remove::before {
  width: 18px;
  height: 18px;
}
.chip--sm .chip__remove::after {
  width: 10px;
  height: 10px;
}
.chip--lg {
  min-height: 36px;
  padding: 9px 20px;
  font-size: 15px;
}
.chip__count {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #525252;
}
.chip__count::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 18px;
  border-radius: 6px;
  background: rgba(52, 131, 248, 0.14);
  z-index: -1;
}
.chip--active .chip__count {
  color: #ffffff;
}
.chip--active .chip__count::before {
  background: rgba(255, 255, 255, 0.25);
}
.chip__remove {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.chip__remove::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(52, 131, 248, 0.14);
  z-index: -1;
  transition: background 150ms ease;
}
.chip__remove::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6 18 18M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6 18 18M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.chip__remove:hover {
  color: #ffffff;
}
.chip__remove:hover::before {
  background: #3483f8;
}

search-bar {
  display: block;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 660px;
  margin: 0 auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.search-bar:focus-within {
  border-color: #7ab4fc;
  box-shadow: 0 0 0 4px #eef5ff;
}
.search-bar--hidden {
  display: none !important;
}
.search-bar__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #171717;
  padding: 0 0.5rem;
}
.search-bar__input::placeholder {
  color: #a3a3a3;
}
.search-bar__chip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.search-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.search-bar--recording .search-bar__input,
.search-bar--recording .search-bar__chip {
  display: none;
}
.search-bar--recording .search-bar__recorder .voice-recorder {
  flex: 1;
}
.search-bar--recording .search-bar__actions {
  opacity: 0.4;
  pointer-events: none;
}
.search-bar--voice .search-bar__input {
  display: none;
}
.search-bar:not(.search-bar--voice) .search-bar__chip {
  display: none;
}
@media (max-width: 575px) {
  .search-bar__act--smart {
    width: 40px;
    padding: 0;
  }
  .search-bar__act--smart span {
    display: none;
  }
}

.voice-chip {
  max-width: 100%;
  background: #eef5ff;
  color: #3483f8;
  border-color: #d9e8ff;
  cursor: default;
  white-space: nowrap;
}
.voice-chip:hover {
  background: #eef5ff;
  color: #3483f8;
}

.product-carousel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}
.product-carousel img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 768px) {
  .product-carousel img {
    height: 300px;
  }
}

.carousel-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}
.carousel-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 150ms ease;
}
.carousel-thumbnails img:hover, .carousel-thumbnails img.active {
  border-color: #3483f8;
}

.carousel-item {
  display: none;
}
.carousel-item.active {
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 150ms ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #ffffff;
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d4;
  border: none;
  cursor: pointer;
  padding: 0;
}
.carousel-indicators button.active {
  background: #3483f8;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 1rem;
  font-size: 14px;
  color: #404040;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  text-decoration: none;
  transition: all 150ms ease;
}
.page-item .page-link:hover {
  background: #fafafa;
  border-color: #a3a3a3;
}
.page-item.active .page-link {
  background: #3483f8;
  border-color: #3483f8;
  color: #ffffff;
}
.page-item.disabled .page-link {
  color: #a3a3a3;
  cursor: not-allowed;
}
.page-item.disabled .page-link:hover {
  background: #ffffff;
  border-color: #d4d4d4;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 14px;
}

.breadcrumb-item {
  color: #737373;
}
.breadcrumb-item a {
  color: #737373;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #3483f8;
}
.breadcrumb-item.active {
  color: #171717;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding-right: 0.5rem;
  color: #a3a3a3;
}

.upload-zone {
  border: 2px dashed #d4d4d4;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  background: #ffffff;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: #3483f8;
  background: rgba(52, 131, 248, 0.02);
}
.upload-zone i {
  font-size: 3rem;
  color: #3483f8;
}

.image-preview {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}
.image-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}
.image-preview .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF0200;
  color: #ffffff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 150ms ease;
}
.image-preview .remove-btn:hover {
  transform: scale(1.1);
}

.progress {
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  background: #3483f8;
  transition: width 0.4s ease;
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner 0.75s linear infinite;
}

.spinner-border-sm {
  width: 0.75rem;
  height: 0.75rem;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

.toast {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.toast .toast-header {
  padding: 0.5rem 1rem;
  background: #22c55e;
  color: #ffffff;
}
.toast .toast-header .btn-close {
  filter: brightness(0) invert(1);
}
.toast .toast-body {
  padding: 1rem;
}

.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  transition: opacity 200ms ease;
}
.toast-notification__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #171717;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.15);
}
.toast-notification__content i {
  font-size: 16px;
}
@media (max-width: 576px) {
  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

voice-bubble {
  display: block;
}

.voice-bubble__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.voice-bubble__play-btn {
  flex-shrink: 0;
  font-size: 16px;
}
.voice-bubble--user .voice-bubble__play-btn {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.voice-bubble--user .voice-bubble__play-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
.voice-bubble--assistant .voice-bubble__play-btn {
  background: #3483f8;
  color: #ffffff;
}
.voice-bubble--assistant .voice-bubble__play-btn:hover {
  background: #2d7af7;
}
.voice-bubble__wave {
  flex: 1;
  height: 20px;
  border-radius: 4px;
}
.voice-bubble--user .voice-bubble__wave {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 4px 100%;
}
.voice-bubble--assistant .voice-bubble__wave {
  background: linear-gradient(90deg, rgba(163, 163, 163, 0.7) 1px, transparent 1px);
  background-size: 4px 100%;
}
.voice-bubble__duration {
  font-size: 12px;
  opacity: 0.8;
  flex-shrink: 0;
}
.voice-bubble__text {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: inherit;
}
.voice-bubble__text--pending {
  font-style: italic;
}

voice-recorder {
  display: contents;
}

.voice-recorder {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.voice-recorder--hidden {
  display: none !important;
}
.voice-recorder--reverse {
  flex-direction: row-reverse;
}
.voice-recorder--bar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 16px;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
}
.voice-recorder__toggle {
  flex-shrink: 0;
  font-size: 18px;
  background: #eef5ff;
  color: #3483f8;
}
.voice-recorder__toggle:hover {
  background: #3483f8;
  color: #ffffff;
}
.voice-recorder__toggle:active {
  transform: scale(0.94);
}
.voice-recorder__toggle--stop {
  background: #FF0200;
  color: #ffffff;
  animation: voiceRecorderRing 1.4s ease-out infinite;
}
.voice-recorder__toggle--stop:hover {
  background: #FF0200;
  color: #ffffff;
}
.voice-recorder__live {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.voice-recorder--reverse .voice-recorder__live {
  flex-direction: row-reverse;
}
.voice-recorder__timer {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #525252;
  font-variant-numeric: tabular-nums;
}
.voice-recorder__waveform {
  flex: 1;
  min-width: 0;
  height: 28px;
}
.voice-recorder__discard {
  flex-shrink: 0;
  font-size: 15px;
  background: #f5f5f5;
  color: #737373;
}
.voice-recorder__discard:hover {
  background: #fff5f5;
  color: #FF0200;
}
.voice-recorder__hint {
  color: #737373;
  font-size: 14px;
}

@keyframes voiceRecorderRing {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 2, 0, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 2, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 2, 0, 0);
  }
}
sheet-panel {
  display: flex;
  flex-direction: column;
}

sheet-panel:not(:defined) {
  display: none;
}

.sheet-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #ffffff;
  color: #171717;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
}

.sheet-panel__header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sheet-panel__icon {
  font-size: 18px;
  color: #3483f8;
}

.sheet-panel__title {
  font-weight: 600;
  font-size: 18px;
}

.sheet-panel__close-btn {
  font-size: 18px;
}

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

.sheet-panel--desktop .sheet-panel__close-btn {
  display: none;
}

.sheet-panel--mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70vh;
  border-radius: 16px 16px 0 0;
  z-index: 200;
  background: #ffffff;
  transform: translateY(100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sheet-panel--mobile.sheet-panel--open {
  transform: translateY(0);
  box-shadow: 0 -4px 20px rgba(10, 10, 10, 0.15);
}
.sheet-panel--mobile .sheet-panel__header {
  border-radius: 16px 16px 0 0;
}

.sheet-panel--drawer {
  z-index: 1100;
}
.sheet-panel--drawer .sheet-panel__content {
  overflow-y: auto;
  padding: 1.5rem;
  gap: 1rem;
}
.sheet-panel--drawer.sheet-panel--desktop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  border-radius: 0;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sheet-panel--drawer.sheet-panel--desktop.sheet-panel--open {
  transform: translateX(0);
  box-shadow: -4px 0 24px rgba(10, 10, 10, 0.18);
}

.sheet-panel__footer {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
}

.sheet-panel__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sheet-panel__backdrop--visible {
  opacity: 1;
  visibility: visible;
}

body.has-sheet-open {
  overflow: hidden;
}

.skeleton {
  background: linear-gradient(90deg, #e5e5e5 25%, #f5f5f5 50%, #e5e5e5 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
.skeleton--text {
  height: 1em;
  width: 60%;
}
.skeleton--heading {
  height: 1.5em;
  width: 40%;
}
.skeleton--card {
  height: 80px;
  width: 100%;
}
.skeleton--circle {
  border-radius: 50%;
}
.skeleton--stat {
  height: 2.5em;
  width: 50%;
  margin: 0 auto;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.d-flex {
  display: flex;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline-flex {
  display: inline-flex;
}

@media (max-width: 575px) {
  .d-sm-none {
    display: none;
  }
}
@media (min-width: 768px) {
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
}
.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

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

.justify-content-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-bold {
  font-weight: 600;
}

.fw-normal {
  font-weight: 400;
}

.text-primary {
  color: #3483f8;
}

.text-danger {
  color: #FF0200;
}

.text-success {
  color: #22c55e;
}

.text-dark {
  color: #171717;
}

.text-white {
  color: #ffffff;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.small {
  font-size: 13px;
}

.lead {
  font-size: 18px;
}

.bg-primary {
  background-color: #3483f8;
}

.bg-white {
  background-color: #ffffff;
}

.bg-light {
  background-color: #fafafa;
}

.bg-dark {
  background-color: #171717;
}

.rounded {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.rounded-circle {
  border-radius: 50%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.collapse:not(.show) {
  display: none;
}

/*# sourceMappingURL=main.css.map */
