/* _content/ReceitinhApi.LandingPage/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jy1faeoaz3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-jy1faeoaz3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-jy1faeoaz3] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-jy1faeoaz3] {
    color-scheme: light only;
    background: lightyellow;
    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-jy1faeoaz3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/ReceitinhApi.LandingPage/Components/Layout/NavbarGlass.razor.rz.scp.css */
/* ========================================
   NAVBAR - FIXED TOP with Glass Skin
   Desktop = flex row, menu visible
   Mobile = hamburger visible, menu hidden
   ======================================== */

/* ========== HEADER - FIXED POSITION ========== */
.navbar[b-5otfsfr2rp] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
}

/* ========== GLASS CONTAINER (fills navbar) ========== */
.navbar-glass[b-5otfsfr2rp] {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ========== NAVBAR INNER - FLEX ROW (ALWAYS) ========== */
.navbar-inner[b-5otfsfr2rp] {
  display: flex;
  flex-direction: row; /* SEMPRE row, nunca column */
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

/* ========== GLASS WHITE OVERLAY for legibility ========== */
.navbar-glass :global(.GlassContent)[b-5otfsfr2rp] {
  background: rgba(255, 255, 255, 0.7);
}

.dark .navbar-glass :global(.GlassContent)[b-5otfsfr2rp] {
  background: rgba(21, 23, 24, 0.7);
}

/* ========== LOGO (always left) ========== */
.navbar-logo[b-5otfsfr2rp] {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-img[b-5otfsfr2rp] {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* Mask to crop any whitespace/margins in PNG */
  clip-path: inset(5% 5% 5% 5%);
}

.navbar-logo-text[b-5otfsfr2rp] {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1976d2;
}

:global(.dark) .navbar-logo-text[b-5otfsfr2rp] {
  color: #42a5f5;
}

/* ========== DESKTOP MENU - VISIBLE BY DEFAULT ========== */
.navbar-menu[b-5otfsfr2rp] {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.navbar-link[b-5otfsfr2rp] {
  color: #687076;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-link:hover[b-5otfsfr2rp] {
  color: #1976d2;
}

:global(.dark) .navbar-link[b-5otfsfr2rp] {
  color: #9ba1a6;
}

:global(.dark) .navbar-link:hover[b-5otfsfr2rp] {
  color: #42a5f5;
}

.navbar-cta[b-5otfsfr2rp] {
  background-color: #1976d2;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.navbar-cta:hover[b-5otfsfr2rp] {
  background-color: #1565c0;
}

/* ========== MOBILE TOGGLE - HIDDEN BY DEFAULT ========== */
.navbar-toggle[b-5otfsfr2rp] {
  display: none; /* Escondido no desktop */
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #687076;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle:hover[b-5otfsfr2rp] {
  color: #1976d2;
}

:global(.dark) .navbar-toggle[b-5otfsfr2rp] {
  color: #9ba1a6;
}

/* ========== MOBILE OVERRIDE (< 768px) ========== */
@media (max-width: 767px) {
  .navbar-menu[b-5otfsfr2rp] {
    display: none; /* Esconde menu no mobile */
  }

  .navbar-toggle[b-5otfsfr2rp] {
    display: flex; /* Mostra hamburger no mobile */
  }
}

/* ========== MOBILE MENU OVERLAY ========== */
.navbar-overlay[b-5otfsfr2rp] {
  display: none !important; /* Hidden by default on desktop */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* ========== MOBILE MENU SLIDE-IN PANEL ========== */
.navbar-mobile[b-5otfsfr2rp] {
  display: none !important; /* Hidden by default on desktop */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 100vh;
  height: 100dvh;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ========== MOBILE OVERRIDE (< 768px) - Show mobile menu elements ========== */
@media (max-width: 767px) {
  .navbar-overlay[b-5otfsfr2rp] {
    display: block !important;
  }

  .navbar-overlay.open[b-5otfsfr2rp] {
    opacity: 1;
    visibility: visible;
  }

  .navbar-mobile[b-5otfsfr2rp] {
    display: flex !important;
    flex-direction: column;
  }

  .navbar-mobile.open[b-5otfsfr2rp] {
    transform: translateX(0);
  }
}

/* White background with high opacity for readability */
.navbar-mobile :global(.GlassMaterial)[b-5otfsfr2rp] {
  display: none !important; /* Hide glass effect, use solid background instead */
}

.navbar-mobile :global(.GlassContent)[b-5otfsfr2rp] {
  background: rgba(255, 255, 255, 0.97) !important;
  height: 100%;
}

:global(.dark) .navbar-mobile :global(.GlassContent)[b-5otfsfr2rp] {
  background: rgba(30, 30, 30, 0.97) !important;
}

.navbar-mobile-inner[b-5otfsfr2rp] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4rem 2rem 2rem 2rem;
  gap: 0.5rem;
  height: 100%;
  overflow-y: auto;
}

.navbar-mobile-link[b-5otfsfr2rp] {
  display: block;
  width: 100%;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.navbar-mobile-link:hover[b-5otfsfr2rp],
.navbar-mobile-link:active[b-5otfsfr2rp] {
  color: #1976d2;
  padding-left: 8px;
}

:global(.dark) .navbar-mobile-link[b-5otfsfr2rp] {
  color: #f0f0f0;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

:global(.dark) .navbar-mobile-link:hover[b-5otfsfr2rp],
:global(.dark) .navbar-mobile-link:active[b-5otfsfr2rp] {
  color: #42a5f5;
}

.navbar-mobile-cta[b-5otfsfr2rp] {
  display: block;
  width: 100%;
  background-color: #1976d2;
  color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  margin-top: auto;
  margin-bottom: 2rem;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.navbar-mobile-cta:hover[b-5otfsfr2rp],
.navbar-mobile-cta:active[b-5otfsfr2rp] {
  background-color: #1565c0;
  transform: scale(1.02);
}

/* ========== ACCESSIBILITY FALLBACK ========== */
@media (prefers-reduced-transparency: reduce) {
  .navbar .GlassMaterial[b-5otfsfr2rp] {
    display: none;
  }

  .navbar .GlassContent[b-5otfsfr2rp] {
    background: rgba(255, 255, 255, 0.95);
  }

  :global(.dark) .navbar .GlassContent[b-5otfsfr2rp] {
    background: rgba(21, 23, 24, 0.95);
  }
}
/* _content/ReceitinhApi.LandingPage/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nbz4ebjoro] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    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-nbz4ebjoro] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-nbz4ebjoro] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-nbz4ebjoro] {
    font-size: 1.1rem;
}

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

.bi-house-door-fill-nav-menu[b-nbz4ebjoro] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-nbz4ebjoro] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-nbz4ebjoro] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-nbz4ebjoro] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-nbz4ebjoro] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nbz4ebjoro] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nbz4ebjoro]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-nbz4ebjoro]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-nbz4ebjoro]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-nbz4ebjoro] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-nbz4ebjoro] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nbz4ebjoro] {
        display: none;
    }

    .nav-scrollable[b-nbz4ebjoro] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
