/* Global Background */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-color: #f4f5f7; /* zentrale Background-Farbe */
}

/* Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Exit Button (Link-Button) */
.btn-exit {
    text-decoration: none;
    padding: 8px 14px;
    background-color: #e0e0e0;
    color: #000;
    border-radius: 6px;
    font-size: 14px;
}

/* Divider Line */
.header-divider {
    height: 1px;
    background-color: #dcdcdc;
}

/* Content Area */
.app-content {
    padding: 24px;
}

/* Icon settings */
.icon {
  color: #121212;
  stroke-width: 2;
}

/* ========== Global Tooltip System ========== */

/* Help-Icon (ⓘ) */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #555;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.help-icon:active {
  opacity: 0.6;
}

/* Tooltip Overlay (Hintergrund) */
.tooltip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  animation: fadeIn 0.15s ease-out;
}

/* Tooltip Box */
.tooltip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 16px;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
