/* Jedinstvena plava navigacija i pojednostavljen ručni unos. */
@keyframes uploadAttentionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 143, 215, .12); transform: translateZ(0) scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(14, 143, 215, .18); transform: translateZ(0) scale(1.025); }
}

#headerUploadButton.needs-upload-attention {
  animation: uploadAttentionPulse 1.45s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  #headerUploadButton.needs-upload-attention { animation: none; }
}

.menu-toggle,
#structuredNavigation > .structured-menu-link,
#structuredNavigation > .structured-menu-group > .structured-menu-parent,
#structuredNavigation > .structured-menu-group > .structured-menu-parent-row .structured-menu-parent {
  color: #fff !important;
  border-color: color-mix(in srgb, var(--accent, #0b8bd6) 82%, #075d91) !important;
  background: linear-gradient(135deg, #159bdc, #0879bd) !important;
  box-shadow: 0 8px 18px rgba(9, 115, 177, .16);
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
#structuredNavigation > .structured-menu-link:hover,
#structuredNavigation > .structured-menu-link:focus-visible,
#structuredNavigation > .structured-menu-group > .structured-menu-parent:hover,
#structuredNavigation > .structured-menu-group > .structured-menu-parent:focus-visible,
#structuredNavigation > .structured-menu-group > .structured-menu-parent-row .structured-menu-parent:hover,
#structuredNavigation > .structured-menu-group > .structured-menu-parent-row .structured-menu-parent:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #087fc6, #086aa5) !important;
}

.structured-menu-parent-row-unified {
  grid-template-columns: minmax(0, 1fr) !important;
}

.structured-times-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#structuredNavigation .structured-submenu .structured-menu-link,
.manual-time-presets button,
.manual-draft-undo,
.manual-time-cancel {
  color: var(--theme-text, #243341) !important;
  border: 1px solid var(--theme-border, #cfdae4) !important;
  background: #edf1f5 !important;
  box-shadow: none !important;
}

#structuredNavigation .structured-submenu .structured-menu-link:hover,
#structuredNavigation .structured-submenu .structured-menu-link:focus-visible,
#structuredNavigation .structured-submenu .structured-menu-link.active,
.manual-time-presets button:hover,
.manual-time-presets button:focus-visible {
  color: #075f94 !important;
  border-color: #8fc6e6 !important;
  background: #e2ebf2 !important;
}

.manual-dialog-simplified .manual-time-heading > div,
.manual-dialog-simplified .manual-draft-section-heading {
  display: none !important;
}

.manual-dialog-simplified .manual-time-heading {
  justify-content: flex-end;
  margin-bottom: 4px;
}

.manual-time-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.manual-time-presets button {
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 10px;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
}

.manual-dialog-activity-panel .sequential-entry {
  align-items: start;
}

.manual-dialog-activity-panel .sequential-entry label:has(.manual-duration-presets) {
  min-width: 0;
}

.transport-planner-simplified > .transport-planner-hero {
  display: none !important;
}

@media (max-width: 700px) {
  .manual-time-presets button { flex: 1 1 auto; }
}
