/* Chavill backend-owned CSS chunk: 262df0ac2310163c.css; version: 1.0.0-105db2c98093 */
/* Chavill CSS chunk 7: 262df0ac2310163c.css */

.icon-btn,
.chat-file span,
.chat-send {
  box-shadow: 0 8px 22px #1238270c;
}

.icon-btn:hover,
.chat-file span:hover,
.chat-send:hover {
  box-shadow: 0 12px 28px #0a80621c;
}

.panel .side {
  padding: 18px;
}

.panel-section,
#admin > .card,
#adminEditor .card {
  border-radius: 28px;
}

.admin-ticket-list-item.active {
  box-shadow: inset -3px 0 0 #0a8062, 0 10px 24px #0a806212;
}

.table td,
.table th {
  border-bottom-color: #eaf2ee;
}

.table tr:last-child td {
  border-bottom-color: transparent;
}

.support-chat,
.invoice-card,
.pretty-confirm {
  border-radius: 30px;
}

.support-chat-body::-webkit-scrollbar,
.admin-ticket-list::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.support-chat-body::-webkit-scrollbar-thumb,
.admin-ticket-list::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #cfe8de;
}

.support-chat-body::-webkit-scrollbar-track,
.admin-ticket-list::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
  background: #f5fbf8;
}

.toast {
  border: 1px solid #ffffff1f;
}

.footer {
  border-top: 1px solid #e8f1ed;
}

@media (hover: hover) {
  .card:hover .price,
  .product.card:hover h3,
  .order-card:hover h3 {
    color: #0a8062;
  }
}

/* Focused premium polish for home/index and dashboard panels. */
#hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #dcebe5;
  background:
    radial-gradient(circle at 20% 10%, #c9f3e3 0 160px, transparent 161px),
    linear-gradient(135deg, #ffffff 0%, #f5fbf8 58%, #eef8f4 100%);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid #ffffffb8;
  border-radius: 20px;
}

#hero h1 {
  color: #0a8062;
  text-shadow: 0 10px 28px #0a806214;
}

#homeCategories .card,
#featured .product,
#newest .product,
#bestselling .product {
  animation: softIn .32s ease both;
}

#homeCategories .card {
  min-height: 142px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #d9eee5, #ffffff, #cfe8de) border-box;
  border: 1px solid transparent;
}

#homeCategories .card:hover {
  transform: translateY(-5px) scale(1.01);
}

.panel .card.side::before,
#admin > .card::before,
.panel-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, transparent, #0a806255, transparent);
}

.panel .card.side,
#admin > .card,
.panel-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

#admin .grid .card,
#panel .panel-section,
.notification-card {
  box-shadow: 0 14px 36px #1238270d;
}

#admin .grid .card:hover,
#panel .panel-section:hover,
.notification-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px #12382716;
}

.admin-upload-field,
.row[data-admin-search],
#walletDepositForm,
#couponForm {
  border: 1px solid #e5efea;
  border-radius: 20px;
  padding: 10px;
  background: #fbfdfc;
}

.mobile-menu:not([hidden]) {
  box-shadow: 0 18px 42px #12382714;
}

/* Remove decorative blob circles while keeping the calm background color. */
body {
  background: linear-gradient(180deg, #fbfdfc 0%, var(--ch-bg) 52%, #f8fbfa 100%);
}

.hero .card::after,
.hero-grid .card::after,
#hero::after {
  display: none;
}

/* Final UI refinements: softer forms, round checkboxes and balanced index hero spacing. */
.check-row {
  gap: 10px;
}

.check-row input[type="checkbox"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 1.5px solid #b9cbc4;
  border-radius: 50%;
  background: #fff;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.check-row input[type="checkbox"]::after,
input[type="checkbox"]::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: scale(0);
  background: #0a8062;
  transition: transform .16s ease;
}

.check-row input[type="checkbox"]:checked,
input[type="checkbox"]:checked {
  border-color: #0a8062;
  background: #eef8f4;
}
