/* OMRT Widget – θερμόμετρο 0–100 (ίδιες διαστάσεις με OSRI: 280×340) */
.omrt-widget {
  font-family: system-ui, -apple-system, sans-serif;
  width: 280px;
  min-height: 340px;
  max-width: 280px;
  padding: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #1a1d24 0%, #0f1115 100%);
  color: #e4e6eb;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.omrt-widget h3 {
  margin: 0 0 1rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.omrt-thermometer-wrap {
  position: relative;
  width: 48px;
  height: 220px;
  margin: 0 auto 1rem;
}

/* Κάτω ψυχρό (teal/green), πάνω ζεστό (red) – όπως θερμόμετρο */
.omrt-thermometer-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 28px;
  margin-left: -14px;
  border-radius: 14px;
  background: linear-gradient(
    to bottom,
    #ef4444 0%,
    #f59e0b 18%,
    #eab308 35%,
    #22c55e 55%,
    #10b981 75%,
    #0e7490 100%
  );
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.omrt-thermometer-fill {
  display: none;
}

.omrt-thermometer-line {
  position: absolute;
  left: -4px;
  right: -4px;
  width: calc(100% + 8px);
  height: 3px;
  bottom: 0%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  transition: bottom 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.omrt-thermometer-scale {
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  font-size: 0.7rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.omrt-thermometer-value {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}

.omrt-regime {
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.omrt-details {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.omrt-details strong {
  color: #e4e6eb;
}

.omrt-allocation h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.omrt-allocation-table {
  width: 100%;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.omrt-allocation-table td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #2d3239;
}

.omrt-allocation-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.omrt-meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.omrt-loading,
.omrt-error {
  text-align: center;
  padding: 1rem;
  color: #9ca3af;
}

.omrt-error {
  color: #f87171;
}

/* Απενεργοποιημένα: CPM, MBD, Allocation, meta (Duration/Credit/Updated/Δεν βρέθηκαν) – re-enable αφαιρώντας τα δύο επόμενα */
.omrt-details,
.omrt-allocation {
  display: none !important;
}
