/* ========================================
   Dashboard Container
   ======================================== */

.dashboard-container {
  background: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

@media (min-width: 768px) {
  .dashboard-body {
    flex-direction: row;
  }
}

/* Убираем отступы у dashboard-content и растягиваем */
.dashboard-content {
  padding: 0 !important;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ========================================
   Seller Dashboard - единая подложка
   ======================================== */

.seller-dashboard {
  background: transparent;
  min-height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Фильтры - карточки с заголовками */
.dashboard-filters {
  background: #f5f7fa;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 12px 24px 8px;
  margin-bottom: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
}

.filters-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
}

/* Карточка фильтра */
.filter-group {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filter-group.filter-group-grow {
  flex: 1 1 350px;
  max-width: 500px;
}

.filter-group-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1.4;
  flex-shrink: 0;
}

.filter-group-content {
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.filter-group .k-multiselect {
  height: 32px;
  min-height: 32px;
  width: 100%;
}

.filter-group .k-multiselect .k-input-values {
  min-height: 30px;
  max-height: 30px;
  padding: 2px 6px;
}

.filter-group .k-multiselect .k-chip {
  height: 24px;
  min-height: 24px;
  margin: 1px;
}

.filter-group .k-multiselect .k-chip-label {
  font-size: 0.8125rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* DateRangePicker в карточке */
.filter-group .k-daterangepicker {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.filter-group .k-daterangepicker .k-dateinput {
  width: 130px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 32px;
}

.filter-group .k-daterangepicker .k-input {
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  border-radius: 0.375rem;
  padding: 0 8px 0 10px;
}

.filter-group .k-daterangepicker .k-input-inner {
  font-size: 0.875rem;
  line-height: normal;
  padding: 6px 8px;
  margin: 0;
  display: flex !important;
  align-items: center !important;
  height: 100%;
}

.filter-group .k-daterangepicker .k-floating-label {
  display: none !important;
}

.filter-group .k-daterangepicker .k-floating-label-container {
  display: contents !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.filter-group .k-daterangepicker .k-input:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background-color: #ffffff;
}

/* Иконка календаря - показываем обязательно */
.filter-group .k-daterangepicker .k-dateinput {
  position: relative;
}

.filter-group .k-daterangepicker .k-dateinput::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.filter-group .k-daterangepicker .k-dateinput:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
}

/* Контейнер виджетов - продолжение единой подложки */
.widgets-container {
  background: #ffffff;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 16px;
  flex-grow: 1;
  min-height: 0;
}

/* ========================================
   Content - светлый фон
   ======================================== */

.dashboard-content {
  background: #f5f7fa;
  flex-grow: 1;
  padding: 1.5rem;
  min-height: calc(100vh - 60px);
}

.dashboard-page {
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
   Cards - белые карточки
   ======================================== */

.k-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.k-card-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}

.k-card-body {
  padding: 1.25rem;
}

/* ========================================
   Kendo Components
   ======================================== */

.k-button {
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
}

.k-button-primary {
  background: #2563eb;
  border-color: #2563eb;
}

.k-button-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.k-input,
.k-textbox,
.k-dropdown {
  border-radius: 6px;
  font-size: 0.875rem;
}

.k-grid {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.k-grid-header {
  background: #f9fafb;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .dashboard-content {
    padding: 1rem;
  }
}

/* ========================================
   Widget Cards Grid - 6 per row
   ======================================== */

.k-card-container .k-listview {
    padding: 0;
    margin: 0;
    overflow: visible;
}

.k-card-container .k-listview-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    padding: 8px 0;
    margin: 0;
    overflow: visible;
    align-items: stretch;
}

.k-card-container .k-listview-item {
    margin: 0;
    padding: 0;
    overflow: visible;
    height: 100%;
    display: flex;
}

.k-card-container .k-card {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    height: 100%;
    padding: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.k-card-container .k-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.k-card-container .k-card-header {
    background: transparent;
    border-bottom: none;
    border-left: 4px solid transparent;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
}

.k-card-container .k-card-title {
    font-size: 0.75rem;
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.k-card-container .k-card-body {
    padding: 0.5rem 0.75rem 0.6rem;
}

.k-card-container .k-card-text {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Card status colors - ФОНЫ */
.k-card-container .k-card.bg-db_cards-green,
.k-card.bg-db_cards-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
}

.k-card-container .k-card.bg-db_cards-red,
.k-card.bg-db_cards-red {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%) !important;
}

.k-card-container .k-card.bg-db_cards-blue,
.k-card.bg-db_cards-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
}

/* Цветные полоски в ШАПКЕ (левая граница) */
.k-card-container .k-card.group-profit .k-card-header {
    border-left: 4px solid #66bb6a !important;
}

.k-card-container .k-card.group-expenses .k-card-header {
    border-left: 4px solid #ef5350 !important;
}

.k-card-container .k-card.group-analytics .k-card-header {
    border-left: 4px solid #42a5f5 !important;
}

/* Delta styles - стильные и читаемые */
.k-card-container .k-card-delta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    width: fit-content;
    margin-top: 0.5rem;
}

/* Цвет фона дельты в зависимости от группы */
.k-card-container .k-card.group-profit .k-card-delta {
    background: rgba(102, 187, 106, 0.15);
}

.k-card-container .k-card.group-expenses .k-card-delta {
    background: rgba(239, 83, 80, 0.15);
}

.k-card-container .k-card.group-analytics .k-card-delta {
    background: rgba(66, 165, 245, 0.15);
}

/* Цвет текста дельты в зависимости от trend */
.k-card-container .k-card-delta.trend-positive {
    color: #16a34a;
}

.k-card-container .k-card-delta.trend-negative {
    color: #dc2626;
}

.k-card-container .k-card-delta .prev-value {
    font-size: 0.7rem;
    color: #6b7280;
    white-space: nowrap;
    font-weight: 500;
}

.k-card-container .k-card-delta .delta-badge {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.k-card-container .k-card-delta .delta-value {
    font-weight: 700;
    font-size: 0.75rem;
}

.k-card-container .k-card-delta .oi {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    font-size: 16px;
}

/* ========================================
   Widget Tooltip - иконка подсказки
   ======================================== */

.widget-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    padding: 2px;
    border-radius: 50%;
    position: relative;
}

.widget-tooltip:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.widget-tooltip .oi {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1;
}

.widget-tooltip:hover .oi {
    opacity: 1;
}

/* Tooltip content - показываем при hover */
.widget-tooltip .tooltip-content {
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 6px;
    white-space: normal;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
    margin-bottom: 8px;
    min-width: 200px;
    max-width: 350px;
    text-align: left;
}

.widget-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Стрелочка вниз */
.widget-tooltip .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #1f2937;
}

/* ========================================
   Badge Button - кнопка с бейджем
   ======================================== */

.k-badge-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.2s;
    position: absolute;
    top: 8px;
    right: 8px;
    box-shadow: none;
}

.k-badge-btn:hover {
    background: transparent;
    transform: translateY(-1px);
}

.k-badge-btn .oi {
    color: #6b7280;
    font-size: 18px;
}

.k-badge-btn:hover .oi {
    color: #000000;
}

.k-badge-count {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

/* Карточка должна быть relative для позиционирования кнопки */
.k-card-container .k-card .k-card-header {
    position: relative;
    overflow: visible;
}

.k-card-container .k-card {
    overflow: visible;
}

/* ========================================
   Badge Popup - всплывающее окно (Telerik Window)
   ======================================== */

.k-window.badge-popup-window {
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 450px;
}

.k-window.badge-popup-window .k-window-titlebar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0;
}

.k-window.badge-popup-window .k-window-content {
    padding: 0;
}

.k-window.badge-popup-window .k-window-actions {
    display: block;
}

.badge-popup-content {
    padding: 8px 0;
}

.badge-popup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    gap: 16px;
}

.badge-popup-item:last-child {
    border-bottom: none;
}

.badge-popup-item:hover {
    background: #f9fafb;
}

.badge-popup-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.badge-popup-value {
    font-size: 0.8125rem;
    color: #1f2937;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

/* ========================================
   Font Card - новый дизайн карточек из SellerSettings
   ======================================== */

.font-card-wrapper {
    position: relative;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    width: 100%;
    min-width: 176px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.font-card-wrapper:hover {
    transform: translateY(-8px);
}

.font-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: var(--card-gradient, linear-gradient(135deg, #66bb6a 0%, #43a047 100%));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    z-index: 0;
    transition: all 0.3s ease;
}

.font-card-wrapper:hover::before {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Цвета градиентов для разных статусов - пастельные тона */
.font-card-wrapper.bg-db_cards-green::before {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.font-card-wrapper.bg-db_cards-red::before {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.font-card-wrapper.bg-db_cards-blue::before {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.font-card {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.font-card-header {
    padding: 8px 12px 14px 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-height: 52px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    position: relative;
}

.font-card-title {
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.font-header-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-header-icon .oi {
    color: white !important;
    fill: white !important;
    font-size: 14px;
}

.group-icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.font-card-body {
    padding: 10px 12px;
    background: white;
    border-radius: 12px 12px 16px 16px;
    position: relative;
    z-index: 2;
    margin-top: -10px;
    padding-top: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.main-value {
    font-size: 18px;
    font-weight: 800;
    color: #2d2d2d;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.percentage-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    margin-left: 8px;
}

.percentage-value {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    line-height: 1;
}

.percentage-value.negative {
    color: #dc2626;
}

.trend-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-icon svg,
.trend-icon-img {
    width: 100%;
    height: 100%;
}

/* Цвет иконки тренда зависит от статуса - зеленый/красный */
.trend-positive .trend-icon-img {
    -webkit-filter: brightness(0) saturate(100%) invert(37%) sepia(61%) saturate(409%) hue-rotate(91deg) brightness(94%) contrast(92%);
    filter: brightness(0) saturate(100%) invert(37%) sepia(61%) saturate(409%) hue-rotate(91deg) brightness(94%) contrast(92%);
}

.trend-negative .trend-icon-img {
    -webkit-filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(1993%) hue-rotate(323deg) brightness(96%) contrast(105%);
    filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(1993%) hue-rotate(323deg) brightness(96%) contrast(105%);
}

.secondary-value {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.1;
}

.change-block {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    line-height: 1;
}

.change-number {
    color: #999;
}

.change-percent {
    color: #ff6b35;
    font-weight: 600;
}

.arrow-up {
    color: #16a34a;
    font-size: 14px;
}

.arrow-down {
    color: #dc2626;
    font-size: 14px;
}

.trend-positive {
    color: #16a34a !important;
}

.trend-negative {
    color: #dc2626 !important;
}

/* Badge button в нижнем правом углу карточки */
.badge-btn-corner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2px 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
}

.badge-btn-corner:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.badge-icon-corner {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.badge-count-corner {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
}

/* font-card-body должен быть relative для позиционирования badge */
.font-card-body {
    position: relative;
}

/* Адаптивность */
@media (max-width: 576px) {
    .k-card-container .k-listview-content {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ========================================
   Articles Page
   ======================================== */

.articles-page {
    background: transparent;
    min-height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #6b7280;
}

.table-container {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    margin: 0 24px 24px;
    overflow-x: auto;
}

.table-container .k-grid {
    min-width: 100%;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 24px 24px;
    font-size: 0.875rem;
    color: #6b7280;
}

.profit-positive {
    color: #059669;
    font-weight: 600;
}

.profit-negative {
    color: #dc2626;
    font-weight: 600;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #6b7280;
}

.table-container {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    margin: 0 24px 24px;
    overflow-x: auto;
}

.table-container .k-grid {
    width: max-content;
    min-width: 100%;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 24px 24px;
    font-size: 0.875rem;
    color: #6b7280;
}

.profit-positive {
    color: #059669;
    font-weight: 600;
}

.profit-negative {
    color: #dc2626;
    font-weight: 600;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #6b7280;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 24px 24px;
    font-size: 0.875rem;
    color: #6b7280;
}

.profit-positive {
    color: #059669;
    font-weight: 600;
}

.profit-negative {
    color: #dc2626;
    font-weight: 600;
}
