/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9q77h8wjrf] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content[b-9q77h8wjrf] {
    flex: 1;
    width: 100%;
    /* 頂部導航已移除，不需要padding-top */
    padding-top: 0;
}

.top-row[b-9q77h8wjrf] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    /* 頂部導航固定在最上面 - 適用於所有螢幕尺寸 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

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

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

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

.content[b-9q77h8wjrf] {
    width: 100%;
    max-width: none;
}

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

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

@media (min-width: 641px) {
    .top-row[b-9q77h8wjrf], article[b-9q77h8wjrf] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

#blazor-error-ui[b-9q77h8wjrf] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -1 !important;
}

    #blazor-error-ui .dismiss[b-9q77h8wjrf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3o1n3ayg2q] {
    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-3o1n3ayg2q] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-3o1n3ayg2q] {
    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-3o1n3ayg2q] {
    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-3o1n3ayg2q] {
    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-3o1n3ayg2q] {
    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-3o1n3ayg2q] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-3o1n3ayg2q]  .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-3o1n3ayg2q]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

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

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

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

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

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/GuessYouNeedPanel.razor.rz.scp.css */
.guess-you-need-panel[b-s68of26vn6] {
    --gyn-accent: #f59e0b;
    --gyn-accent-deep: #d97706;
    --gyn-primary: #0066cc;
    --gyn-glow: rgba(245, 158, 11, 0.45);
    background: linear-gradient(165deg, #fffdf8 0%, #ffffff 55%, #f8fbff 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    padding: 1rem 1rem 0.75rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

.guess-you-need-panel[b-s68of26vn6]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gyn-accent), #fbbf24, var(--gyn-primary), var(--gyn-accent));
    background-size: 200% 100%;
    animation: gyn-border-flow-b-s68of26vn6 4s linear infinite;
}

.gyn-variant-sidebar[b-s68of26vn6] {
    position: sticky;
    top: 96px;
    align-self: flex-start;
}

.gyn-variant-success[b-s68of26vn6] {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-width: 2px;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.18), 0 0 0 4px rgba(245, 158, 11, 0.08);
    animation: gyn-success-pop-b-s68of26vn6 0.55s ease-out;
}

.gyn-header[b-s68of26vn6] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.25);
}

.gyn-icon-wrap[b-s68of26vn6] {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gyn-icon-glow[b-s68of26vn6] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gyn-glow) 0%, transparent 70%);
    animation: gyn-pulse-b-s68of26vn6 2s ease-in-out infinite;
}

.gyn-bulb[b-s68of26vn6] {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    color: var(--gyn-accent-deep);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.65));
    animation: gyn-bulb-wiggle-b-s68of26vn6 3s ease-in-out infinite;
}

.gyn-title[b-s68of26vn6] {
    display: block;
    font-size: 1.15rem;
    color: var(--gyn-accent-deep);
    letter-spacing: 0.02em;
}

.gyn-subtitle[b-s68of26vn6] {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.gyn-cards[b-s68of26vn6] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gyn-card[b-s68of26vn6] {
    position: relative;
    background: #fff;
    border: 1px solid #e8edf3;
    border-left: 4px solid var(--gyn-accent);
    border-radius: 10px;
    padding: 0.85rem 0.9rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gyn-card:hover[b-s68of26vn6] {
    transform: translateY(-3px);
    border-color: rgba(0, 102, 204, 0.35);
    border-left-color: var(--gyn-primary);
    box-shadow: 0 8px 22px rgba(0, 102, 204, 0.14);
}

.gyn-card-top[b-s68of26vn6] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}

.gyn-relevance-badge[b-s68of26vn6] {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gyn-accent-deep), #fbbf24);
    background-size: 200% 200%;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
    animation: gyn-badge-shimmer-b-s68of26vn6 2.8s ease-in-out infinite;
}

.gyn-card-title[b-s68of26vn6] {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.gyn-card-title a[b-s68of26vn6] {
    color: var(--gyn-primary);
}

.gyn-card-title a:hover[b-s68of26vn6] {
    color: #004c99;
}

.gyn-card-blurb[b-s68of26vn6] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gyn-tags[b-s68of26vn6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.45rem;
}

.gyn-tag[b-s68of26vn6] {
    font-size: 0.7rem;
    color: var(--gyn-primary);
    background: #e8f4fd;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.gyn-link[b-s68of26vn6] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gyn-accent-deep);
    text-decoration: none;
}

.gyn-link:hover[b-s68of26vn6] {
    color: var(--gyn-primary);
    text-decoration: underline;
}

@keyframes gyn-pulse-b-s68of26vn6 {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.25); opacity: 1; }
}

@keyframes gyn-bulb-wiggle-b-s68of26vn6 {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-6deg); }
    75% { transform: rotate(6deg); }
}

@keyframes gyn-badge-shimmer-b-s68of26vn6 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gyn-border-flow-b-s68of26vn6 {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes gyn-success-pop-b-s68of26vn6 {
    0% { opacity: 0; transform: translateY(12px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .gyn-bulb[b-s68of26vn6],
    .gyn-icon-glow[b-s68of26vn6],
    .gyn-relevance-badge[b-s68of26vn6],
    .guess-you-need-panel[b-s68of26vn6]::before,
    .gyn-variant-success[b-s68of26vn6] {
        animation: none !important;
    }
}
/* /Components/Shared/MiaoliHomeHeader.razor.rz.scp.css */
/* 修正：桌面導覽列中文折行（尤其 1200~1399px） */

.system-test-warning[b-q49zugkhr3] {
  color: #c00;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
  text-align: left;
}

@media (min-width: 1200px) {
  /* 避免「網站導覽 / 進度查詢 / 場地租借 / 高雄數位市民 / 常見問題」被拆字折行 */
  .header-top .navbar-nav .nav-link[b-q49zugkhr3] {
    white-space: nowrap;
  }

  /* 避免字級控制按鈕被折行 */
  .header-top .font-level[b-q49zugkhr3] {
    white-space: nowrap;
  }

  /* 右上登入/會員區固定在右側，避免被主選單擠壓變形 */
  .header-top .navbar-collapse[b-q49zugkhr3] {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .header-top .navbar-collapse > .navbar-nav:first-child[b-q49zugkhr3] {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-top .navbar-collapse > .navbar-nav:last-child[b-q49zugkhr3] {
    margin-left: auto;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
  }

  .header-top .navbar-collapse > .navbar-nav:last-child .btn[b-q49zugkhr3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* 讓兩組 ul 不夠寬時「整組換行」，不要拆字 */
  .header-top .navbar-collapse[b-q49zugkhr3] {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  /* 稍微縮小 logo，釋放空間 */
  .header-top .logo[b-q49zugkhr3] {
    width: 280px;
  }

  /* 縮小導覽文字與左右 padding，避免擠到拆字 */
  .header-top .navbar-nav .nav-link[b-q49zugkhr3] {
    font-size: 0.95em;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .header-top .navbar-nav .btn[b-q49zugkhr3] {
    font-size: 0.95em;
  }
}

@media (max-width: 1199.98px) {
  .system-test-warning[b-q49zugkhr3] {
    font-size: 1.25rem;
  }
}

