/* ===================================
   REBAG 專案自訂樣式
   ================================== */

/* Google Fonts 引用 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Roboto:wght@400;500;700&family=Montserrat:wght@400;600&display=swap');

/* ===================================
   無障礙：跳到主內容連結
   ================================== */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 1rem 2rem;
    background-color: var(--brand-primary, #0D816E);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 0 4px 4px;
}

.skip-to-main:focus {
    left: 1rem;  /* 顯示在左上角 */
    top: 1rem;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ===================================
   無障礙：導盲磚說明區塊
   ================================== */
/* 導盲磚樣式已移除 - 改用 Bootstrap 5 的 visually-hidden class */

/* ===================================
   CSS 變數定義 (Design System)
   ================================== */
:root {
    /* ========== 品牌色系 ========== */
    --brand-primary: #0D816E;       /* 深綠色 - 主要按鈕、文字強調 */
    --brand-dark: #0d6b5c;          /* 品牌深色 - Hover 狀態 */
    --brand-light: #199B86;         /* 品牌亮色 - Hover 狀態 */
    --icon-lightgreen: #63BFB0;     /* 青綠色 - 裝飾圖標 */
    
    /* ========== 背景與表面 ========== */
    --bg-primary: #F9F8F6;          /* 頁面主背景 - 溫暖米色 */
    --bg-card: #FFFFFF;             /* 卡片背景 - 純白 */
    --bg-secondary: #E7E4D9;        /* 次要背景 - 淺棕米色 */
    
    /* ========== 文字顏色 ========== */
    --text-primary: #717071;        /* 主要文字 - 深灰 */
    --text-secondary: #78716C;      /* 次要文字 - 灰棕色 */
    
    /* ========== 邊框 ========== */
    --border-color: #C7C6C5;        /* 淺灰邊框 */
    
    /* ========== Badge 狀態色 ========== */
    --badge-available: #059E9B;     /* 藍綠色 - 可提供 */
    --badge-shipping: #05599E;      /* 藍色 - 運送中 */
    --badge-matching: #C64E04;      /* 橘色 - 媒合中 */
    --badge-completed: #059E29;     /* 綠色 - 完成媒合 */
    --badge-review: #1E5A9E;        /* 深藍色 - 審核中 */
    --badge-waiting: #E8A500;       /* 黃色 - 等待中 */
    --badge-recruiting: #059E29;    /* 綠色 - 徵求中 */
    
    /* ========== 字體家族 ========== */
    --font-primary: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --font-latin: "Roboto", "Arial", sans-serif;
    --font-mono: "Courier New", monospace;
    
    /* ========== 字級系統 ========== */
    --font-size-84: 5.25rem;     
    --font-size-72: 4.5rem;    
    --font-size-70: 4.375rem;     
    --font-size-56: 3.5rem;     
    --font-size-48: 3rem;  
    --font-size-42: 2.625rem;    
    --font-size-40: 2.5rem; 
    --font-size-36: 2.25rem;    
    --font-size-32: 2rem;         
    --font-size-30: 1.875rem;
    --font-size-24: 1.5rem;       
    --font-size-22: 1.375rem;     
    --font-size-20: 1.25rem;    
    --font-size-18: 1.125rem;     
    --font-size-16: 1rem;         
    --font-size-15: 0.9375rem;    
    --font-size-14: 0.875rem;     
    --font-size-13: 0.8125rem;    
    --font-size-12: 0.75rem;      
}

/* ===================================
   基礎樣式設定
   ================================== */
body {
    font-family: var(--font-primary);
    font-size: var(--font-size-16);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}
h2.section-title {
    font-size: var(--font-size-48);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

/* 在此撰寫專案特定的 CSS 樣式 */

/* ===================================
   Header 導覽列
   ================================== */
.site-header {
    background-color: var(--bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #63BFB0;
}

.navbar {
    padding: 7px 0 12px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: 0;
}

.navbar-brand a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.brand-text {
    font-size: var(--font-size-13);
    color: #717071;
    margin-bottom: 0;
    display: block;
    font-weight: 400;
    line-height: 1.2;
}

.navbar-brand .logo {
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-primary);
}

/* 社群連結 */
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.social-links .nav-link {
    padding: 4px !important;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    transition: opacity 0.3s;
}

.social-links .nav-link:hover .social-icon {
    opacity: 0.7;
}


.social-links a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-2px);
}


/* 手機版樣式 */
@media (max-width: 991.98px) {
    .social-links {
        flex-direction: row;
        justify-content: center;
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

/* ===================================
   KV 主視覺區
   ================================== */
.kv-section {
    padding: 0;
    align-items: center;
    position: relative;
}
.kv-section img {
   width: 100%;
}
.kv-content {
    left: 6%;
    top: 35%;
    position: absolute;
}

.kv-title {
    margin-bottom: .5rem;
}



.kv-subtitle {
    display: block;
    font-size: var(--font-size-84);
    font-weight: 500;
    color: var( --brand-primary );
    line-height: 1.125;
    margin-top: 1rem;
}

.kv-desc {
    font-size: var(--font-size-30);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}



/* ===================================
   按鈕樣式
   ================================== */
.btn-primary,
.btn-cta {
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border: none;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: var(--font-size-18);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover,
.btn-cta:hover {
    background-color: var(--brand-light);
    color: var(--bg-card);
    box-shadow: 0 2px 8px rgba(13, 129, 110, 0.3);
    transform: translateY(-2px);
}

.btn-primary:focus,
.btn-cta:focus,
.btn-action:focus,
:not(.btn-check)+.btn:active,
.btn-action:focus-visible,
.btn-action.btn:first-child:active
 {
   color: #ffffff;
    background-color: var(--brand-dark);
}



.btn-sm {
    padding: 6px 16px;
    font-size: var(--font-size-14);
}

.btn-detail {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    border-radius: 24px;
    transition: all 0.3s;
}

.btn-detail:hover {
    background-color: rgba(13, 129, 110, 0.1);
    color: var(--brand-primary);
}

/* ===================================
   統計儀表板區
   ================================== */

.stats-section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}


.stats-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3px;
}


.stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-label {
    font-size: var(--font-size-18);
    color: var(--text-primary);
    font-weight: 500;
}

.stats-change {
    font-size: var(--font-size-14);
    font-family: "Montserrat", "Noto Sans TC", sans-serif;
    color: #5A5A5A;
    background: #F4F4F4;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 4px;
}
.stats-change-up {
    color: #0D816E;
    background: #E7F8F5;
}
.stats-change-down {
   color: #D32F2F;
   background: #FBF1F2;
}

.stats-number {
    font-size: var(--font-size-40);
    font-weight: 600;
    color: #373831;
    line-height: 1.2;
    margin: 0;
    font-family: "Montserrat", "Noto Sans TC", sans-serif;
}

.stats-number .unit {
    font-size: 0.6em;
    font-weight: 500;
    margin-left: 0.25rem;
    color: var(--text-secondary);
}

.stats-desc {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 400;
}

.stats-date {
    margin-top: 1rem;
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 400;
    font-family: "Montserrat", "Noto Sans TC", sans-serif;
    margin-right: 5px;
}

/* ===================================
   地圖區塊
   ================================== */
.map-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1rem;
}
.map-header h2.section-title {
   margin-bottom: 1rem;
}
.map-title-wrapper {
    flex: 1;
}

.section-subtitle {
    font-size: var(--font-size-32);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 1.5rem;
}

.map-btn {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem 1rem;
    font-weight: 400;
    font-size: var(--font-size-18);
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 44px;
}



.map-btn:hover,
.map-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-card);
    border-color: var(--text-primary);
}



.map-container {
    position: relative;
    z-index: 1;
    isolation: isolate;
    border-radius: 20px;
    overflow: hidden;
    border: 9px solid rgba(255,255,255,.4);
}

.map-current-location-btn,
.map-location-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 401;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-current-location-btn:hover,
.map-location-btn:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(13, 129, 110, 0.3);
    transform: translateY(-2px);
}

.map-current-location-btn:hover i,
.map-location-btn:hover i {
    color: #ffffff;
}

.map-current-location-btn:focus,
.map-location-btn:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.map-current-location-btn:active,
.map-location-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.map-current-location-btn i,
.map-location-btn i {
    font-size: var(--font-size-20);
    color: var(--brand-primary);
    transition: color 0.3s ease;
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.map-container .leaflet-container {
    background: #e9e4d8;
    font-family: inherit;
}

.map-container .leaflet-container img,
.map-container .leaflet-tile,
.map-container .leaflet-marker-icon,
.map-container .leaflet-marker-shadow {
    width: auto;
    height: auto;
    max-width: none;
}

.map-container .leaflet-control-zoom a {
    color: var(--text-primary);
}

.rebag-leaflet-marker-icon {
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18));
}

.rebag-leaflet-popup-shell .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 36, 24, 0.18);
}

.rebag-leaflet-popup-shell .leaflet-popup-content {
    margin: 0;
}

.rebag-leaflet-popup-shell .leaflet-popup-tip {
    background: #f8f5ec;
}

.rebag-leaflet-popup {
    min-width: 220px;
    max-width: 280px;
    background: #f8f5ec;
}

.rebag-leaflet-popup__title {
    padding: 0.8rem 1rem;
    background: #78716c;
    color: #fff;
    font-size: var(--font-size-16);
    line-height: 1.2;
}

.rebag-leaflet-popup__body {
    padding: 0.8rem 1rem 1rem;
}

.map-detail-modal-content {
    border: 0;
    border-radius: 24px;
}

.map-detail-content {
    display: grid;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: var(--font-size-18);
    line-height: 1.75;
}

.map-detail-content > div {
    margin-top: 0 !important;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.map-detail-content > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.map-marker {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}

.map-marker:hover {
    transform: scale(1.1);
}

.map-marker img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


.map-legend {
    font-size: var(--font-size-18 );
    color: var(--text-secondary);
    text-align: right;
    padding-right: 2px;
}

/* Bootstrap Popover 客製化樣式 */
.popover.map-popover {
    max-width: 320px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.popover.map-popover .popover-header {
    background-color:#78716C;
    color: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px 11px 0 0;
    padding: 0.75rem 1rem;
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 1;
}

.popover.map-popover .popover-body {
    background-color: rgba(255, 255, 255, 0.98);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: var(--font-size-14);
    line-height: 1.5;
    border-radius: 12px;
}

.popover.map-popover .popover-arrow::before {
    border-top-color: var(--border-color);
}

.popover.map-popover.bs-popover-end .popover-arrow::before {
    border-right-color: var(--border-color);
}

.popover.map-popover.bs-popover-bottom .popover-arrow::before {
    border-bottom-color: var(--border-color);
}

.popover.map-popover.bs-popover-start .popover-arrow::before {
    border-left-color: var(--border-color);
}

.popover.map-popover .popover-arrow::after {
    border-top-color: var(--bg-primary);
}

.popover.map-popover.bs-popover-bottom .popover-arrow::after {
    border-bottom-color: rgba(255, 255, 255, 0.98);
}

/* ===================================
   供需列表區
   ================================== */
.list-section {
    position: relative;
    z-index: 2;
    padding: 5rem 0;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 2rem;
    border-bottom: 1px solid rgba(0,0,0,.2);
}

.list-tabs {
    border-bottom: 2px solid transparent;
    flex: 0 0 auto;
}

.list-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 16px;
}
.list-tabs .nav-item {
   margin-right: 5px;
}
.list-tabs .nav-link {
    font-size: var(--font-size-24);
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 400;
    padding: 1rem 2.5rem;
    transition: all 0.3s;
}

.list-tabs .nav-link:hover {
    color: var(--brand-primary);
    border-bottom-color: transparent;
}

.nav-tabs.list-tabs .nav-link.active {
    color: var(--brand-primary);
    border-color: #EEECE4;
    background-color: #EEECE4;
}


.btn-action {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border: none;
    border-radius: 4px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-action p {
   margin-bottom: 0;
   font-size: var(--font-size-18);
   line-height: 1.4;
}
.btn-action span {
   display: block;
   font-size: var(--font-size-15);
}

.btn-action:hover {
    background-color: var(--brand-light);
    color: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 129, 110, 0.3);
    text-decoration: none;
}


.list-content {
    margin-top: 0;
}

table.table.dataTable>:not(caption)>*>* {
   background: inherit;
}
.list-table thead {
    background-color: #717071;
    color: #ffffff;
    font-size: var(--font-size-18);
}

.list-table thead th {
    font-weight: 500;
    padding: 1rem;
    border: none;
    white-space: nowrap;
}
.list-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    /* transition: background-color 0.15s; */
}

/* .list-table tbody tr:hover {
    background-color: var(--bg-primary);
} */

.list-table tbody tr:nth-child(even) {
    background-color: var(--bg-primary);
}

/* .list-table tbody tr:nth-child(even):hover {
    background-color: var(--bg-secondary);
} */

.list-table tbody td {
    padding: 14px 1rem;
    font-size: var(--font-size-18);
    color: var(--text-primary);
}
table.dataTable thead tr>.dtfc-fixed-start,
table.dataTable thead tr>.dtfc-fixed-end,
table.dataTable tfoot tr>.dtfc-fixed-start,
table.dataTable tfoot tr>.dtfc-fixed-end {
    background: inherit;
}

.dtfc-fixed-left {
    border-right: 0 !important;
}

table.dataTable tbody tr>.dtfc-fixed-start,
table.dataTable tbody tr>.dtfc-fixed-end {
    background-color: #eeedeb;
}

table.dataTable tbody tr:nth-child(even)>.dtfc-fixed-start,
table.dataTable tbody tr:nth-child(even)>.dtfc-fixed-end {
    background-color: var(--bg-primary);
}

/* 地區、供給類型、需求類型欄位強制不斷行 */
.list-table tbody td:nth-child(2),
.list-table tbody td:nth-child(3) {
    white-space: nowrap;
}

.list-table tbody td .badge {
   font-size: var(--font-size-18);
   font-weight: 400;
}

/* ===================================
   DataTables FixedColumns 樣式
   ================================== */
.dtfc-fixed-left table.list-table thead th,
.dtfc-fixed-right table.list-table thead th {
    background-color: #717071;
    color: #ffffff;
    font-size: var(--font-size-18);
    font-weight: 500;
    padding: 1rem;
    border: none;
    white-space: nowrap;
}

.dtfc-fixed-left table.list-table tbody td,
.dtfc-fixed-right table.list-table tbody td {
    padding: 14px 1rem;
    font-size: var(--font-size-18);
    color: var(--text-primary);
    background-color: #ffffff;
}

.dtfc-fixed-left table.list-table tbody td:nth-child(2),
.dtfc-fixed-right table.list-table tbody td:nth-child(2) {
    white-space: nowrap;
}

.dtfc-fixed-left table.list-table tbody tr:nth-child(even) td,
.dtfc-fixed-right table.list-table tbody tr:nth-child(even) td {
    background-color: var(--bg-primary);
}

.dtfc-fixed-left table.list-table tbody tr:hover td,
.dtfc-fixed-right table.list-table tbody tr:hover td {
    background-color: var(--bg-primary);
}

.dtfc-fixed-left table.list-table tbody tr:nth-child(even):hover td,
.dtfc-fixed-right table.list-table tbody tr:nth-child(even):hover td {
    background-color: var(--bg-secondary);
}

.dtfc-fixed-left,
.dtfc-fixed-right {
    box-shadow: none !important;
}

.dtfc-fixed-left {
    border-right: 1px solid var(--border-color);
}

.dtfc-fixed-right {
    border-left: 1px solid var(--border-color);
}

.form-select, .form-control {
   background-color: transparent;
}


.page-link {
   line-height: 1;
   padding: 0.375rem 0.75rem 0.5rem;
   color: #717071;
   background: transparent;
}
.active>.page-link, .page-link.active {
    background-color: #717071;
}
.disabled>.page-link, .page-link.disabled {
    border-color: var(--bs-pagination-disabled-border-color);
}

/* Badge 狀態樣式 */
.badge {
    display: inline-block;
    padding: 6px 1rem;
    border-radius: 24px;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--bg-card);
    text-align: center;
    min-width: 80px;
}

.badge-available {
    background-color: var(--badge-available);
}

.badge-shipping {
    background-color: var(--badge-shipping);
}

.badge-matching {
    background-color: var(--badge-matching);
}

.badge-completed {
    background-color: var(--badge-completed);
}

.badge-review {
    background-color: var(--badge-review);
}

.badge-waiting {
    background-color: var(--badge-waiting);
}

.badge-recruiting {
    background-color: var(--badge-recruiting);
}

/* 我要捐助按鈕樣式 */
.btn-donate {
    background-color: #5A4A42;
    color: var(--bg-card);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-16);
    font-weight: 400;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-donate:hover {
    background-color: #3D322C;
    color: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(90, 74, 66, 0.3);
}

.btn-donate:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(90, 74, 66, 0.2);
}

/* DataTables 客製化樣式 */
.dataTables_wrapper {
    padding: 1.5rem 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1.5rem;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    margin: 0 0.5rem;
    color: var(--text-primary);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    margin-left: 0.5rem;
    color: var(--text-primary);
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(13, 129, 110, 0.1);
}

.dataTables_wrapper .dataTables_info {
    padding-top: 1.5rem;
    color: var(--text-secondary);
    font-size: var(--font-size-14);
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 1.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--brand-primary);
    transition: all 0.3s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border-color: var(--brand-primary);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border-color: var(--brand-primary);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* DataTables 排序箭頭 */
table.dataTable thead th {
    position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    opacity: 0.9;
    color: var(--bg-card);
}

table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before {
    opacity: 1;
    color: var(--bg-card);
}
table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before, 
table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before, 
table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before, 
table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after, 
table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after, 
table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after, 
table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after {
   font-weight: 900;
}

/* ===================================
   Modal 表單樣式
   ================================== */
.modal-content {
    border-radius: 40px;
    border: none;
}

.modal {
    z-index: 2000;
}

.modal-backdrop {
    z-index: 1990;
}

.modal-header {
    padding: 2.5rem 2.5rem 1rem;
}

.modal-title {
    font-size: var(--font-size-24);
    font-weight: 500;
    color: var(--text-primary);
}

.modal-body {
    padding: 1rem 2.5rem 2rem;
}

.modal-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    justify-content: center;
    gap: 1rem;
}

/* 同意條款框 */
.agreement-box {
    background-color: var(--bg-primary);
    border-radius: 10px;
    padding: 1.25rem;
}

.agreement-box .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.agreement-box .form-check-label {
    font-size: var(--font-size-16);
    color: var(--text-primary);
    line-height: 1.5;
    padding-top: 0;
}

.agreement-box .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    margin-left: 0;
    border-radius: 0.25rem;
    border: 2px solid #D9D9D9;
    background-color: transparent;
    flex-shrink: 0;
}

.agreement-box .form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* 表單區塊標題 */
.form-section-title {
    font-size: var(--font-size-20);
    font-weight: 500;
    color: var(--brand-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-secondary);
}

/* 表單樣式覆寫 */
.modal-body .form-label {
    font-size: var(--font-size-14);
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.modal-body .form-control,
.modal-body .form-select {
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    font-size: var(--font-size-15);
    padding: 0.625rem 0.75rem;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(13, 129, 110, 0.1);
}

.modal-body .form-check {
    padding-left: 0;
}

.modal-body .form-check-input {
    margin-right: 0.5rem;
}

.modal-body .form-check-label {
    font-size: var(--font-size-15);
    color: var(--text-primary);
}

/* 點位說明動態列表 */
.location-item .input-group-text {
    background-color: var(--bg-secondary);
    border: 1px solid #D9D9D9;
    color: var(--text-primary);
    min-width: 50px;
    justify-content: center;
    font-weight: 500;
}

.location-item .remove-location-btn {
    border-color: #D9D9D9;
    color: #D9D9D9;
    padding: 0.625rem 1rem;
}

.location-item .remove-location-btn:hover {
    background-color: #A2A2A2;
    border-color: #A2A2A2;
    color: #fff;
}

.location-item .remove-location-btn i {
    font-size: 16px;
}

#addLocationBtn {
    font-size: var(--font-size-14);
    padding: 0.375rem 0.75rem;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--bg-card);
}

#addLocationBtn:hover {
    background-color: #0A6B5C;
    border-color: #0A6B5C;
}

/* Modal 按鈕 */
.modal-footer .btn {
    min-width: 175px;
    padding: 1rem 3.25rem;
    font-size: var(--font-size-18);
    font-weight: 500;
    border-radius: 4px;
}

.modal-footer .btn-secondary {
    background-color: #A2A2A2;
    border: none;
    color: var(--bg-card);
}

.modal-footer .btn-secondary:hover {
    background-color: #8A8A8A;
}

.modal-footer .btn-primary {
    background-color: var(--brand-primary);
    border: none;
}

.modal-footer .btn-primary:hover {
    background-color: var(--brand-light);
}

/* ===================================
   按鈕群組樣式客製化（袋子類型選擇）
   ================================== */
/* 確保按鈕群組高度與其他輸入框一致 */
.btn-group .btn {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-15);
    padding: 0.375rem 0.75rem;
    border-color: #D9D9D9;
}

/* 按鈕圓角設定（與 input 一致） */
.btn-group .btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* 未選中狀態 */
.btn-group .btn-outline-primary {
    color: var(--text-primary);
    background-color: var(--bg-card);
    border-color: #D9D9D9;
}

.btn-group .btn-outline-primary:hover {
    color: var(--bg-card);
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* 選中狀態 */
.btn-group .btn-check:checked + .btn-outline-primary {
    color: var(--bg-card);
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* 焦點狀態 */
.btn-group .btn-check:focus + .btn-outline-primary,
.btn-group .btn-outline-primary:focus {
    box-shadow: 0 0 0 3px rgba(13, 129, 110, 0.1);
}

/* ===================================
   媒合流程區
   ================================== */
.process-section {
    padding: 4rem 0;
    background-color: var(--bg-primary);
    background-image: url('../images/icon-recycle.svg');
    background-size: auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}
.process-section h2.section-title {
   margin-bottom: 1rem;
}

.section-desc {
    font-size: var(--font-size-20);
    color: var(--text-secondary);
    margin-bottom: 6.5rem;
}

.process-card {
    background-color: transparent;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px) !important;
}

/* 第二個卡片特殊樣式 */
.process-card-featured {
    transform: translateY(-20px);
    margin-top: -3.5rem;
}

.process-card-featured:hover {
    transform: translateY(-26px) !important;
}

.process-card-featured .process-icon {
    width: 180px;
    height: 180px;
}

.process-card-featured .process-icon img {
    width: 90px;
    height: 90px;
}

.process-number {
    position: absolute;
    top: -1.8rem;
    left: -1.8rem;
    font-family: var(--font-latin);
    font-size: 4rem;
    font-weight: 500;
    color: var(--brand-primary);
    line-height: 1;
}

.process-icon {
    margin: 2rem auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background-color: #E7E4D9;
    border-radius: 40px;
    position: relative;
}



.process-title {
    font-size: var(--font-size-42);
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.process-desc {
    font-size: var(--font-size-24);
    color: #717071;
    line-height: 1.35;
    font-weight: 400;

}

/* ===================================
   回到頂部按鈕
   ================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: var(--bg-card);
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn:hover {
    background-color: var(--brand-light);
    box-shadow: 0 6px 20px rgba(13, 129, 110, 0.4);
    transform: translateY(-3px);
}

.scroll-top-btn:focus,
.scroll-top-btn:focus-visible {
    background-color: var(--brand-dark);
    outline: none;
    border: 2px solid #63BFB0;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   Footer
   ================================== */
.site-footer {
    background-color: var(--text-primary);
    color: var(--bg-card);
}

/* Footer 主要內容區 */
.footer-main {
    background-image: url('../images/footbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7rem 0 6rem;
    position: relative;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: var(--font-size-48);
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.footer-content {
    display: flex;
    gap: 2rem;
    max-width: 900px;
}

.footer-border {
    width: 4px;
    background: #63BFB0;
    flex-shrink: 0;
    border-radius: 2px;
}

.footer-text {
    flex: 1;
}

.footer-text p {
   max-width: 540px;
    font-size: var(--font-size-22);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

.footer-text p:last-child {
    margin-bottom: 0;
}

/* Footer 底部資訊欄 */
.footer-bottom {
    background-color: #40424A;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid #ffffff;
}
.footer-bottom2 {
    background-color: #40424A;
    padding: 1rem 0;
    border-top: 1px solid #78716C;
}
/* 上層：Logo + 聯絡資訊 + 統計 */
.footer-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-logo-section {
    flex: 0 0 auto;
}

.footer-logo {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: var(--font-size-12);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    max-width: 200px;
}

/* 中間聯絡資訊區 */
.footer-contact {
    flex: 1;
    text-align: left;
}

.footer-address,
.footer-phone,
.footer-copyright {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.7);
    margin: 2px 0;
    line-height: 1.5;
}

.footer-copyright {
    margin-top: 0.5rem;
}

/* 右側統計資訊 */
.footer-stats {
    text-align: right;
    flex: 0 0 auto;
}

.footer-visitors {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.visitor-count {
    font-size: var(--font-size-22);
    font-weight: 500;
    color: var(--bg-card);
    display: block;
}

/* 下層：連結列表 + 更新日期 */
.footer-bottom-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex: 1;
}

.footer-links a {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 0 0.75rem;
    position: relative;
}

.footer-links a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-update {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
    white-space: nowrap;
}
/* 重要資訊 */
.rebug-important-info {
    background: #f9f8f6;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffffff;
}


/* 重要資訊圖示 - 圓形背景 */
.icon-circle-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #63BFB0;
    color: #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    font-size: var(--font-size-20);
    position: absolute;
    left: 0;
    top: -3px;
}
.rebug-important-info-text {
    position: relative;
    padding-left: 40px;
    line-height: 1.5;
}

/* ===================================
   響應式設計
   ================================== */

@media (max-width: 1280px) {

    .kv-content {
        width: 55%;
        max-width: 600px;
    }
    
    .kv-subtitle {
        font-size: var(--font-size-56);
        line-height: 1.15;
    }
    
    .kv-desc, .process-desc {
        font-size: var(--font-size-20);
    }
    
    .btn-cta {
        padding: 0.9375rem 1.875rem;
    }
    
    .stats-number {
        font-size: var(--font-size-32);
    }
    
    .stats-number .unit {
        font-size: 0.625em;
    }


    
    .section-title-large {
        font-size: 4rem;
    }
}
@media (max-width: 1024px) {
   .kv-content .kv-title {
      font-size: 80%;
   }
   .kv-desc {
      margin-bottom: 1rem;
   }
   .footer-main .container{
      transform: scale(0.95);
   }

}
@media (max-width: 991px) {
   .navbar-collapse {
      margin-top: 20px;
   }
   h2.section-title {
      font-size: var(--font-size-40);
   }
   .container {
           max-width: calc(100vw - 60px);
           padding: 30px;
   }
   .list-table tbody td, .list-table tbody td .badge {
    font-size: var(--font-size-16);
   }
   .list-tabs .nav-link {
      font-size: var(--font-size-20);
   }

       .stats-section,
    .map-section,
    .list-section,
    .process-section {
        padding: 3.5rem 0;
    }
    
}

@media (max-width: 768px) {
    .kv-content {
        left: 4%;
        top: 15%;
        max-width: unset;
        width: unset;
    }
    
    .kv-subtitle {
        font-size: var(--font-size-70);
        line-height: 1.125;
    }
    
    .kv-desc {
        font-size: var(--font-size-24);
        margin-bottom: 0.5rem;
    }
    
    .btn-cta {
       margin-top: 1rem;
    }
    

        .container-xl, .container{
            padding-left: 24px;
            padding-right: 24px;
      margin: 0;
      max-width: 100%;
    }
    header .container {
            padding: 0 24px;
    }
    .stats-section, .map-section, .list-section, .process-section {
        padding: 1.5rem 0;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    } 

    .section-title-large {
        font-size: 3rem;
    }
    
    /* 地圖區塊響應式 */
    .map-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .map-title-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .map-title-wrapper img {
      max-width: 200px;
    }
    .map-title-wrapper img + h3 {
         margin-top: -1rem;
     }
    .map-controls {
        width: 100%;
        flex-wrap: wrap;
        padding-top: 0;
        padding-bottom: 1rem;
        justify-content: center;
    }
    
    .map-btn {
        flex: 1;
    }
    
    .map-legend {
        text-align: center;
        padding-right: 0;
        font-size: var(--font-size-16);
    }
    
    .list-header {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 1rem;
    }
    
    .list-tabs {
        width: 100%;
    }
    
    .list-actions {
        width: 100%;
        justify-content: center;
    }

    .section-desc {
      margin-bottom: 5rem;
    }
    .process-icon {
    transform: scale(0.8);
   }
   .process-title {
      font-size: var(--font-size-32);
      margin-top: -1.5rem;
   }
   .process-card {
      padding: 1rem 0;
   }
   .process-section {
      background-size: contain;
   }
   .list-table tbody td,
   .list-table thead th {
    padding: 10px;
    font-size: var(--font-size-16);
}
    .kv-desc, .process-desc {
        font-size: var(--font-size-18);
    }
    .footer-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        max-width: 100%;
    }
    
    .footer-bottom-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    

    
    .footer-subtitle {
        max-width: 100%;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-links a {
        padding: 0 0.5rem;
    }
    

}

    @media (max-width: 506px) {
        .map-controls {
            gap: 0.5rem;
        }

        .map-btn:first-child {
            width: 100%;
            flex: 0 0 100%;
        }

        .map-btn:not(:first-child) {
            flex: 1;
        }
    }

    @media (max-width: 480px) {
        .kv-subtitle {
            font-size: var(--font-size-48);
            line-height: 1.125;
            margin-top: 0.25rem;
        }

        .list-table tbody td,
        .list-table thead th {
            font-size: var(--font-size-15);
            padding: 8px;
        }
    }

@media (max-width: 767px) {
   .process-card-featured {
    transform: translateY(0) scale(0);
    margin-top: 0;
   }
   .section-desc {
        margin-bottom: 2rem;
    }
    .process-card {
        padding: 0;
    }
    .process-title {
        margin-bottom: 8px;
    }
    .footer-content {
      gap: 1.5rem;
   }
    .footer-text p {
    max-width: 75%;
    font-size: var(--font-size-18);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
}

@media (max-width: 575px) {
    .kv-content {
        width: 92%;
        max-width: none;
    }
    
    .kv-subtitle {
        font-size: var(--font-size-48);
        line-height: 1.25;
    }
    
    .kv-desc {
        font-size: var(--font-size-16);
        margin-bottom: 1rem;
    }
    
    
    .list-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
        font-size: var(--font-size-14);
        padding: 0.625rem 1rem;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-text p {
      max-width: 100%;
    }
    
    .footer-border {
        width: 100%;
        height: 2px;
    }
    .btn-action span {
      display: inline;
      font-size: var(--font-size-18);
    }
    .stats-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
   
}

@media (max-width: 430px) {

    .kv-subtitle {
        font-size: var(--font-size-40);
    }

    .map-container {
      height: 380px;
    }
    .list-tabs .nav-item {
      margin-right: 0;
      width: 50%;
    }
    .list-tabs .nav-link {
      padding: 1rem;
      width: 100%;
    }
}

@media (max-width: 375px) {
    /* 整體容器調整 */
    .container-xl, .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .kv-title {
      margin-bottom: 0;    
   }
    /* KV 主視覺區 */
    .kv-subtitle {
        font-size: var(--font-size-36);
        line-height: 1.15;
        margin-top: 0.75rem;
    }
    
    .kv-desc {
        font-size: var(--font-size-13);
        margin-bottom: 0.75rem;
    }
    
    .btn-cta {
        padding: 0.625rem 1.25rem;
        font-size: var(--font-size-16);
    }
    
    /* 區塊標題 */
    h2.section-title {
        font-size: var(--font-size-30);
        margin-bottom: 1.5rem;
    }
    
    /* 統計儀表板 */
    .stats-section {
        padding: 2rem 0;
    }
    
    .stats-card {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .stats-icon img {
        width: 32px;
        height: 32px;
    }
    
    .stats-label {
        font-size: var(--font-size-14);
    }
    
    .stats-number {
        font-size: var(--font-size-24);
    }
    
    .stats-number .unit {
        font-size: 0.7em;
    }
    
    .stats-desc {
        font-size: var(--font-size-12);
    }
    
    .stats-change {
        font-size: var(--font-size-12);
        padding: 2px 8px;
    }
    
    .stats-date {
        margin-top: 1.5rem;
        font-size: var(--font-size-12);
    }
    
    /* 地圖區域 */
    .map-section {
        padding: 2rem 0;
    }
    
    .map-title-wrapper img {
        max-width: 150px;
    }
    
    .map-container {
        height: 300px;
        border-width: 6px;
    }
    
    .map-btn {
        font-size: var(--font-size-13);
        padding: 0.375rem 0.75rem;
        height: 38px;
    }
    
    .map-legend {
        font-size: var(--font-size-14);
    }
    
    /* 供需列表 */
    .list-section {
        padding: 2rem 0;
    }
    
    .list-tabs .nav-link {
        font-size: var(--font-size-18);
        padding: 0.75rem 0.5rem;
    }
    
    .list-table thead th,
    .list-table tbody td {
        padding: 8px;
        font-size: var(--font-size-14);
    }
    
    .list-table tbody td .badge {
        font-size: var(--font-size-13);
        padding: 4px 8px;
        min-width: 70px;
    }
    
    /* 媒合流程 */
    .process-section {
        padding: 2rem 0;
    }
    
    .section-desc {
        font-size: var(--font-size-16);
        margin-bottom: 3rem;
    }
    
    .process-icon {
        width: 120px;
        height: 120px;
        margin: 1rem auto;
        transform: scale(0.7);
    }
    
    .process-icon img {
        width: 50px;
        height: 50px;
    }
    
    .process-number {
        font-size: 3rem;
        top: -1.2rem;
        left: -1.2rem;
    }
    
    .process-title {
        font-size: var(--font-size-24);
    }
    
    .process-desc {
        font-size: var(--font-size-16);
    }
    
    /* Footer */
    .footer-main {
        padding: 4rem 0 3rem;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-title {
        font-size: var(--font-size-30);
        margin-bottom: 1.5rem;
    }
    
    .footer-text p {
        font-size: var(--font-size-16);
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-bottom2 {
        padding: 0.75rem 0;
    }
    
    .footer-address,
    .footer-phone,
    .footer-copyright,
    .footer-visitors,
    .footer-update {
        font-size: var(--font-size-13);
    }
    
    .visitor-count {
        font-size: var(--font-size-20);
    }
    
    .footer-links a {
        font-size: var(--font-size-13);
        padding: 0.25rem 0.375rem;
    }
}

