/* =========================================================
   SmartMonitor — LANDSCAPE layout styles
   Minimal compatible stylesheet for current templates/classes
   ========================================================= */

/* scrollbars */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }

.bg-theme-card { background-color: var(--card-bg); border-radius: var(--border-radius); }
.border-l-accent { border-left: 4px solid var(--accent-color); }
.border-l-transparent { border-left: 4px solid transparent; }
.text-theme-secondary { color: var(--text-secondary); }

/* Media background (saver) */
.media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0.6;
  z-index: 0;
}

/* old price */
.price-old {
  color: var(--old-price-color, #94a3b8);
  font-size: var(--old-price-size, 0.78rem);
  text-decoration: line-through;
  text-align: right;
  opacity: 0.8;
}

/* price fraction (main total) */
.price-fraction {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.85;
}

/* =========================
   TICKER
   ========================= */
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #1e293b;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 100;
  color: var(--ticker-text);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
}

.ticker-static {
  animation: none !important;
  padding-left: 20px !important;
  white-space: normal;
  display: block;
}

/* =========================
   BADGES SHAPES
   ========================= */
.shape-rounded { border-radius: 4px; }
.shape-pill { border-radius: 9999px; }
.shape-square { border-radius: 0px; }
.shape-tag {
  border-radius: 2px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  padding-left: 12px !important;
}
