#semstress-dashboard {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 9999;
  width: min(760px, calc(100% - 32px));
  padding: 14px 20px;
  transform: translateX(-50%);
  color: #ffffff;
  background: rgba(4, 18, 45, 0.92);
  border: 1px solid rgba(45, 120, 255, 0.55);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  font-family: Arial, Helvetica, sans-serif;
}

.semstress-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.semstress-dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.semstress-dashboard-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.semstress-dashboard-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.semstress-dashboard-title span {
  color: #55d629;
}

.semstress-dashboard-subtitle {
  margin: 3px 0 0;
  color: #b9c9e5;
  font-size: 12px;
}

.semstress-dashboard-date {
  color: #dce7fa;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 650px) {
  #semstress-dashboard {
    top: 8px;
    padding: 10px 12px;
  }

  .semstress-dashboard-logo {
    width: 38px;
    height: 38px;
  }

  .semstress-dashboard-date {
    display: none;
  }
}

.semstress-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.semstress-stat {
  min-width: 88px;
  padding: 7px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(110, 160, 240, 0.18);
  border-radius: 9px;
}

.semstress-stat strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.1;
}

.semstress-stat span {
  display: block;
  margin-top: 3px;
  color: #b9c9e5;
  font-size: 10px;
  white-space: nowrap;
}

.semstress-stat:nth-child(2) strong,
.semstress-stat:nth-child(4) strong {
  color: #63dc38;
}

.semstress-stat:nth-child(3) strong {
  color: #ff6363;
}

.semstress-stat:nth-child(5) strong {
  color: #ffc857;
}

@media (max-width: 950px) {
  #semstress-dashboard {
    width: calc(100% - 20px);
  }

  .semstress-stats {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .semstress-dashboard-date {
    display: none;
  }
}

@media (max-width: 650px) {
  .semstress-dashboard-brand {
    display: none;
  }

  .semstress-stat {
    min-width: 78px;
  }
}

/* =========================================================
   BARRA PREMIUM SEMSTRESS GPS
   ========================================================= */

#semstress-dashboard {
  top: 10px;
  width: min(960px, calc(100% - 40px));
  padding: 9px 15px;
  background:
    linear-gradient(
      135deg,
      rgba(10, 30, 72, 0.94),
      rgba(5, 20, 53, 0.91)
    );
  border: 1px solid rgba(72, 137, 255, 0.45);
  border-radius: 15px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.semstress-dashboard-header {
  min-height: 66px;
  gap: 14px;
}

.semstress-dashboard-brand {
  flex: 0 0 185px;
  gap: 10px;
}

.semstress-dashboard-logo {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.38));
}

.semstress-dashboard-title {
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.semstress-dashboard-subtitle {
  max-width: 120px;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
}

.semstress-stats {
  gap: 7px;
}

.semstress-stat {
  position: relative;
  min-width: 105px;
  padding: 7px 10px 7px 34px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.035)
    );
  border: 1px solid rgba(127, 167, 232, 0.22);
  border-radius: 10px;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.semstress-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 145, 255, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.semstress-stat::before {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 17px;
  line-height: 1;
}

.semstress-stat:nth-child(1)::before {
  content: "🚗";
}

.semstress-stat:nth-child(2)::before {
  content: "●";
  color: #65dc3b;
  text-shadow: 0 0 8px rgba(101, 220, 59, 0.8);
}

.semstress-stat:nth-child(3)::before {
  content: "●";
  color: #ff6161;
  text-shadow: 0 0 8px rgba(255, 97, 97, 0.75);
}

.semstress-stat:nth-child(4)::before {
  content: "➤";
  color: #55a8ff;
  text-shadow: 0 0 8px rgba(85, 168, 255, 0.7);
}

.semstress-stat:nth-child(5)::before {
  content: "Ⅱ";
  color: #ffc857;
  font-weight: 800;
}

.semstress-stat strong {
  font-size: 17px;
  line-height: 1;
}

.semstress-stat span {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.15px;
}

.semstress-dashboard-date {
  flex: 0 0 auto;
  padding-left: 3px;
  font-size: 11px;
  opacity: 0.85;
}

@media (max-width: 1100px) {
  #semstress-dashboard {
    width: min(820px, calc(100% - 24px));
  }

  .semstress-dashboard-brand {
    flex-basis: 150px;
  }

  .semstress-stat {
    min-width: 92px;
    padding-left: 30px;
  }
}

@media (max-width: 820px) {
  #semstress-dashboard {
    top: 7px;
    width: calc(100% - 14px);
    padding: 7px 9px;
  }

  .semstress-dashboard-brand,
  .semstress-dashboard-date {
    display: none;
  }

  .semstress-stats {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .semstress-stats::-webkit-scrollbar {
    display: none;
  }

  .semstress-stat {
    flex: 0 0 95px;
  }
}
