/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #20201F;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* App container – full viewport, safe areas */
.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: #20201F;
  position: relative;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Header */
.header {
  padding: 48px 20px 0 20px;
  flex-shrink: 0;
}

.date {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  line-height: 1.2;
}

.title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #FFFFFF;
}

/* Content area – takes remaining space */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  /* aktuell leer – Layout only */
}

/* Bottom bar */
.bottom-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 32px 20px;
  gap: 16px;
}

/* Select button */
.btn-select {
  appearance: none;
  border: none;
  background-color: #272727;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  border-radius: 9999px;
  cursor: pointer;
  min-width: 116px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-select:active {
  background-color: #323232;
  transform: scale(0.97);
}

/* Add (+) button */
.btn-add {
  appearance: none;
  border: none;
  background-color: #272727;
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-add:active {
  background-color: #323232;
  transform: scale(0.94);
}

.btn-add svg {
  display: block;
}

/* Optional: subtle focus for accessibility */
.btn-select:focus-visible,
.btn-add:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}
