/* ======================================================
   RIU REGISTAR - JAVNI PRIKAZ
   ====================================================== */

.riu-wrap {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #1e1e1e;
}

/* ======================================================
   NASLOV
   ====================================================== */
.riu-main-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 24px 0;
  padding: 0;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 768px) {
  .riu-main-title {
    font-size: 20px;
    margin: 0 0 20px 0;
  }
}

/* ======================================================
   FILTERI / KONTROLE
   ====================================================== */
.riu-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin: 0 0 16px 0;
}

.riu-control label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333;
}

.riu-control select,
.riu-control input {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfd3d7;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: #1e1e1e;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* Select opcije - tekst prelom */
.riu-control select option {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.riu-control select:focus,
.riu-control input:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.riu-control.riu-reset {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

/* Reset + Analitika dugmad u istom redu */
.riu-control.riu-buttons-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

/* Search wrapper - input + dugme */
.riu-search-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}

.riu-search-wrapper #riu-search {
  flex: 1;
  min-width: 0;
}

.riu-btn-search {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 20px;
}

/* ======================================================
   CUSTOM DROPDOWN (za institucije i funkcije)
   ====================================================== */
.riu-dropdown {
  position: relative;
  width: 100%;
}

.riu-dropdown-toggle {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid #cfd3d7;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: #1e1e1e;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  min-height: 42px;
}

.riu-dropdown-toggle:hover {
  border-color: #2271b1;
}

.riu-dropdown-toggle:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.riu-dropdown-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.riu-dropdown-arrow {
  position: absolute;
  right: 12px;
  font-size: 10px;
  color: #666;
  transition: transform 0.2s ease;
}

.riu-dropdown.open .riu-dropdown-arrow {
  transform: rotate(180deg);
}

.riu-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #cfd3d7;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.riu-dropdown.open .riu-dropdown-menu {
  display: block;
}

/* v0.9.31: SEARCH BOX u dropdown-u */
.riu-dropdown-search {
  padding: 8px;
  border-bottom: 2px solid #e0e0e0;
  background: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 10;
}

.riu-dropdown-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cfd3d7;
  border-radius: 4px;
  font-size: 14px;
  color: #1e1e1e;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.riu-dropdown-search-input:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.riu-dropdown-search-input::placeholder {
  color: #999;
  font-style: italic;
}

/* Container za opcije - scrollable */
.riu-dropdown-options {
  max-height: 260px;
  overflow-y: auto;
}

.riu-dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #1e1e1e;
  /* KLJUČNO: omogući prelom teksta */
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.riu-dropdown-item:last-child {
  border-bottom: none;
}

.riu-dropdown-item:hover {
  background: #f0f6ff;
}

.riu-dropdown-item.selected {
  background: #e6f0ff;
  font-weight: 600;
}

.riu-dropdown-item.riu-highlighted {
  background: #d0e8ff;
  border-left: 3px solid #2271b1;
}

.riu-dropdown-item.riu-dd-placeholder {
  color: #666;
  font-style: italic;
}

/* ======================================================
   DUGMAD
   ====================================================== */
.riu-btn {
  padding: 10px 18px;
  border: 1px solid #2271b1;
  background: #2271b1;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.riu-btn:hover {
  background: #135e96;
  border-color: #135e96;
  color: #fff;
}

.riu-btn:active {
  transform: translateY(1px);
}

/* ======================================================
   TABELA WRAP
   ====================================================== */
.riu-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ======================================================
   TABELA (DESKTOP)
   ====================================================== */
.riu-table {
  width: 100%;
  border-collapse: collapse;
  /* min-width uklonjeno - tabela se prilagođava širini ekrana */
  table-layout: fixed;
}

.riu-table th,
.riu-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.riu-table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  z-index: 1;
  border-bottom: 2px solid #e5e5e5;
}

/* HOVER HIGHLIGHT */
.riu-table tbody tr:hover td {
  background: #f0f6ff;
}

/* Hover za sticky Info kolonu - mora imati istu boju */
.riu-table tbody tr:hover td:nth-child(10) {
  background: #f0f6ff; /* Ista boja kao hover na ostalim kolonama */
}

.riu-loading {
  text-align: center;
  padding: 24px;
  color: #666;
  font-style: italic;
}

/* ======================================================
   ŠIRINE KOLONA (DESKTOP) - Optimizovano za prilagodljiv prikaz
   ====================================================== */
/* Kolone će se automatski prilagoditi dostupnom prostoru */

.riu-table th:nth-child(1),
.riu-table td:nth-child(1) {
  width: 7%; /* Ime - kraće */
}

.riu-table th:nth-child(2),
.riu-table td:nth-child(2) {
  width: 9%; /* Prezime */
}

.riu-table th:nth-child(3),
.riu-table td:nth-child(3) {
  width: 13%; /* Funkcija imenovanja */
}

.riu-table th:nth-child(4),
.riu-table td:nth-child(4) {
  width: 18%; /* Naziv institucije - najšira */
}

.riu-table th:nth-child(5),
.riu-table td:nth-child(5) {
  width: 10%; /* Sjedište institucije */
}

.riu-table th:nth-child(6) {
  width: 9%;
  text-align: center;
}

.riu-table td:nth-child(6) {
  width: 9%; /* Iznos naknade */
  text-align: right;
  white-space: nowrap;
}

.riu-table th:nth-child(7),
.riu-table td:nth-child(7) {
  width: 12%; /* Institucija zaposlenja */
}

.riu-table th:nth-child(8),
.riu-table td:nth-child(8) {
  width: 10%; /* Naziv radnog mjesta */
}

.riu-table th:nth-child(9),
.riu-table td:nth-child(9) {
  width: 10%; /* Stručna sprema */
}

.riu-table th:nth-child(10),
.riu-table td:nth-child(10) {
  width: 60px;
  position: sticky;
  right: 0;
  background: #fff; /* Pozadina da pokrije kolone ispod */
  box-shadow: -2px 0 4px rgba(0,0,0,0.05); /* Sjenka za vizualni efekt */
  z-index: 2;
  text-align: center; /* Horizontalno centriranje */
  vertical-align: middle; /* Vertikalno centriranje */
  padding: 12px 10px; /* Isti padding kao ostale ćelije */
}

/* Sticky header za Info kolonu - posebna pozadina */
.riu-table thead th:nth-child(10) {
  background: #f8f9fa;
  z-index: 3; /* Iznad ostalih sticky elemenata */
}

/* ======================================================
   INFO DUGME - SIMPLIFICIRANO
   ====================================================== */
.riu-info-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid #2271b1;
  background: #2271b1;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  display: inline-block;
  padding: 0;
  /* BEZ hover efekta! */
}

/* ======================================================
   SORT IKONE
   ====================================================== */
.riu-sort {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.riu-sort::before {
  content: "⇅";
  font-size: 11px;
  color: #999;
  margin-right: 4px;
}

.riu-sort.asc::before,
.riu-sort.desc::before {
  color: #2271b1;
}

.riu-sort.asc::after {
  content: " ▲";
  font-size: 10px;
  color: #2271b1;
}

.riu-sort.desc::after {
  content: " ▼";
  font-size: 10px;
  color: #2271b1;
}

/* ======================================================
   FOOTER / PAGINACIJA
   ====================================================== */
.riu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  gap: 12px;
}

.riu-meta {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  color: #555;
  font-size: 13px;
}

.riu-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.riu-page {
  border: 1px solid #2271b1;
  background: #2271b1;
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.riu-page:hover,
.riu-page:focus {
  background: #1f6fb2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transform: translateY(-1px);
  outline: none !important;
}

.riu-page.active {
  background: #0a4b78;
  border-color: #0a4b78;
}

.riu-page.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Kill theme focus outlines */
.riu-page:focus,
.riu-page:focus-visible,
.riu-pagination a:focus,
.riu-pagination a:focus-visible,
.riu-pagination span:focus,
.riu-pagination span:focus-visible,
.riu-pagination :where(a, span):focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ======================================================
   MOBILNI LABELS (sakriveni na desktopu)
   ====================================================== */
.riu-m-label {
  display: none;
}

.riu-m-val {
  display: inline;
}

/* ======================================================
   RESPONSIVE - TABLET (max 1024px)
   ====================================================== */
@media (max-width: 1024px) {
  .riu-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .riu-control.riu-reset {
    grid-column: span 1;
  }
}

/* ======================================================
   RESPONSIVE - MOBILNI (max 768px) - CARD LAYOUT
   ====================================================== */
@media (max-width: 768px) {
  .riu-controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Custom dropdown na mobilnom - puna širina */
  .riu-dropdown-menu {
    max-height: 250px;
  }

  .riu-dropdown-item {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .riu-control.riu-search {
    grid-column: span 2;
  }

  .riu-control.riu-reset {
    grid-column: span 2;
    justify-content: center;
  }

  .riu-control.riu-reset .riu-btn {
    width: 100%;
  }

  .riu-meta {
    justify-content: center;
    text-align: center;
  }

  /* Tabela postaje card layout */
  .riu-table {
    min-width: 0;
    table-layout: auto;
  }

  /* Sakrij header */
  .riu-table thead {
    display: none;
  }

  /* Red postaje kartica */
  .riu-table tbody tr {
    display: block;
    margin: 12px 0;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  .riu-table tbody tr:first-child {
    margin-top: 0;
  }

  /* Ćelije kao label:value parovi */
  .riu-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
    white-space: normal;
    width: auto !important;
  }

  .riu-table tbody td:last-child {
    border-bottom: none;
  }

  /* Label/value styling */
  .riu-m-label {
    display: block;
    flex-shrink: 0;
    min-width: 40%;
    max-width: 45%;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left !important;
  }

  .riu-m-val {
    display: block;
    flex: 1;
    text-align: left;
    color: #1e1e1e;
    word-break: break-word;
  }

  /* Iznos - samo bold, bez desnog poravnanja */
  .riu-table tbody td.riu-right .riu-m-label {
    text-align: left !important;
  }

  .riu-table tbody td.riu-right .riu-m-val {
    text-align: left;
    font-weight: 600;
    color: #0a6f0a;
  }

  /* Info kolona */
  .riu-info-col {
    text-align: left;
    background: #f8f9fa;
    padding: 12px 16px !important;
  }
  
  .riu-info-col .riu-m-label {
    display: none;
  }
  
  .riu-info-col .riu-m-val {
    text-align: center;
    width: 100%;
  }
  
  .riu-info-col .riu-info-btn {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}

/* ======================================================
   RESPONSIVE - MALI MOBITELI (max 480px)
   ====================================================== */
@media (max-width: 480px) {
  .riu-controls {
    grid-template-columns: 1fr;
  }

  .riu-control.riu-search,
  .riu-control.riu-reset {
    grid-column: span 1;
  }

  .riu-table tbody td {
    padding: 10px 14px;
    flex-direction: column;
    gap: 4px;
  }

  .riu-m-label {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 2px;
    text-align: left !important;
  }

  .riu-m-val {
    text-align: left !important;
    width: 100%;
  }

  .riu-table tbody td.riu-right .riu-m-label {
    text-align: left !important;
  }

  .riu-table tbody td.riu-right .riu-m-val {
    text-align: left !important;
  }
}

/* ======================================================
   MODAL
   ====================================================== */
.riu-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.riu-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.riu-modal-dialog {
  position: relative;
  width: 900px;
  max-width: 100%;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.riu-modal-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.riu-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
}

.riu-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.riu-modal-close:hover {
  background: #e5e5e5;
  color: #333;
}

.riu-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.riu-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  background: #f8f9fa;
}

/* ======================================================
   MODAL - DETALJI
   ====================================================== */
.riu-details {
  display: grid;
  gap: 8px;
}

.riu-detail-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
}

.riu-detail-key {
  font-weight: 600;
  color: #333;
  font-size: 13px;
}

.riu-detail-val {
  word-break: break-word;
  color: #1e1e1e;
}

/* MODAL RESPONSIVE */
@media (max-width: 768px) {
  .riu-modal {
    padding: 10px;
  }
  
  .riu-modal-dialog {
    margin: 10px auto;
    border-radius: 10px;
  }
  
  .riu-modal-header {
    padding: 14px 16px;
  }
  
  .riu-modal-header h3 {
    font-size: 16px;
  }
  
  .riu-modal-body {
    padding: 16px;
    max-height: 60vh;
  }
  
  .riu-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }
  
  .riu-detail-key {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #666;
  }
}

@media (max-width: 480px) {
  .riu-modal-body {
    max-height: 55vh;
  }
  
  .riu-modal-footer {
    padding: 12px 16px;
  }
  
  .riu-modal-footer .riu-btn {
    width: 100%;
  }
}

/* ======================================================
   PRINT STYLES
   ====================================================== */
@media print {
  .riu-controls,
  .riu-pagination,
  .riu-info-col,
  .riu-modal {
    display: none !important;
  }
  
  .riu-table-wrap {
    overflow: visible;
    border: none;
    box-shadow: none;
  }
  
  .riu-table {
    min-width: 0;
  }
  
  .riu-table th,
  .riu-table td {
    border: 1px solid #ccc;
    padding: 8px;
  }
}

/* ======================================================
   ANALITIKA DUGME I MODAL
   ====================================================== */

.riu-btn-analytics {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.riu-btn-analytics:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
  color: #fff;
}

.riu-analytics-btn {
  display: flex;
  align-items: flex-end;
}

/* Analitika modal - veći */
.riu-analytics-modal .riu-modal-dialog.riu-modal-xl {
  max-width: 95%;
  width: 1400px;
  max-height: 95vh;
}

.riu-analytics-modal .riu-modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(95vh - 140px);
}

.riu-analytics-modal .riu-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.riu-analytics-modal .riu-modal-header h3 {
  color: #fff;
}

.riu-analytics-modal .riu-modal-close {
  color: #fff;
}

.riu-analytics-modal .riu-modal-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Loading spinner */
.riu-analytics-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
}

.riu-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e0e0e0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: riu-spin 1s linear infinite;
}

@keyframes riu-spin {
  to { transform: rotate(360deg); }
}

/* Analitika summary kartice */
.riu-analytics-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.riu-summary-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.riu-summary-card.riu-card-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.riu-summary-card.riu-card-success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #fff;
}

.riu-summary-card.riu-card-warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
}

.riu-summary-card.riu-card-info {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
}

.riu-summary-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.riu-summary-label {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.9;
}

/* Grafikon grid */
.riu-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.riu-chart-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.riu-chart-box h4 {
  margin: 0 0 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
}

.riu-chart-container {
  position: relative;
  height: 280px;
}

/* Za PIE grafikone manji */
.riu-chart-box.riu-pie-chart .riu-chart-container {
  height: 240px;
}

/* Fullwidth grafikon (suma naknada po institucijama) */
.riu-chart-box.riu-chart-fullwidth {
  margin: 24px 0;
}

.riu-chart-container.riu-chart-tall {
  height: 700px;
}

/* Responsive za analitiku */
@media (max-width: 1200px) {
  .riu-charts-grid {
    grid-template-columns: 1fr;
  }
  
  .riu-analytics-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .riu-chart-container.riu-chart-tall {
    height: 600px;
  }
}

@media (max-width: 600px) {
  .riu-analytics-summary {
    grid-template-columns: 1fr;
  }
  
  .riu-analytics-modal .riu-modal-dialog.riu-modal-xl {
    width: 98%;
    max-width: 98%;
  }
}
