/* /Components/Layout/HomeLayout.razor.rz.scp.css */
/* header .navbar 為 position: fixed，不佔文件流空間。
   若不保留高度，各頁最上方（卡片標題、公告、補正提醒）會被 header 蓋住。
   高度由 /js/kcg-header-offset.js 量測後寫入 --kcg-header-height；
   JS 未執行時退回 161px（套版設計值，另見 all.css 的 .bd-sidebar-left）。 */
.page-body[b-bqf9rp2jmm] {
  padding-top: var(--kcg-header-height, 161px);
}
/* /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/KcgHomeHeader.razor.rz.scp.css */
/* 修正：桌面導覽列中文折行（尤其 1200~1399px） */

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

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

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

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

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

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

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

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

/* /Components/Shared/VenueHalfHourSelector.razor.rz.scp.css */
/* 時段選擇器樣式。
   放在 .razor.css（CSS isolation）而非元件內的 <style>：
   元件內的 <style> 會成為 render tree 的一部分，每次換日期都被移除又重新插入，
   若有其他腳本（擴充功能、套版 JS）動到該節點，Blazor 套用 render batch 會失敗並中斷 circuit。 */

.half-hour-slot-selector[b-e3jc3u6zj3] {
    background: white;
    border-radius: 8px;
}

.time-slots-grid[b-e3jc3u6zj3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.time-slot[b-e3jc3u6zj3] {
    position: relative;
    width: 100%;
    padding: 12px 8px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.time-slot:focus-visible[b-e3jc3u6zj3] {
    outline: 3px solid #1a73e8;
    outline-offset: 2px;
}

.slot-time[b-e3jc3u6zj3] {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.slot-icon[b-e3jc3u6zj3] {
    font-size: 12px;
    margin-top: 2px;
}

.slot-status[b-e3jc3u6zj3] {
    font-size: 10px;
    margin-top: 4px;
    line-height: 1.2;
}

.slot-available[b-e3jc3u6zj3] {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    cursor: pointer;
}

.slot-available:active[b-e3jc3u6zj3] {
    box-shadow: inset 0 2px 6px rgba(76, 175, 80, 0.35);
    filter: brightness(0.95);
}

.slot-available:hover[b-e3jc3u6zj3] {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.slot-limit-disabled[b-e3jc3u6zj3] {
    background: #e9ecef;
    color: #868e96;
    border-color: #ced4da;
    opacity: 0.85;
}

.slot-limit-disabled:hover[b-e3jc3u6zj3] {
    background: #e9ecef;
    box-shadow: none;
}

.slot-selected[b-e3jc3u6zj3] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.slot-selected .slot-icon[b-e3jc3u6zj3] {
    color: white;
}

.slot-booked[b-e3jc3u6zj3] {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border-color: #ef5350;
}

.slot-past[b-e3jc3u6zj3] {
    background: #f5f5f5;
    color: #9e9e9e;
    border-color: #e0e0e0;
}

.slot-out-of-hours[b-e3jc3u6zj3] {
    background: #fafafa;
    color: #bdbdbd;
    border-color: #e0e0e0;
}

.slot-closed[b-e3jc3u6zj3] {
    background: #eceff1;
    color: #546e7a;
    border-color: #b0bec5;
}

.bg-purple-light[b-e3jc3u6zj3] {
    background: linear-gradient(135deg, #f3e7ff 0%, #e7d9ff 100%);
    border: 2px solid #667eea;
}

.text-purple[b-e3jc3u6zj3] {
    color: #667eea;
}

.selected-summary[b-e3jc3u6zj3] {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .time-slots-grid[b-e3jc3u6zj3] {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 6px;
    }

    .time-slot[b-e3jc3u6zj3] {
        padding: 10px 4px;
        min-height: 60px;
    }

    .slot-time[b-e3jc3u6zj3] {
        font-size: 11px;
    }

    .slot-status[b-e3jc3u6zj3] {
        font-size: 9px;
    }
}
