/* Base HTML + body setup */
html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f3f4f6;
  height: 100%;
  margin: 0;
  padding: 0;
  min-width: 600px;
  overflow: hidden; /* prevent global scrollbars */
}

/* Main layout container */
.page,
.app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 600px;
  background-color: #f3f4f6;
}

/* Top-level content area */
main.flex-grow-1 {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 1rem; /* avoids content under footer */
}

/* Content padding area */
.content-wrapper,
.content {
  padding-top: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 2rem;
}

/* Footer styles (not fixed) */
.footer {
  height: 56px;
  background-color: #ffffff;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.04);
  border-top: none;
}

/* Page title styling */
.page-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

main ol.breadcrumb-container {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  padding-left: 0 !important;
  margin-left: 0;
  list-style: none; /* optional: remove default numbers */
}

/* Breadcrumb item style */
.breadcrumb-item {
  font-size: 1rem;
  color: #bbb;
  font-weight: 500;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

/* Loader overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-spinner {
  width: 80px;
  height: 80px;
}

/* Error UI display */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa; /* gris claro */
  border: 1px dashed #ccc;
  color: #6c757d; /* gris de texto */
}
.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
