@view-transition {
  navigation: auto;
}


body {
    display: block;
    margin: 0px;
}

:root {
  color-scheme: light;
}

.app-header {
  view-transition-name: app-header;
}

.app-page {
  view-transition-name: app-page;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(app-page),
  ::view-transition-new(app-page) {
    animation-duration: 220ms;
    animation-timing-function: ease;
  }

  ::view-transition-old(app-header),
  ::view-transition-new(app-header) {
    animation-duration: 180ms;
    animation-timing-function: ease;
  }
}

main{
      padding: 1em 0;
}

.app-footer {
  display: flex;
  gap: 16px;
  justify-content: center;
  border-top: 1px solid #ddd;
  margin-top: 24px;
  padding: 12px 16px;
}

.app-footer-link {
  color: #505050;
  text-decoration: none;
  font-size: 14px;
}

.app-footer-link:hover {
  text-decoration: underline;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.app-header-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.app-header-title-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.corsivo {
  font-family: "Playwrite IE", serif;
}

.app-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #505050;
  font-size: 14px;
}

.app-header-user-initial {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e7f1ff;
  color: #1f4f8a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-header-user-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-header-button {
  border: 1px solid #b7b7b7;
  border-radius: 6px;
  background: #f3f3f3;
  color: #222;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.app-header-button:hover {
  background: #e8e8e8;
}

.app-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.app-search-input {
  width: min(420px, 55vw);
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  padding: 8px 10px;
}

.app-search-button {
  border: 1px solid #b7b7b7;
  border-radius: 6px;
  background: #f3f3f3;
  color: #222;
  padding: 8px 12px;
  cursor: pointer;
}

.app-search-button:hover {
  background: #e8e8e8;
}

.search-results-summary {
  position: absolute;
  bottom: -6em;
  background: #f0f7ff;
  border: 1px solid #c5d9ed;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 16px 0;
  color: #2c5282;
  font-size: 14px;
}

.search-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e3f2fd;
  color: #2c5282;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-reset-button:hover {
  background: #bbdefb;
  color: #1e3a5f;
}

/* Floating Button */
.floating-button-summary {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: all 0.2s ease;
  z-index: 1000;
}

.floating-button-summary:hover {
  background: #0057b38c;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
  transform: scale(1.1);
}