#intro-screen,
#trader-profile-overview,
#trader-form,
#completion-msg,
#progress-container {
  display: none;
}

fieldset {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #fafafa;
}

legend {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

label {
  display: block;
  margin: 0.3rem 0 0.3rem 1rem;
}

input[type="radio"] {
  margin-right: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

button.gh-btn {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
}

.progress-wrapper {
  margin: 1rem auto 2rem auto;
  max-width: 720px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #00c48c;
  width: 0%;
  transition: width 0.3s ease;
}

/* Tooltip ikona (otazník) */
#dashboard-page .tooltip-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #00b074;
  border: 1px solid #00b074;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  text-align: center;
  cursor: help;
  font-size: 0.9rem;
  position: relative;
  margin-left: 0.5rem;
  background: #fff;
  flex-shrink: 0;
  z-index: 1; /* Mírnější */
}

#dashboard-page .tooltip-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: auto;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  z-index: 999;
  max-width: 300px;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1.4;
  text-align: left;
  white-space: normal; /* ← DŮLEŽITÉ */
}

/* Zobrazit při hoveru */
#dashboard-page .tooltip-icon:hover::after {
  display: block;
}

/* DŮLEŽITÉ: zajistí, že tooltip není useknut */
#dashboard-page legend {
  overflow: visible;
  position: relative;
}

