:root {
  --bg-dark: #06060c;
  --card-bg: rgba(22, 22, 38, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-top: rgba(255, 255, 255, 0.16);
  --color-gold: #c9a96e;
  --color-gold-rgb: 201, 169, 110;
  --color-green: #10b981;
  --color-green-rgb: 16, 185, 129;
  --color-blue: #3b82f6;
  --color-red: #ef4444;
  --color-text: #f3f4f6;
  --color-muted: #9ca3af;
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

body {
  background-color: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Concept 1 Background Auras */
.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.1) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.ambient-glow-2 {
  position: absolute;
  bottom: 5%;
  right: -20%;
  width: 90vw;
  height: 90vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

/* Mobile App Frame container */
.app-container {
  width: 100%;
  max-width: 420px;
  background: rgba(8, 8, 15, 0.88);
  min-height: 100vh;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  padding-bottom: 96px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
  touch-action: pan-y;
}

/* Glassmorphism card system */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--border-color);
  border-top: 1.5px solid var(--border-top);
  border-radius: 24px;
  padding: 20px;
  margin: 12px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-card:active {
  transform: scale(0.985);
}

/* App Header */
.app-header {
  padding: 24px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header h1 {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-initial {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8924c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #111;
  font-family: var(--font-header);
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(var(--color-gold-rgb), 0.3);
}

.user-info h2 {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.user-info p {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 1px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--color-green);
  border-radius: 50%;
  margin-right: 4px;
  box-shadow: 0 0 8px var(--color-green);
}

/* General Layout utilities */
.d-flex { display: flex; }
.d-none { display: none !important; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-grow-1 { flex-grow: 1; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-muted { color: var(--color-muted); }
.small { font-size: 0.78rem; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fs-3 { font-size: 1.75rem; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.p-2 { padding: 8px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* Alert banners */
.app-alert {
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-left: 4px solid var(--color-gold);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.app-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  border-left-color: var(--color-red);
  color: #ff8888;
}

.btn-dismiss-alert {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  padding: 2px;
  margin-left: auto;
}

/* Concept 5 SVG Circular Rings */
.balance-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0;
}

.ring-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ring-svg-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.ring-svg-wrap svg {
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 7px;
}

.ring-fill {
  fill: none;
  stroke-width: 7px;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.ring-fill-hours {
  stroke: url(#hours-grad);
  stroke-dasharray: 201; /* 2 * PI * 32 */
  stroke-dashoffset: 201;
}

.ring-fill-vacation {
  stroke: url(#vac-grad);
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
}

.ring-center-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.ring-center-val span {
  font-size: 0.6rem;
  color: var(--color-muted);
  display: block;
  font-weight: normal;
  margin-top: -3px;
}

.ring-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-muted);
}

/* Concept 2 Slider Widget */
.widget-today {
  border-left: 3px solid var(--color-gold);
}

.today-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.today-time-display {
  font-family: var(--font-header);
  font-size: 1.85rem;
  font-weight: 800;
  color: white;
  margin: 6px 0;
}

.slide-track {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

.slide-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.2s;
}

.slide-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0px;
  background: linear-gradient(90deg, rgba(var(--color-gold-rgb), 0.08) 0%, rgba(var(--color-gold-rgb), 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.slide-handle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8924c 100%);
  position: absolute;
  left: 4px;
  z-index: 3;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(var(--color-gold-rgb), 0.4);
}

.clocked-in-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--color-green-rgb), 0.1);
  border: 1px solid rgba(var(--color-green-rgb), 0.2);
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-green);
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse-kf 1.5s infinite;
}

@keyframes pulse-kf {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--color-green-rgb), 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(var(--color-green-rgb), 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--color-green-rgb), 0); }
}

/* Concept 4 Calendar Strip */
.calendar-strip-container {
  padding: 10px 16px;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.calendar-strip-container::-webkit-scrollbar {
  display: none;
}

.calendar-date-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  scroll-snap-align: center;
  flex-shrink: 0;
}

.calendar-date-card.active {
  background: linear-gradient(135deg, rgba(var(--color-gold-rgb), 0.12) 0%, rgba(var(--color-gold-rgb), 0.02) 100%);
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 4px 12px rgba(var(--color-gold-rgb), 0.15);
  transform: translateY(-1px);
}

.calendar-date-card.is-today {
  box-shadow: 0 0 10px rgba(var(--color-gold-rgb), 0.22);
  border-color: rgba(var(--color-gold-rgb), 0.45);
}

.calendar-date-card.is-today:not(.active) {
  background: rgba(var(--color-gold-rgb), 0.05) !important;
  border: 1.5px dashed rgba(var(--color-gold-rgb), 0.5) !important;
}

.calendar-date-card.is-today .day {
  color: var(--color-gold) !important;
}

.calendar-date-card .dow {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.calendar-date-card.active .dow {
  color: var(--color-gold);
}

.calendar-date-card .day {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
}

.calendar-date-card .indicator-dot {
  width: 3.5px;
  height: 3.5px;
  background: var(--color-gold);
  border-radius: 50%;
  margin-top: 3px;
  opacity: 0;
}

.calendar-date-card.has-shift .indicator-dot {
  opacity: 1;
}

/* Timefeed Cards */
.section-title {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title span {
  font-size: 0.72rem;
  color: var(--color-gold);
  font-weight: normal;
  letter-spacing: 0.04em;
}

.feed-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 6px;
  width: 40px;
  font-family: var(--font-header);
}

.feed-date span.dow {
  font-size: 0.6rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.feed-date span.day {
  font-size: 0.85rem;
  font-weight: 700;
}

.feed-info {
  flex-grow: 1;
  margin-left: 12px;
}

.feed-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.feed-time {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 1px;
}

.feed-tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.58rem;
  font-weight: 600;
  margin-top: 3px;
}

/* Category pills */
.tag-service { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.15); }
.tag-kitchen { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.15); }
.tag-rezeption { background: rgba(139, 92, 246, 0.1); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.15); }

/* Overlapping Team bubbles */
.team-radar-bubbles {
  display: flex;
  align-items: center;
}

.bubble-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #08080f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: bold;
  color: white;
  margin-left: -7px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  cursor: pointer;
}

.bubble-avatar:first-child {
  margin-left: 0;
}

/* Availability Calendar view */
.avail-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 10px;
}

.avail-cal-day {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  position: relative;
}

.avail-cal-day.other-month {
  opacity: 0.2;
  cursor: default;
}

.avail-cal-day.today {
  border-color: var(--color-gold);
  background: rgba(var(--color-gold-rgb), 0.05);
}

.dot-status {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  bottom: 5px;
}

.dot-available { background-color: var(--color-green); }
.dot-partial { background-color: var(--color-gold); }
.dot-unavailable { background-color: var(--color-red); }

/* Bottom navigation bar */
.app-navigation {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  height: 76px;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px env(safe-area-inset-bottom);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--color-muted);
  font-size: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  flex: 1;
  text-decoration: none;
}

.nav-item i {
  font-size: 1.25rem;
}

.nav-item.active {
  color: var(--color-gold);
  font-weight: 600;
}

/* Expandable central FAB hub */
.fab-hub {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8924c 100%);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(var(--color-gold-rgb), 0.35);
  cursor: pointer;
  transform: translateY(-16px);
  z-index: 110;
  border: 3.5px solid var(--bg-dark);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.fab-hub.expanded {
  transform: translateY(-16px) rotate(135deg);
  background: var(--color-red);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Expandable Action chips overlay */
.overlay-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.3s, backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, background 0.3s;
}

.overlay-bg.show {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  pointer-events: auto;
}

.fab-menu-chips {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 105;
  pointer-events: none;
}

.fab-chip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(15px);
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  cursor: pointer;
  white-space: nowrap;
}

.fab-chip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Concept 3 Bottom Sheets */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 420px;
  background: rgba(10, 10, 20, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid var(--border-color);
  border-radius: 26px 26px 0 0;
  padding: 8px 18px 30px;
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 120;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.7);
}

.bottom-sheet.show {
  transform: translateX(-50%) translateY(0);
}

.sheet-handle-bar {
  width: 36px;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin: 5px auto 18px;
  cursor: pointer;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-header h3 {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-close-sheet {
  background: rgba(255,255,255,0.04);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Tactile Availability Segment selector buttons */
.avail-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.segment-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 6px;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.68rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.segment-btn.active-avail { background: rgba(16, 185, 129, 0.08); color: var(--color-green); border-color: rgba(16, 185, 129, 0.2); }
.segment-btn.active-partial { background: rgba(201, 169, 110, 0.08); color: var(--color-gold); border-color: rgba(201, 169, 110, 0.2); }
.segment-btn.active-unavail { background: rgba(239, 68, 68, 0.08); color: var(--color-red); border-color: rgba(239, 68, 68, 0.2); }

/* Form styles inside sheets */
.form-group {
  margin-top: 14px;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sheet-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  color: white;
  font-family: inherit;
  font-size: 0.85rem;
  margin-top: 6px;
}

.sheet-form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(var(--color-gold-rgb), 0.15);
}

.btn-submit-action {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8924c 100%);
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
  margin-top: 20px;
  cursor: pointer;
}

/* Login Card designs */
.login-wrap {
  width: 100%;
  max-width: 360px;
  padding: 24px;
}

.login-form-card {
  background: var(--card-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-color);
  border-top: 1.5px solid var(--border-top);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Overtime / History timeline items */
.timeline-card-deck {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 14px;
}

.timeline-info {
  display: flex;
  flex-direction: column;
}

.timeline-title {
  font-size: 0.82rem;
  font-weight: 600;
}

.timeline-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 1px;
}

.timeline-hours {
  font-size: 0.88rem;
  font-weight: 700;
}

.timeline-hours.pos { color: var(--color-green); }
.timeline-hours.neg { color: var(--color-red); }

/* Quick notifications alert list */
.notif-alert-deck {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

/* Tactile Department Filters */
.filter-bar {
  padding: 4px 16px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-pill.active {
  background: var(--color-gold);
  color: #111;
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.25);
}

.filter-pill.released {
  border: 1.5px solid rgba(16, 185, 129, 0.45);
}

.filter-pill.unreleased {
  border: 1.5px solid rgba(239, 68, 68, 0.45);
}

/* Vertical Timefeed Card deck */
.timefeed-deck {
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.my-shift-card {
  border-left: 4px solid var(--color-gold);
  background: linear-gradient(135deg, rgba(20, 20, 35, 0.7) 0%, rgba(35, 30, 20, 0.5) 100%);
  box-shadow: 0 12px 35px rgba(201, 169, 110, 0.15);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 8px;
}

.tag-my-shift { background: rgba(var(--color-gold-rgb), 0.12); color: var(--color-gold); border: 1px solid rgba(var(--color-gold-rgb), 0.2); }
.tag-team { background: rgba(255, 255, 255, 0.05); color: var(--color-muted); }

.shift-time-span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin: 4px 0;
}

.shift-meta {
  font-size: 0.78rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.shift-note-block {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2.5px solid var(--color-gold);
  border-radius: 0 8px 8px 0;
  font-size: 0.75rem;
  color: var(--color-text);
}

/* Team Radar Section */
.team-radar-section {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.team-radar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-radar-count {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: normal;
}

.teammate-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teammate-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
}

.teammate-row.released-teammate {
  border-left: 3.5px solid rgba(16, 185, 129, 0.65);
}

.teammate-row.unreleased-teammate {
  border-left: 3.5px solid rgba(239, 68, 68, 0.65);
}

.teammate-row:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.05);
}

.teammate-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bubble-radar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.teammate-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.teammate-role {
  font-size: 0.68rem;
  color: var(--color-muted);
  margin-top: 1px;
}

.teammate-shift {
  text-align: right;
}

.teammate-hours {
  font-size: 0.8rem;
  font-weight: 600;
}

.teammate-dept-tag {
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 2px;
  display: inline-block;
}

.dept-service { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.dept-kitchen { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.dept-rezeption { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.dept-hotel { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.dept-fruehstueck { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

/* Colleague Contact Sheet */
.colleague-card-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.large-sheet-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
}

.large-sheet-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.large-sheet-role {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 4px 0 0;
}

.shift-summary-block {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 24px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-label {
  color: var(--color-muted);
}

.summary-value {
  font-weight: 600;
}

/* Tactile quick contact grid */
.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.btn-contact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 8px;
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-contact i {
  font-size: 1.4rem;
}

.btn-contact:active {
  transform: scale(0.95);
}

.btn-phone { background: rgba(16, 185, 129, 0.08); color: var(--color-green); border-color: rgba(16, 185, 129, 0.2); }
.btn-whatsapp { background: rgba(59, 130, 246, 0.08); color: var(--color-blue); border-color: rgba(59, 130, 246, 0.2); }
.btn-chat { background: rgba(201, 169, 110, 0.08); color: var(--color-gold); border-color: rgba(201, 169, 110, 0.2); }

/* Week Navigation Picker */
.btn-prev-next-week {
  background: none;
  border: none;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.76rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-prev-next-week:active {
  background: rgba(var(--color-gold-rgb), 0.1);
  transform: scale(0.95);
}

/* Enable custom horizontal swipe detection without browser interference */
#roster-content-wrapper, .timefeed-deck {
  touch-action: pan-y;
}

/* GPU-Accelerated Swipe Transitions */
.slide-transition-active {
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.22s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.slide-out-left {
  transform: translateX(-100%) rotate(-10deg) !important;
  opacity: 0 !important;
}

.slide-out-right {
  transform: translateX(100%) rotate(10deg) !important;
  opacity: 0 !important;
}

.slide-in-left {
  animation: slideInLeftKf 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.slide-in-right {
  animation: slideInRightKf 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@keyframes slideInLeftKf {
  0% {
    transform: translateX(-80px) rotate(-3deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes slideInRightKf {
  0% {
    transform: translateX(80px) rotate(3deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

/* Global icon spacing: Bootstrap Icons inline vor Text brauchen immer einen rechten Abstand */
i.bi { margin-right: 4px; }
/* Ausnahmen: Pfeil-Icons und alleinstehende Icons in Buttons sollen keinen Extra-Rechts-Abstand haben */
button > i.bi:only-child,
a > i.bi:only-child { margin-right: 0; }
.bi-chevron-right, .bi-chevron-left, .bi-chevron-up, .bi-chevron-down,
.bi-arrow-right, .bi-arrow-right-short, .bi-arrow-left { margin-right: 0; }



/* ============================================================
   REDESIGN v3 — Petrol, Hell (Standard) + Dark (body.tc-dark)
   Variablen neu + Dekorationen (Glow/Glas/Verlauf/Schatten) abgeflacht.
   ============================================================ */
:root{
  --bg-dark:#eaf1f2; --card-bg:#ffffff; --border-color:#e3eaec; --border-top:#e3eaec;
  --color-gold:#2d6b7c; --color-gold-rgb:45,107,124;
  --color-green:#15976b; --color-green-rgb:21,151,107;
  --color-blue:#2f6fd0; --color-red:#e2554e;
  --color-text:#16252a; --color-muted:#6b8088;
  --on-acc:#ffffff; --subtle:#eef3f4;
}
body.tc-dark{
  --bg-dark:#0d1518; --card-bg:#16242a; --border-color:#22353c; --border-top:#28424a;
  --color-gold:#5bb6cb; --color-gold-rgb:91,182,203;
  --color-green:#4ade80; --color-green-rgb:74,222,128;
  --color-blue:#7aa7df; --color-red:#f0746c;
  --color-text:#e8f0f2; --color-muted:#90a6ad;
  --on-acc:#04222a; --subtle:#1b2c33;
}
body{ background:var(--bg-dark); color:var(--color-text); }
.ambient-glow-1,.ambient-glow-2{ display:none !important; }
.app-container{ background:var(--bg-dark) !important; box-shadow:none !important; border-color:var(--border-color); }
.glass-card,.login-form-card{ background:var(--card-bg) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; border:1px solid var(--border-color) !important; border-top:1px solid var(--border-color) !important; border-radius:16px !important; box-shadow:none !important; }
.app-header h1{ background:none !important; -webkit-text-fill-color:var(--color-text) !important; color:var(--color-text); }
.text-white{ color:var(--color-text) !important; }
.text-gold{ color:var(--color-gold) !important; }
.avatar-initial{ background:var(--color-gold) !important; color:var(--on-acc) !important; box-shadow:none !important; }
.today-time-display,.shift-time-span{ color:var(--color-text) !important; }
.app-navigation{ background:var(--card-bg) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; border-top:1px solid var(--border-color) !important; }
.nav-item.active{ color:var(--color-gold); }
.fab-hub{ background:var(--color-gold) !important; color:var(--on-acc) !important; box-shadow:none !important; border:3.5px solid var(--card-bg) !important; }
.fab-hub.expanded{ background:var(--color-red) !important; color:#fff !important; box-shadow:none !important; }
.my-shift-card{ background:var(--card-bg) !important; border-left:4px solid var(--color-gold) !important; box-shadow:none !important; }
.slide-track{ background:var(--subtle) !important; box-shadow:none !important; }
.slide-handle{ background:var(--color-gold) !important; color:var(--on-acc) !important; box-shadow:none !important; }
.slide-progress{ background:rgba(var(--color-gold-rgb),0.18) !important; }
.slide-text{ color:var(--color-muted) !important; }
.filter-pill{ background:var(--subtle); }
.filter-pill.active{ background:var(--color-gold) !important; color:var(--on-acc) !important; border-color:var(--color-gold) !important; box-shadow:none !important; }
.btn-submit-action{ background:var(--color-gold); color:var(--on-acc); box-shadow:none; }
.bottom-sheet{ background:var(--card-bg) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; box-shadow:0 -8px 30px rgba(0,0,0,0.12) !important; border-top:1px solid var(--border-color) !important; }
.sheet-handle-bar{ background:var(--border-color); }
.btn-close-sheet{ background:var(--subtle) !important; color:var(--color-text) !important; }
.sheet-form-input{ background:var(--subtle) !important; color:var(--color-text) !important; border-color:var(--border-color) !important; }
.fab-chip{ background:var(--card-bg) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; box-shadow:0 6px 20px rgba(0,0,0,0.12) !important; }
.segment-btn{ background:var(--subtle); }
.calendar-date-card,.feed-date,.avail-cal-day,.timeline-row,.teammate-row,.shift-summary-block,.btn-contact{ background:var(--subtle); }
.status-dot{ box-shadow:none !important; }
.feed-item{ border-bottom:1px solid var(--border-color); }
.bubble-avatar{ border-color:var(--card-bg) !important; }
/* Dark-Mode-Switch (Profil) */
.tc-switch{ position:relative; display:inline-block; width:46px; height:26px; }
.tc-switch input{ opacity:0; width:0; height:0; }
.tc-slider{ position:absolute; inset:0; background:var(--subtle); border:1px solid var(--border-color); border-radius:26px; transition:.2s; cursor:pointer; }
.tc-slider:before{ content:""; position:absolute; width:20px; height:20px; left:2px; top:2px; background:#fff; border-radius:50%; transition:.2s; }
.tc-switch input:checked + .tc-slider{ background:var(--color-gold); }
.tc-switch input:checked + .tc-slider:before{ transform:translateX(20px); }

:root{ --warn:#b9770f; --warnbg:#fbf0dd; }
body.tc-dark{ --warn:#f0b450; --warnbg:#33270f; }

/* tc-check-cb fix (Aufgaben-Checkliste) */
.tc-check-cb{ border:2px solid var(--color-muted) !important; }
.tc-check-cb.checked{ background:var(--color-green) !important; border-color:var(--color-green) !important; color:#fff !important; }
.tc-task-row:active{ background:var(--subtle) !important; }

.fab-hub i, .fab-hub i.bi { margin-right:0 !important; }
.fab-hub { line-height:1; }
