/* ========================================
   Marketplace Analytics - Kendo Theme
   Чистый минималистичный дизайн
   ======================================== */

:root {
  --kendo-border-radius: 8px;
  --kendo-transition-duration: 0.2s;
  --kendo-transition-easing: ease;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
}

body {
  background: #f5f7fa;
  color: #1f2937;
}

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

.k-button {
  border-radius: var(--kendo-border-radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--kendo-transition-duration) var(--kendo-transition-easing);
}

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

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

.k-card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  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-weight: 600;
  font-size: 1.125rem;
  color: #1f2937;
}

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

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

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

.k-grid tbody tr {
  transition: background-color var(--kendo-transition-duration) var(--kendo-transition-easing);
}

.k-grid tbody tr:hover {
  background: #f9fafb;
}

.k-input,
.k-textbox,
.k-dropdown,
.k-datepicker {
  border-radius: var(--kendo-border-radius);
  font-size: 0.875rem;
  transition: all var(--kendo-transition-duration) var(--kendo-transition-easing);
}

.k-input:focus,
.k-textbox:focus,
.k-dropdown:focus,
.k-datepicker:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
}

.k-badge {
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.75rem;
}

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

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

.k-badge-error {
  background: #fef2f2;
  color: #991b1b;
}

.k-badge-info {
  background: #dbeafe;
  color: #1e40af;
}

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

@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
}
