.yx-demo-login-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px dashed rgba(16, 185, 129, 0.55);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.06));
  color: #059669;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.yx-demo-login-btn:hover {
  border-color: rgba(16, 185, 129, 0.85);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(59, 130, 246, 0.1));
  transform: translateY(-1px);
}

.yx-demo-login-btn--floating {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 100000;
  width: auto;
  min-width: 168px;
  margin: 0;
  padding: 14px 22px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.28);
}

@media (max-width: 640px) {
  .yx-demo-login-btn--floating {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
    min-width: 200px;
  }
  .yx-demo-login-btn--floating:hover {
    transform: translateX(-50%) translateY(-1px);
  }
}

.yx-demo-mode-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: linear-gradient(90deg, #065f46, #047857 45%, #0f766e);
  color: #ecfdf5;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.yx-demo-mode-banner__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.yx-demo-mode-banner__exit {
  margin-left: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.yx-demo-mode-banner__exit:hover {
  background: rgba(255, 255, 255, 0.12);
}

html.yx-demo-mode-active body {
  padding-top: 40px;
}

html.yx-demo-mode-active .layout-app-shell,
html.yx-demo-mode-active .layout {
  min-height: calc(100vh - 40px);
}

@media (max-width: 640px) {
  .yx-demo-mode-banner {
    font-size: 12px;
    padding: 8px 10px;
  }
  html.yx-demo-mode-active body {
    padding-top: 56px;
  }
}
