/* euaa_pwa/css/go-offline.css */

#go-offline-root {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  padding-top: 2rem;
}

/* Button styling */
#go-offline-root button {
  transition: 1s all;
  font-size: 1.25rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 0;
  background: #005ea5;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
}
#go-offline-root button:hover { opacity: 1; }

/* Text & lists */
#go-offline-root li { white-space: nowrap; }
#go-offline-root li span {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 1rem;
}

/* Layout wrappers */
.go-offline-message {}
.go-offline-button-wrap {text-align: center; }
.go-offline-container { width: 100%; max-width: 960px; padding: 0 1rem 2rem; }
.go-offline-message {
  max-width: 960px;
  width: 100%;
  padding: 0 1rem;
  text-align: center;
}

#offline-installed-info { margin-top: 0.75rem; display: none; text-align: center; }
#offline-status-summary { margin-bottom: 1rem; }
#offline-status-summary progress { width: 100%; }

#offline-categories { display: flex; flex-direction: column; gap: 0.75rem; }
#offline-assets-list { list-style: none; padding-left: 0; margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }

h1 {text-align: center}
.go-offline-details { margin: 1rem 0; }
.go-offline-details summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.go-offline-details[open] summary { margin-bottom: 0.5rem; }
