/* ==========================================================================
   MOBILE-FIRST UI/UX DESIGN SYSTEM & RESPONSIVE OVERRIDES
   ========================================================================== */

:root {
  --mobile-touch-target: 44px;
  --mobile-radius: 12px;
  --mobile-radius-lg: 16px;
  --mobile-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  --mobile-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --mobile-primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  --mobile-success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --mobile-warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --mobile-danger-gradient:  linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --mobile-dark-gradient:    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* --------------------------------------------------------------------------
   1. GLOBAL TOUCH & BASE RESPONSIVE ENHANCEMENTS
   -------------------------------------------------------------------------- */
html, body {
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  background-color: #f8fafc;
}

/* Ensure smooth touch scrolling */
.page-wrapper,
.body-wrapper,
.table-responsive,
.sidebar__menu-wrapper,
.modal-body {
  -webkit-overflow-scrolling: touch;
}

/* Minimum Touch Target Sizing */
button,
.btn,
.form-control,
.form-select,
.select2-container .select2-selection--single,
.nav-link,
.dropdown-item,
.page-link {
  min-height: var(--mobile-touch-target);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   2. TOPBAR & MOBILE NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem;
}

.res-sidebar-open-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.2s ease;
}

.res-sidebar-open-btn:active {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile App Bottom Quick Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
  z-index: 1040;
  padding: 0 0.5rem;
}

@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  body {
    padding-bottom: 70px;
  }
}

.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  min-height: 52px;
  flex: 1;
}

.mobile-bottom-nav__item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-bottom-nav__item.active,
.mobile-bottom-nav__item:hover {
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.06);
}

.mobile-bottom-nav__item--fab {
  background: var(--mobile-primary-gradient);
  color: #ffffff !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-top: -24px;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  flex: none;
  padding: 0;
}

.mobile-bottom-nav__item--fab i {
  font-size: 24px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. SIDEBAR MOBILE DRAWER & BACKDROP
   -------------------------------------------------------------------------- */
.sidebar {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 1050;
    transform: translateX(-100%);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.res-sidebar-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   4. CARD & CONTAINER RESPONSIVE REDESIGN
   -------------------------------------------------------------------------- */
.card {
  border: none;
  border-radius: var(--mobile-radius);
  box-shadow: var(--mobile-shadow);
  background: #ffffff;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.card-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-header .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.card-body {
  padding: 1.25rem;
}

@media (max-width: 576px) {
  .card-body {
    padding: 1rem;
  }
  
  .card-header {
    padding: 0.875rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  
  .card-header > * {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   5. CREATIVE 2-COLUMN MOBILE CARD GRID (MATCHING REFERENCE DESIGN)
   -------------------------------------------------------------------------- */
.sale-box-card,
.mobile-list-card {
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 14px !important;
  padding: 0.75rem 0.85rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  cursor: pointer !important;
}

.sale-box-card:hover,
.mobile-list-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(70, 52, 255, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.invoice-badge,
.code-badge {
  background: #eeeefd !important;
  color: #4634ff !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  display: inline-block !important;
}

.customer-name,
.item-title {
  font-weight: 700 !important;
  color: #1e293b !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.seller-name,
.item-subtitle {
  color: #64748b !important;
  font-size: 11.5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.amount-tag {
  font-weight: 800 !important;
  font-size: 13px !important;
  color: #0f172a !important;
}

@media (max-width: 991px) {
  .table-responsive,
  *[class*='table-responsive--'] {
    border: none !important;
    overflow-x: visible !important;
    padding: 0 !important;
  }

  *[class*='table-responsive'] .table:not(.no-mobile-card),
  .table-responsive .table:not(.no-mobile-card) {
    display: block !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
  }

  *[class*='table-responsive'] .table:not(.no-mobile-card) thead,
  .table-responsive .table:not(.no-mobile-card) thead {
    display: none !important; /* Hide desktop headers on mobile */
  }

  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody,
  .table-responsive .table:not(.no-mobile-card) tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody tr,
  .table-responsive .table:not(.no-mobile-card) tbody tr {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 14px !important;
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    position: relative !important;
    min-width: 0 !important;
    height: 100% !important;
    cursor: pointer !important;
  }

  .table-responsive .table:not(.no-mobile-card) tbody tr:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(70, 52, 255, 0.08) !important;
    border-color: #cbd5e1 !important;
  }

  /* 1st td (Top Badge: Code / Invoice / SN) */
  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody tr td:first-child,
  .table-responsive .table:not(.no-mobile-card) tbody tr td:first-child {
    display: block !important;
    padding: 0 0 0.35rem 0 !important;
    border-bottom: none !important;
    text-align: left !important;
  }

  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody tr td:first-child .fw-bold,
  .table-responsive .table:not(.no-mobile-card) tbody tr td:first-child .fw-bold {
    background: #eeeefd !important;
    color: #4634ff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-block !important;
  }

  /* Middle tds (Title, Subtitle, Date) */
  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody tr td:not(:first-child):not(:last-child),
  .table-responsive .table:not(.no-mobile-card) tbody tr td:not(:first-child):not(:last-child) {
    display: block !important;
    padding: 0.15rem 0 !important;
    border-bottom: none !important;
    text-align: left !important;
    font-size: 11.5px !important;
    color: #475569 !important;
    word-break: break-word !important;
  }

  /* Hide raw data-labels */
  *[class*='table-responsive'] [data-label]::before,
  .table-responsive [data-label]::before,
  [data-label]::before {
    display: none !important;
  }

  /* Card footer (Last td: Amount + Status Badge / Action Buttons) */
  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody tr td:last-child,
  .table-responsive .table:not(.no-mobile-card) tbody tr td:last-child {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0 !important;
    width: 100% !important;
  }

  .table-responsive .table:not(.no-mobile-card) td .btn,
  .table-responsive .table:not(.no-mobile-card) td .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }
}

@media (max-width: 360px) {
  *[class*='table-responsive'] .table:not(.no-mobile-card) tbody,
  .table-responsive .table:not(.no-mobile-card) tbody {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   6. POS & SALE / PURCHASE MOBILE FORM BUILDER
   -------------------------------------------------------------------------- */
.productTable tbody tr {
  transition: background 0.15s ease;
}

@media (max-width: 768px) {
  .productTable {
    display: block;
  }

  .productTable thead {
    display: none;
  }

  .productTable tbody {
    display: block;
  }

  .productTable tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--mobile-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: var(--mobile-shadow);
  }

  .productTable tbody tr td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border: none;
  }

  .productTable tbody tr td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #475569;
    font-size: 13px;
  }

  .productTable tbody tr td .form-control {
    max-width: 140px;
    text-align: center;
  }

  .products-container .products {
    max-height: 260px;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--mobile-shadow-lg);
  }
}

/* --------------------------------------------------------------------------
   7. DASHBOARD WIDGETS MOBILE GRID
   -------------------------------------------------------------------------- */
.widget-card {
  border-radius: var(--mobile-radius-lg);
  padding: 1.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  backdrop-filter: blur(5px);
}

@media (max-width: 576px) {
  .widget-card {
    padding: 1rem;
  }
  .widget-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------------------------------
   8. FORM CONTROLS & SELECT2 MOBILE FIT
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label, label {
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.4rem;
  font-size: 13.5px;
}

.form-control,
.form-select,
.select2-container--default .select2-selection--single {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
}

.select2-container {
  width: 100% !important;
}

.select2-container--open {
  z-index: 999999 !important;
}

.select2-container .select2-selection--single {
  height: auto;
  display: flex;
  align-items: center;
}

.select2-dropdown {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0;
  z-index: 999999 !important;
  background-color: #ffffff !important;
}

/* Ensure filter cards and containers don't clip overflowing select2 dropdowns */
.card:not(.table-card),
.card-body,
.warehouse-field,
.product-field {
  overflow: visible !important;
}

.select2-results__option {
  padding: 10px 14px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   9. MODALS & SCROLLABLE POPUP TRANSFORMATIONS
   -------------------------------------------------------------------------- */
.modal-dialog-scrollable .modal-content,
.modal-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-dialog-scrollable .modal-body,
.modal-body {
  overflow-y: auto !important;
  max-height: calc(90vh - 130px);
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
  }

  .modal-content {
    border-radius: 20px 20px 0 0;
    border: none;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  }

  .modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.25rem;
    flex-shrink: 0;
  }

  .modal-body {
    padding: 1rem 1.25rem;
    max-height: calc(88vh - 130px);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }

  .modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 0.875rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
    background: #ffffff;
  }

  .modal-footer .btn {
    flex: 1 1 auto;
  }
}

/* --------------------------------------------------------------------------
   10. BREADCRUMB & HEADER UTILITIES
   -------------------------------------------------------------------------- */
.breadcrumb-plugins {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.breadcrumb-plugins .btn,
.breadcrumb-plugins a,
.breadcrumb-plugins button {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 576px) {
  .breadcrumb-plugins {
    width: 100% !important;
    margin-top: 0.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    justify-content: flex-start !important;
  }
  .breadcrumb-plugins .btn,
  .breadcrumb-plugins a,
  .breadcrumb-plugins button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

.pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center !important;
  margin-top: 1rem;
}

.page-link {
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. MOBILE DASHBOARD OPTIMIZATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .widget-card-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .widget-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    padding: 0.75rem 0.65rem !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    min-height: 72px !important;
  }

  .widget-card-left {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .widget-card-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    font-size: 1.2rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .widget-card-content {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .widget-card-wrapper .widget-card-amount,
  .widget-card-amount {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .widget-card-wrapper .widget-card-title,
  .widget-card-title {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  .widget-card-arrow {
    display: none !important;
  }

  /* Top Metric Widgets (.widget-seven) */
  .dashboard-top-widgets {
    margin-left: -4px !important;
    margin-right: -4px !important;
  }

  .dashboard-top-widgets > [class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .widget-seven {
    padding: 0.75rem 0.65rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    min-height: 72px !important;
  }

  .widget-seven .widget-seven__content {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .widget-seven .widget-seven__content-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }

  .widget-seven .widget-seven__content-icon .icon {
    font-size: 1.2rem !important;
  }

  .widget-seven .widget-seven__description {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .widget-seven .widget-seven__content-title {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 2px !important;
  }

  .widget-seven .widget-seven__content-amount {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .widget-seven .widget-seven__arrow {
    display: none !important;
  }

  /* Date range pickers on mobile */
  #psDatePicker,
  #saleSaleReturnDatePicker,
  #purchasePurchaseReturnDatePicker {
    font-size: 11.5px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    margin-top: 4px;
  }

  /* Chart areas */
  #psChartArea, #sSrChartArea, #pPrChartArea {
    min-height: 250px !important;
    width: 100% !important;
  }

  /* Dashboard card headers */
  .card-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 420px) {
  .widget-card-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .widget-card {
    padding: 0.65rem 0.5rem !important;
    gap: 0.4rem !important;
  }

  .widget-card-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 1rem !important;
  }

  .widget-card-wrapper .widget-card-amount,
  .widget-card-amount {
    font-size: 0.95rem !important;
  }

  .widget-card-wrapper .widget-card-title,
  .widget-card-title {
    font-size: 10.5px !important;
  }

  .widget-seven {
    padding: 0.65rem 0.5rem !important;
  }

  .widget-seven .widget-seven__content-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  .widget-seven .widget-seven__content-icon .icon {
    font-size: 1rem !important;
  }

  .widget-seven .widget-seven__content-amount {
    font-size: 1rem !important;
  }

  .widget-seven .widget-seven__content-title {
    font-size: 10.5px !important;
  }
}
