/* Grund-Layout */
body {
  font-family: 'Roboto', sans-serif;
  background: #f5f5f5;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}

.container {
  width: 90%;
  max-width: 1000px;
}

/* Titel & Easter‑O Styles */
.title {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
  position: relative;
}

.easter-o {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.easter-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #bb86fc;
  color: white;
  border-radius: 50%;
  width: 1.4em;
  height: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
}

.hidden {
  display: none;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  background: #6200ee;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
}

.card-header .material-icons {
  margin-right: 0.5rem;
}

.card-content {
  padding: 1rem;
}

.line {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0;
}

label {
  font-weight: 500;
  color: #555;
}

.epoch {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #777;
}

#calendar-canvas {
  display: block;
  margin: 0.5rem auto;
}

/* Converter */
.converter-card input[type="date"] {
  width: 100%;
  padding: 0.4rem;
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.converter-card button {
  width: 100%;
  padding: 0.5rem;
  background: #03dac6;
  border: none;
  color: #000;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.converter-card button:hover {
  background: #02c4aa;
}

/* Outside button */
.outside-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #018786;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.outside-btn .material-icons {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.outside-btn:hover {
  background: #017374;
}

/* Guided Tour Overlay & Tooltip */
#tour-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

#tour-tooltip {
  position: absolute;
  max-width: 260px;
  background: white;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1001;
}

#tour-tooltip.hidden, #tour-overlay.hidden {
  display: none;
}

#tour-tooltip button {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: none;
  background: #6200ee;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

#tour-tooltip button#tour-skip {
  background: #aaa;
  margin-left: 0.5rem;
}
