/* _content/WebApp/Components/AddReferencesModal.razor.rz.scp.css */
.modal-backdrop[b-94r6aetw3i] {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1040;
}

.modal[b-94r6aetw3i] {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
  display: block;   /* forzamos que se vea cuando se renderiza */
}
/* _content/WebApp/Components/ConfirmDialog.razor.rz.scp.css */
/* ConfirmDialog.razor.css - sits alongside ConfirmDialog.razor */

/* make sure the overlay covers the entire viewport and sits on top */
.modal-overlay[b-xqwj2ng95b] {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;           /* ensure it’s above everything */
  pointer-events: auto;    /* allow clicks */
}

/* center the white dialog box */
.modal-dialog[b-xqwj2ng95b] {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 4px;
  max-width: 400px;
  width: 90%;
  pointer-events: auto;    /* allow clicks inside */
}

/* little spacing under the message */
.modal-body[b-xqwj2ng95b] {
  margin-bottom: 1rem;
}

/* right-align the buttons */
.modal-footer[b-xqwj2ng95b] {
  text-align: right;
}
/* _content/WebApp/Components/CoverageBar.razor.rz.scp.css */
.coverage-bar[b-pc7u1jpwpz] {
  margin: 0.5rem 0;
}

.coverage-bar__track[b-pc7u1jpwpz] {
  display: inline-block;
  width: 200px;      /* fixed total width for all bars */
  height: 1rem;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  vertical-align: middle;
}

.coverage-bar__fill[b-pc7u1jpwpz] {
  height: 100%;
  transition: width 0.3s ease;
}

.coverage-bar__label[b-pc7u1jpwpz] {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}
/* _content/WebApp/Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css */

.page[b-fq3qcrodmt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-fq3qcrodmt] {
    flex: 1;
}

.sidebar[b-fq3qcrodmt] {
    /* gradient from brand-primary → brand-secondary */
    background-image: 
      linear-gradient(
        180deg,
        var(--color-primary)   0%,
        var(--color-primary-dark) 70%
      );
}

.top-row[b-fq3qcrodmt] {
    background-color: var(--color-gray);
    justify-content:  flex-end;
    height:           var(--page-header-height);
    display:          flex;
    align-items:      center;
}

    .top-row[b-fq3qcrodmt]  a,
    .top-row[b-fq3qcrodmt]  .btn-link {
        white-space:     nowrap;
        margin-left:     1.5rem;
        text-decoration: none;
    }

    .top-row[b-fq3qcrodmt]  a:hover,
    .top-row[b-fq3qcrodmt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-fq3qcrodmt]  a:first-child {
        overflow:        hidden;
        text-overflow:   ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-fq3qcrodmt] {
        justify-content: space-between;
    }

    .top-row[b-fq3qcrodmt]  a,
    .top-row[b-fq3qcrodmt]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-fq3qcrodmt] {
        flex-direction: row;
    }

    .sidebar[b-fq3qcrodmt] {
        width:      250px;
        height:     100vh;
        position:   sticky;
        top:        0;
    }

    .top-row[b-fq3qcrodmt] {
        position:   sticky;
        top:        0;
        z-index:    1;
    }

    .top-row.auth[b-fq3qcrodmt]  a:first-child {
        flex:       1;
        text-align: right;
        width:      0;
    }

    .top-row[b-fq3qcrodmt],
    article[b-fq3qcrodmt] {
        padding-left:  2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-fq3qcrodmt] {
    color-scheme: light only;
    background:   lightyellow; /* you can swap to var(--color-error) if desired */
    bottom:       0;
    box-shadow:   0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing:   border-box;
    display:      none;
    left:         0;
    padding:      0.6rem 1.25rem 0.7rem 1.25rem;
    position:     fixed;
    width:        100%;
    z-index:      1000;
}

    #blazor-error-ui .dismiss[b-fq3qcrodmt] {
        cursor:   pointer;
        position: absolute;
        right:    0.75rem;
        top:      0.5rem;
    }
    
/* MainLayout.razor.css */

.top-logo[b-fq3qcrodmt] {
  /* constrain height to fit inside the 3.5rem bar */
  height: calc(var(--page-header-height) - 1rem);

  /* preserve aspect ratio */
  width: auto;

  /* margin before the link/button group */
  margin-right: 1.5rem;

  /* vertically center in the flex container */
  align-self: center;
}
/* _content/WebApp/Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu.razor.css */

/* Hamburger icon on mobile */
.navbar-toggler[b-mw927cfqhi] {
  appearance: none;
  cursor: pointer;
  width: 3.5rem;
  height: 2.5rem;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") 
              no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-mw927cfqhi] {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Header bar on mobile inside the menu component */
.top-row[b-mw927cfqhi] {
  min-height: var(--page-header-height);
  background-color: var(--color-primary-dark);
}

/* Brand/logo */
.navbar-brand[b-mw927cfqhi] {
  font-size: 1.1rem;
}

/* Icon base */
.bi[b-mw927cfqhi] {
  display: inline-block;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  top: -1px;
  background-size: cover;
}

/* Specific SVG icons */
.bi-house-door-fill-nav-menu[b-mw927cfqhi] {
  background-image: url("data:image/svg+xml,%3Csvg...%3E");
}
.bi-plus-square-fill-nav-menu[b-mw927cfqhi] {
  background-image: url("data:image/svg+xml,%3Csvg...%3E");
}
.bi-list-nested-nav-menu[b-mw927cfqhi] {
  background-image: url("data:image/svg+xml,%3Csvg...%3E");
}

/* Navigation items */
.nav-item[b-mw927cfqhi] {
  font-size: 0.9rem;
  /* tighten row spacing */
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Slightly more breathing room at top & bottom of the list */
.nav-item:first-of-type[b-mw927cfqhi] {
  padding-top: 0.5rem;
}
.nav-item:last-of-type[b-mw927cfqhi] {
  padding-bottom: 0.5rem;
}

/* Link styling inside each nav-item */
.nav-item[b-mw927cfqhi]  .nav-link {
  color: var(--color-gray);
  background: none;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;

  /* allow text to wrap instead of overflowing */
  white-space: normal;
  overflow-wrap: anywhere;

  /* slim down the horizontal padding */
  padding: 0.25rem 0.5rem;

  /* adjust line-height for tighter rows */
  line-height: 1.3;
  min-height: 2.2rem;
  width: 100%;
}

/* Active page indicator */
.nav-item[b-mw927cfqhi]  a.active {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

/* Hover state */
.nav-item[b-mw927cfqhi]  .nav-link:hover {
  background-color: rgba(0, 99, 175, 0.1);
  color: var(--color-primary-dark);
}

/* Collapsible menu region on mobile */
.nav-scrollable[b-mw927cfqhi] {
  display: none;
}
.navbar-toggler:checked ~ .nav-scrollable[b-mw927cfqhi] {
  display: block;
}

/* Always show sidebar on desktop, enable scrolling if tall */
@media (min-width: 641px) {
  .navbar-toggler[b-mw927cfqhi] {
    display: none;
  }

  .nav-scrollable[b-mw927cfqhi] {
    display: block;
    height: calc(100vh - var(--page-header-height));
    overflow-y: auto;
  }
}
/* paint the container with dark‐primary and give it some rounding */
.config-item[b-mw927cfqhi] {
  background-color: var(--color-primary-dark);
  border-radius: 4px;
  margin: 0.25rem 0;      /* a bit of vertical breathing room */
}

/* force the link text to be white (on‐primary) */
.config-item[b-mw927cfqhi]  .nav-link {
  color: var(--color-on-primary) !important;
}

/* tweak hover to use your primary (lighter) shade */
.config-item[b-mw927cfqhi]  .nav-link:hover {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}
/* _content/WebApp/Components/Pages/Login.razor.rz.scp.css */
/* Make html/body fill screen with no default margins */
:global(html, body)[b-vnj8umcwgr] {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* full-screen, light-secondary-shade background */
.login-page[b-vnj8umcwgr] {
  position: fixed;
  inset: 0;
  background-color: rgba(57, 170, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* constrain the card width */
.login-card[b-vnj8umcwgr] {
  max-width: 360px;
  width: 100%;
}

/* shrink the logo relative to the card */
.logo-img[b-vnj8umcwgr] {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}
