/* ============================================================
   REAL TREE GUY OS — DASHBOARD (FULL REBUILD)
   Clean • Cinematic • No Burger • Emoji + Words Nav
============================================================ */

/* ============================================================
   BASE / BACKGROUND
============================================================ */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  color: #fff;
  overflow-x: hidden;
  background: #061b06;
}

#rtgBackground {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #1f5f2b 0, #061b06 55%, #020a02 100%);
  background-attachment: fixed;
  z-index: -1;
}

/* ============================================================
   TOP BAR
============================================================ */
.rtg-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(0,0,0,0.9);
  border-bottom: 2px solid #2e6b33;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  z-index: 1000;
}

.rtg-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rtg-topbar-title {
  display: flex;
  flex-direction: column;
}

.rtg-topbar-main {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffcc99;
}

.rtg-topbar-sub {
  font-size: 0.8rem;
  color: #9ddf9d;
}

.rtg-topbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.rtg-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: 12px;
}

.rtg-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #2e6b33;
}

.rtg-clock {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff8c42;
  text-shadow: 0 0 8px #ff8c42;
}

.rtg-topbar-link {
  color: #ff8c42;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.4rem;
}

/* ============================================================
   BURGER — FULLY REMOVED
============================================================ */
#rtgBurger {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   SIDEBAR
============================================================ */
.rtg-sidemenu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(0,0,0,0.96);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: left 0.3s ease;
  z-index: 999;
}

.rtg-sidemenu.open {
  left: 0;
}

.rtg-menu-link {
  color: #ffcc99;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 700;
}

/* ============================================================
   MAIN LAYOUT
============================================================ */
.rtg-main {
  padding: 96px 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   QUICK ACTIONS
============================================================ */
.rtg-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.rtg-qa-btn {
  flex: 1 1 150px;
  padding: 16px 0;
  border-radius: 12px;
  border: 2px solid #ff8c42;
  background: rgba(0,0,0,0.7);
  color: #ffcc99;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
}

.rtg-qa-btn:hover {
  background: rgba(0,0,0,0.9);
}

/* ============================================================
   GAUGE ROW
============================================================ */
.rtg-gauge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.rtg-gauge-card {
  background: rgba(0,0,0,0.75);
  border-radius: 12px;
  border: 2px solid #2e6b33;
  padding: 16px;
  box-shadow: 0 0 16px rgba(0,0,0,0.6);
}

.rtg-gauge-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #caffca;
}

/* ARC GAUGE */
.arc-gauge {
  width: 180px;
  height: 90px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.arc-gauge-inner {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    #1f5f2b 0deg,
    #1f5f2b 60deg,
    #ffcc33 90deg,
    #ff8c42 135deg,
    #ff3b3b 180deg
  );
  position: absolute;
  bottom: -90px;
  left: 0;
}

.arc-needle {
  position: absolute;
  width: 4px;
  height: 80px;
  background: #fff;
  left: 50%;
  bottom: 0;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
}

/* BAR GAUGE */
.bar-gauge {
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: #122012;
  overflow: hidden;
  border: 2px solid #2e6b33;
  margin-top: 6px;
}

.bar-gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1f5f2b, #ffcc33, #ff8c42, #ff3b3b);
  transition: width 0.4s ease;
}

.gauge-readout {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #ffcc99;
}

/* ============================================================
   WIDGETS + CARDS
============================================================ */
.rtg-widget {
  margin: 0 auto 24px;
  padding: 18px;
  background: rgba(0,0,0,0.7);
  border: 2px solid #2e6b33;
  border-radius: 12px;
}

.rtg-dashboard-card {
  background: rgba(0,0,0,0.85);
  border-radius: 10px;
  border: 1px solid #2e6b33;
  padding: 12px 14px;
  margin-top: 12px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #ffcc99;
}

.card-header a {
  color: #ff8c42;
  font-size: 1.4rem;
  text-decoration: none;
}

.card-body {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* WEATHER CARD BODY */
.weather-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weather-main {
  display: flex;
  flex-direction: column;
}

.wx-temp {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffcc99;
}

.wx-cond {
  font-size: 0.95rem;
  color: #9ddf9d;
}

.weather-meta {
  text-align: right;
  font-size: 0.85rem;
  color: #caffca;
}

/* ============================================================
   EMOJI + WORD NAV GRID (FULL FIXED VERSION)
============================================================ */
.rtg-grid {
  margin: 24px auto 20px;
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.rtg-card {
  padding: 22px 0 14px;
  background: rgba(0,0,0,0.75);
  border: 2px solid #ff8c42;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rtg-card span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffcc99;
}

.rtg-card:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-4px);
}
