.h-300 {
  height: 300px !important;
}

.h-400 {
  height: 400px !important;
}

.h-123 {
  height: 123px !important;
}

.w-60 {
  width: 60px !important
}

.w-200 {
  width: 200px !important;
}

.w-300 {
  width: 300px !important;
}

.w-90 {
  width: 90px !important;
}

.mw-70 {
  max-width: 70% !important;
}

.wp-10 {
  width: 10% !important;
}

.wp-15 {
  width: 15% !important;
}

.wp-20 {
  width: 20% !important;
}

.wp-30 {
  width: 30% !important;
}

.wp-40 {
  width: 40% !important;
}

.wp-50 {
  width: 50% !important;
}

.wp-60 {
  width: 60% !important;
}

.wp-70 {
  width: 70% !important;
}

.wp-80 {
  width: 80% !important;
}

.wp-90 {
  width: 90% !important;
}

.wp-100 {
  width: 100% !important;
}

.hm-30 {
  min-height: 30px !important;
}

.table td,
.table th {
  padding: 0.5rem;
}

/* --- UI Makeover Base --- */
:root {
  --ui-bg: #f7f9fc;
  --ui-card: #ffffff;
  --ui-border: #e6ebf2;
  --ui-text: #0f172a;
  --ui-muted: #64748b;
  --ui-primary: #2563eb;
}

.main-content {
  background: var(--ui-bg);
}

.card {
  border: 1px solid var(--ui-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06) !important;
}

.card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
  border-bottom: 1px solid var(--ui-border) !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

.page-header-title h5 {
  color: var(--ui-text);
  font-weight: 700;
}

.page-header-title span {
  color: var(--ui-muted);
}

.table thead th {
  background: #f8fafc;
  color: var(--ui-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--ui-border);
}

.table tbody tr {
  border-bottom: 1px solid #eef2f7;
}

.table tbody tr:hover {
  background: #f8fafc;
}

.badge {
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}

.btn {
  border-radius: 10px;
}

.btn-outline-primary {
  border-color: #c7d2fe;
  color: #3730a3;
}

.btn-outline-primary:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #312e81;
}

.gap-2 {
  gap: 0.5rem;
}

.ui-thumb {
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  padding: 10px;
  background: #f9fbff;
}

.ui-thumb img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.ui-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  text-decoration: none;
}

.ui-chip-link:hover {
  background: #e0e7ff;
  text-decoration: none;
}

.auth-wrapper .authentication-form .logo-centered {
  width: auto !important;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.auth-wrapper {
  background: rgb(0 150 136);
  height: 100vh;
  background-image: -webkit-linear-gradient(top left, var(--cyan), #08671e);
}

.auth-wrapper .authentication-form .form-group .form-control {
  border-radius: 25px;
  height: 40px;
}

.auth-wrapper .authentication-form .form-group .form-control~i {
  top: 13px !important;
  color: #009688;
}

.auth-wrapper .authentication-form {
  font-size: .9rem;
  width: 350px;
  display: block;
  padding: 25px 30px;
  margin: 60px 0;
  background: #fff;
  border-radius: 5px;
}

.btn-custom {
  border-radius: 25px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: #009688;
  height: 40px;
  color: #fff;
}

.btn-semi-rounded {
  border-radius: 25px;
}

.password-block {
  position: absolute;
  top: 200px;
  right: -220px;
  background: #fdfdfd;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #678660;
}
}

.password-block:before {
  content: '';
  height: 0;
  width: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-right: 20px solid #678660;
  position: absolute;
  left: -20px;
  top: 50px;
}

.badge-right {
  float: right;
  position: initial !important;
}

#Widget-line-chart1,
#Widget-line-chart2,
#Widget-line-chart3,
#Widget-line-chart4 {
  width: 100%;
  height: 75px
}

#realtime-profit,
#sale-diff {
  height: 150px;
}

#sec-ecommerce-chart-line {
  height: 30px;
}

#sec-ecommerce-chart-bar {
  height: 100px;
}

#app-sale1,
#app-sale2,
#app-sale3,
#app-sale4 {
  height: 50px;
}

.chart-shadow {
  height: 400px;
}

.st-cir-chart {
  height: 450px !important;
}

#status-round-1,
#status-round-2,
#status-round-3,
#status-round-4 {
  width: 80px !important;
  height: 80px !important;
}

#card-412 {
  min-height: 412px;
}

#card-422 {
  min-height: 422px;
}

#visitfromworld {
  width: 100%;
  height: 350px;
}

.card-300 {
  height: 300px;
}

.card-484 {
  min-height: 484px;
}

.card-180 {
  min-height: 180px;
}

.card-200 {
  min-height: 200px;
}

.th-50 {
  width: 50%;
}

.pt-100 {
  padding-top: 100px;
}

.font-150 {
  font-size: 150px;
}

#pbc-1,
#pbc-2,
#pbc-3,
#pbc-4,
#pbc-5,
#pbc-6 {
  height: 50px;
}

/*.sale-card{
	min-height: 301px;
}*/

#deal-analytic-chart {
  height: 300 !important;
}

#tot-rev-chart {
  width: 100px;
  height: 100px;
}

#allocation-map,
#allocation-chart {
  height: 250px;
}

#sal-income,
#rent-income,
#income-analysis {
  height: 100px;
}

.progress-6 {
  height: 6px;
}

.hide {
  display: none;
}



.pricing .card {
  border: none;
  border-radius: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.pricing hr {
  margin: 1.5rem 0;
}

.pricing .card-title {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  letter-spacing: .1rem;
  font-weight: bold;
}

.pricing .card-price {
  font-size: 3rem;
  margin: 0;
}

.pricing .card-price .period {
  font-size: 0.8rem;
}

.pricing ul li {
  margin-bottom: 1rem;
}

.pricing .text-muted {
  opacity: 0.7;
}

.pricing .btn {
  border-radius: 5rem;
  letter-spacing: .1rem;
  font-weight: bold;
  opacity: 0.7;
  transition: all 0.2s;
}

.app-sidebar {
  -webkit-transition-property: none !important;
  -moz-transition-property: none !important;
  -o-transition-property: none !important;
  transition-property: none !important;
}

.sidebar-action {
  position: absolute;
  right: 23px;
  font-size: 25px;
  color: #c7c7c7;
  cursor: pointer;
}

.sidebar-mini .sidebar-action i:before {
  content: "\e911";
}

.sidebar-mini.sidebar-mini-hover .sidebar-action i:before {
  content: "\e910";
}

.sidebar-mini .app-sidebar {
  width: 70px !important;
}

.sidebar-mini .app-sidebar .sidebar-content .nav-container .navigation-main .nav-item a span {
  display: none;
}

.sidebar-mini .header-brand-img {
  display: none;
}

.sidebar-mini .app-sidebar .sidebar-content .nav-container .navigation-main .nav-item.has-sub a::before {
  display: none;
}

.sidebar-mini .main-content,
.sidebar-mini .header-top {
  padding-left: 80px !important;
}

.sidebar-mini .app-sidebar .sidebar-content .nav-container .navigation-main .nav-lavel {
  display: none;
}

.sidebar-mini .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item .submenu-content {
  display: none;
}

.sidebar-mini.sidebar-mini-hover .app-sidebar {
  width: 240px !important;
}

.sidebar-mini.sidebar-mini-hover .app-sidebar .sidebar-content .nav-container .navigation-main .nav-item a span {
  display: inline-block;
}

.sidebar-mini.sidebar-mini-hover .header-brand-img {
  display: inline-block;
}

.sidebar-mini.sidebar-mini-hover .app-sidebar .sidebar-content .nav-container .navigation-main .nav-item.has-sub a::before {
  display: block;
}

.sidebar-mini.sidebar-mini-hover .main-content,
.sidebar-mini.sidebar-mini-hover .header-top {
  padding-left: 250px !important;
}

.sidebar-mini.sidebar-mini-hover .app-sidebar .sidebar-content .nav-container .navigation-main .nav-lavel {
  display: block;
}

.sidebar-mini.sidebar-mini-hover .app-sidebar.colored .sidebar-content .nav-container .navigation-main .nav-item.open.has-sub .submenu-content {
  display: block;
}

/* Sidebar polish */
.navigation-main .nav-item > a {
  border-radius: 12px;
  margin: 4px 10px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.navigation-main .nav-item > a i {
  margin-right: 10px;
}

.navigation-main .nav-item.active > a,
.navigation-main .nav-item > a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #ffffff;
}

.navigation-main .nav-item.active > a i,
.navigation-main .nav-item > a:hover i {
  color: #ffffff;
}

.navigation-main .nav-item.active > a span {
  font-weight: 700;
}

.avatar-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.15);
}

.wrapper .page-wrap .app-sidebar .sidebar-content .nav-container .navigation-main .nav-item.has-sub .submenu-content .menu-item:after {
  content: '--';
  position: absolute;
  left: 29px;
}

.select2-container {
  width: 100% !important;
}

.html-editor.h-205 .note-editor {
  height: 205px !important;
}

label {
  font-weight: bold;
}

.note-editable {
  height: 115px !important;
}

.wrapper .pos-header {
  padding: 10px 0;
  -webkit-box-shadow: 0 1px 15px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 4%);
  -moz-box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 15px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 4%);
}

.pos-container {
  background-color: #F6F7FB;
  height: 100vh;
}

.pos-form-group {
  position: relative;
}

.pos-form-group label {
  position: absolute;
  left: 0;
  top: 0;
  border-bottom: 0;
  height: 35px;
  width: 100px;
  background: var(--info);
  border-radius: 20px 0 0 20px;
  padding: 8px 10px;
  color: #fff;
  text-align: center;
}

.pos-form-group .form-control {
  border-radius: 20px;
  padding-left: 120px;
}

.payment-area {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 15px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 4%);
  -moz-box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 15px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 4%);
}

.payment-area .total {
  font-size: 24px;
  font-weight: bolder;
  border-radius: 20px;
  color: var(--info);
  font-family: sans-serif;
}

.btn-checkout {
  border-radius: 20px;
  height: 35px;
  padding: 7px;
  text-align: center;
}

.btn-rounded-20 {
  border-radius: 20px;
}

.h-100vh {
  height: 100vh;
}

.card .card-header .card-options a.btn-semi-rounded {
  width: auto !important;
  padding: 0 10px !important;
  border-radius: 25px !important;
}

.customer-area {
  box-shadow: -8px -6px 10px 6px #f8f8f8;
  padding: 20px;
  height: 100%;
}

@media (min-width: 992px) {
  .pricing .card:hover {
    margin-top: -.25rem;
    margin-bottom: .25rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.3);
  }

  .pricing .card:hover .btn {
    opacity: 1;
  }
}

.text-small {
  font-size: 10px;
}

.font-20 {
  font-size: 20px;
}

.font-15 {
  font-size: 15px;
}

.h-110px {
  height: 110px !important;
}

.h-82px {
  height: 82px !important;
}

.width-50 {
  width: 50%;
}

.width-30 {
  width: 30%;
}

.width-20 {
  width: 20%;
}

.box-shadow {
  -webkit-box-shadow: 0 6px 0 0 rgb(0 0 0 / 1%), 0 15px 32px 0 rgb(0 0 0 / 6%);
  -moz-box-shadow: 0 6px 0 0 rgba(0, 0, 0, 0.01), 0 15px 32px 0 rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 0 0 rgb(0 0 0 / 1%), 0 15px 32px 0 rgb(0 0 0 / 6%);
}

.pos.top-menu .nav-link i {
  font-size: 20px;
}

.pos-product-card .card-img img {
  padding: 20px;
  padding-bottom: 5px;
  height: 180px !important;
  object-fit: contain !important;
}

.pos-product-card .badge {
  font-size: 10px;
  padding: 5px;
}

.promo-card {
  border-radius: 10px;
  height: 100px;
  width: 100%;
  background: #b5fff8;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.card-taxgrad {
  background-color: #3f0d12;
  background-image: linear-gradient(315deg, #3f0d12 0%, #a71d31 74%);

}

.card-redgrad {
  background-color: #a40606;
  background-image: linear-gradient(315deg, #a40606 0%, #d98324 74%);
}


.card-purbgrad {
  background-color: #42378f;
  background-image: linear-gradient(315deg, #42378f 0%, #f53844 74%);
}

.card-orggrad {
  background-color: #f9484a;
  background-image: linear-gradient(315deg, #f9484a 0%, #fbd72b 74%);
}

.promo-card span {
  display: block;
  width: 80px;
  height: 30px;
  background: #ffdfdf;
  margin: auto;
  margin-top: 15px;
}

.product-selection-area {
  padding: 20px;
}

.product-selection-area .cart-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.cart-item-qty {
  height: 26px;
  width: 50px;
  margin: 0 10px;
}

.btn-pos-checkout {
  width: 100%;
  border-radius: 10px;
}

/*home page css*/
.home-gradient-bg {
  background-image: linear-gradient(60deg, #fcf5f6 0%, #f8fbfe 100%);
}

.banner-text {
  font-size: 44px;
  font-weight: 900;
  text-align: center;
  padding-top: 100px;
}

.btn-rounded {
  border-radius: 25px;
  height: 35px;
  padding-left: 20px;
  padding-left: 20px;

}

.radmin-bannner img {
  width: 80%;
  margin: auto;
  border-radius: 10px;
}

.d-relative {
  position: relative;
}

.d-absolute {
  position: absolute;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.table-budget-control td:nth-child(1),
.color-budget-1st,
.table-budget-control td:nth-child(7) {
  background-color: #dddddd;
}

.table-budget-control td:nth-child(n+2):nth-child(-n+4),
.color-budget-2nd {
  background-color: #e9ffef;
}

.table-budget-control td:nth-child(n+5):nth-child(-n+6),
.color-budget-3rd {
  background-color: #efdddd;
}

.color-budget-header-green {
  background: #b0e7be;
}

.color-budget-header-red {
  background: #f3bebe;
}

.product-price {
  font-size: 24px;
}

.price-symbol {
  font-size: 11px;
  top: -9px;
  position: relative;
}

.pos-product-card {
  cursor: pointer;
}

.cart-image-holder {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  border: 1px solid #cecece;
}

.cart-image-holder img {
  width: 100%;
  object-fit: contain;
  height: 58px;
  border-radius: 5px;
  padding: 5px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: bold;
}

.cart-item-price {
  font-size: 16px;
}
.cart-remove{
  position: absolute;
  top: -7px;
  left: -7px;
  font-size: 18px;
}
.product-cart-area{
  box-shadow: -1px 0px 4px 4px #d1d1d1;
  height: 100%;
  min-height: 100vh;
}
.cursor-pointer{
  cursor: pointer;
}

/* --- Unified UI System --- */
:root {
  --ui-bg: #f7f9fc;
  --ui-card: #ffffff;
  --ui-border: #e6ebf2;
  --ui-text: #0f172a;
  --ui-muted: #64748b;
  --ui-primary: #2563eb;
  --ui-primary-600: #1d4ed8;
  --ui-success: #16a34a;
  --ui-warning: #f59e0b;
  --ui-danger: #dc2626;
  --ui-info: #0ea5e9;
}

body {
  color: var(--ui-text);
}

.main-content {
  background: var(--ui-bg);
}

.page-header {
  margin: 10px 0 24px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--ui-border);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 1) 60%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.page-header .page-header-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-header .page-header-title i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.page-header-title h5 {
  font-weight: 800;
  letter-spacing: -0.3px;
}

.page-header-title span {
  color: var(--ui-muted);
}

.card {
  border: 1px solid var(--ui-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06) !important;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ui-border) !important;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
}

.card-header h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0;
}

.card-body {
  padding: 20px;
}

.btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.btn-sm {
  font-weight: 700;
}

.table .btn,
.table .btn-sm,
.table .btn-outline-primary,
.table .btn-outline-info,
.table .btn-outline-secondary,
.table .btn-outline-success,
.table .btn-outline-warning,
.table .btn-outline-danger {
  min-height: 36px;
  min-width: 110px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 12px;
  line-height: 1.1;
}

.table .ui-button-group,
.table .actions-bar,
.table .d-flex.flex-wrap {
  gap: 8px;
}

.btn-primary {
  background: var(--ui-primary);
  border-color: var(--ui-primary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background: var(--ui-primary-600);
  border-color: var(--ui-primary-600);
}

.btn-success {
  background: var(--ui-success);
  border-color: var(--ui-success);
}

.btn-warning {
  background: var(--ui-warning);
  border-color: var(--ui-warning);
  color: #111827;
}

.btn-danger {
  background: var(--ui-danger);
  border-color: var(--ui-danger);
}

.btn-info {
  background: var(--ui-info);
  border-color: var(--ui-info);
}

.btn-light {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.form-control,
.custom-select,
.input-group-text {
  border-radius: 12px;
  border-color: #dbe2ee;
}

.form-control:focus,
.custom-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.table thead th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #64748b;
  border: none;
}

.table tbody tr {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.table tbody tr td {
  border: none;
  padding: 14px 16px;
}

.table tbody tr td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.table tbody tr td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.badge {
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
}

.badge-success {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.badge-danger {
  background: rgba(220, 38, 38, 0.15);
  color: #b91c1c;
}

.badge-info {
  background: rgba(14, 165, 233, 0.15);
  color: #0369a1;
}

.badge-secondary {
  background: rgba(148, 163, 184, 0.2);
  color: #475569;
}

.ui-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.ui-stat {
  padding: 18px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--ui-border);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.ui-stat .ui-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 18px;
}

.ui-stat .ui-stat-value {
  font-size: 22px;
  font-weight: 800;
}

.ui-stat .ui-stat-label {
  color: var(--ui-muted);
  font-size: 13px;
}

.ui-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.ui-kpi {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--ui-border);
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.ui-kpi .label {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ui-kpi .value {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.ui-kpi.kpi-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 1));
}

.ui-kpi.kpi-success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(255, 255, 255, 1));
}

.ui-kpi.kpi-danger {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(255, 255, 255, 1));
}

.ui-kpi.kpi-info {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 1));
}

.ui-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ui-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
}

.ui-filter-panel {
  display: none;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed #d0d7e2;
  background: #f8fafc;
}

.ui-filter-panel.is-open {
  display: block;
}

.ui-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  text-decoration: none;
}

.ui-thumb {
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  padding: 10px;
  background: #f9fbff;
}

.ui-thumb img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.ui-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.kv {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
}

.kv span:first-child {
  width: 90px;
  color: #6b7280;
  font-weight: 600;
}

.ui-hero {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--ui-border);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 1) 60%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.ui-hero h3 {
  font-weight: 800;
}

.ui-hero p {
  color: var(--ui-muted);
  margin-bottom: 0;
}

.ui-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.ui-button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ui-link {
  color: #2563eb;
  font-weight: 600;
}

.ui-link:hover {
  text-decoration: underline;
}

.ui-field-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* DataTables polish */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dt-buttons {
  margin: 0;
}

.dataTables_wrapper .ui-table-controls {
  padding: 8px 0 12px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  font-weight: 600;
  color: var(--ui-muted);
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_length select {
  margin: 0 8px;
}

.dataTables_wrapper .dataTables_filter input {
  margin-left: 8px;
  min-width: 180px;
  border-radius: 12px;
  padding: 6px 10px;
}

.dataTables_wrapper .dataTables_filter {
  text-align: right;
}

.dataTables_wrapper .dt-buttons .btn {
  min-width: 72px;
  padding: 6px 12px;
  font-weight: 700;
  border-radius: 10px;
}

.dataTables_wrapper .dt-buttons {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.dataTables_wrapper .dt-buttons .btn {
  border-radius: 10px !important;
}

table.dataTable thead th,
table.dataTable tbody td {
  padding-left: 16px;
  padding-right: 16px;
}

table.dataTable thead th:first-child,
table.dataTable tbody td:first-child {
  padding-left: 24px;
}

table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
  background-position: right 8px center;
}

.table td {
  vertical-align: middle;
}

.table td:last-child,
.table td .ui-button-group {
  white-space: nowrap;
}

.table td form {
  display: inline-block;
  margin: 0;
}

.table td form + form,
.table td .btn + .btn {
  margin-left: 8px;
}

.table td .ui-button-group {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .table {
    border-spacing: 0 6px;
  }

  .ui-hero {
    padding: 18px;
  }
}
