body{
 font-family: 微軟正黑體, Microsoft JhengHei !important;
}

@media(max-width:979px){
	#gotocenter:focus{
	font-size:1.1em;
	}

	#gotocenter{
	font-size:0px;
	}
}

@media(min-width:980px){
	#gotocenter:focus{
	font-size:1.1em;
	}

	#gotocenter{
	font-size:0px;
	}
}

/*基本設定調整
::selection {
    background-color: #fca61b;
}*/

a:hover {
	text-decoration: none;
}

/*背景*/

#T_inside{
	background: linear-gradient(0deg, #ffddc2, #ffffff, #ffffff);
	background-repeat:no-repeat;
	background-size:cover;
	width:100%;
}

/*背景END*/


.large{					
	transition:0.3s;
}
.large:hover{
	transform:scale(1.02);	/* 放大 */
}
.operator1{
display: ;
}
.operator2{
display: none;
}
.px-6 {
	padding-right: 3rem !important;
	padding-left: 3rem !important;
}
@media screen and (max-width: 768px) {
	.operator1{
	display: none;
	}
	.operator2{
	display: block;
	}
	.px-6 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
	}
}

a{
	text-decoration:none;
}

.list-box {
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
    border-bottom: 1px dashed #ccc;
}

.logosize{
	width: 450px;
    margin: 0.1rem 0.1rem 0.1rem 1rem;
}


@media screen and (max-width: 768px) {

}


@media screen and (min-width: 1800px) {


}


/*配色設定*/
/* 定義各種變數-這個很好用 */
:root {
    --tech-blue: #577de0;    /* 藍 */
    --tech-purple: #5b4373;  /* 紫 */
    --tech-dark: #12184f;    /* 深藍 */
    --tech-gray: #00000;
	--tech-light-blue: rgba(87, 125, 224, 0.1);
}

.tech-card {
    border: 1px solid rgba(87, 125, 224, 0.2);
    border-radius: 16px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(18, 24, 79, 0.08);
}

/* 左上角懸浮標題*/
.tech-header-capsule {
    position: absolute;
    top: -25px;
    left: 25px;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 25px 5px 14px;
    border-radius: 50px;
    z-index: 10;
    border: 1px solid rgb(197 186 209 / 96%);
}

/* 膠囊內的圓圈 Icon */
.tech-icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tech-dark), var(--tech-purple));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(87, 125, 224, 0.4);
}

.tech-title-text {
    color: var(--tech-dark);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/*設定段落間寬*/
.clause-row {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

/*最後一條底線不顯示*/
.clause-row:last-child {
    border-bottom: none!important;
}

/* 數字標籤 */
.clause-num {
    color: var(--tech-blue);
    background: rgb(255 255 255);
    border: 1px solid rgba(87, 125, 224, 0.3);
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 20px;
    margin-top: 0px;
    min-width: 35px;
    text-align: center;
    box-shadow: 1px 2px 2px rgb(54 68 202 / 12%);
    font-weight: 900;
}

.clause-content {
    color: var(--tech-gray);
    line-height: 2;
    margin-bottom: 0;
    flex: 1;
}

/*同意閱讀*/
.agreement-box {
    background: rgba(87, 125, 224, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed rgba(91, 67, 115, 0.3);
    transition: all 0.3s;
}

.agreement-box:hover {
    background: rgba(87, 125, 224, 0.1);
}

.form-check-input:checked {
    background-color: var(--tech-blue);
    border-color: var(--tech-blue);
    box-shadow: 0 0 8px rgba(87, 125, 224, 0.5);
}

/* 驗證碼 */
.captcha-container {
    width: 100%;
    max-width: 550px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(18, 24, 79, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* 預設不換行 */
}

.captcha-label {
    color: var(--tech-dark);
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
}

.captcha-input {
    border: 2px solid #eef0f5;
    border-radius: 8px !important;
    margin: 0 10px;
    flex: 1; /* 自動伸展佔滿剩餘空間 */
}

.captcha-img-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.captcha-img-wrapper {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #eee;
    line-height: 0;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #d5d5d5!important;
}

.tech-body{
	padding: 3rem !important;
}

@media (max-width: 576px) {
    .captcha-container {
        flex-direction: column; /* 改為垂直排列 */
        align-items: stretch;
        gap: 12px;
    }

    .captcha-label {
        text-align: center;
        margin-right: 0;
    }

    .captcha-input {
        margin: 0;
        text-align: center;
    }

    .captcha-img-group {
        justify-content: center;
        background: #f8f9fa;
        padding: 8px;
        border-radius: 8px;
    }
    
    .agreement-box {
        font-size: 0.9rem;
        padding: 10px;
    }
	
	.tech-body{
		padding: 2.5rem 0.5rem !important;
	}

}



/*確認按鈕*/
.btn-confirm-tech {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-purple));
    color: white;
    border: none;
    padding: 12px 45px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(87, 125, 224, 0.4);
    transition: all 0.3s ease;
}

.btn-confirm-tech:hover, .btn-confirm-tech:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 125, 224, 0.6);
    color: #fff;
    filter: brightness(1.1);
}

.btn-confirm-tech:active {
    color: #fff;
	transform: translateY(0);
}


/* 大標題樣式：左側帶有粗裝飾條 */
.page-title-group {
    border-left: 6px solid var(--tech-blue);
    padding-left: 15px;
    margin-bottom: 10px;
    position: relative;
}

.main-title {
    color: var(--tech-dark); 
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0;
	font-size:2em;
}

/* 麵包屑樣式 */
.custom-breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* 使用 FontAwesome 的箭頭 > */
    font-family: "Font Awesome 6 Free";/*拿掉會掛掉*/
    font-weight: 900;
    color: #ccc;
}

.custom-breadcrumb a {
    color: var(--tech-gray);
    transition: color 0.2s;
}

.custom-breadcrumb a:hover {
    color: var(--tech-blue);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: var(--tech-purple); 
    font-weight: 600;
}

/* 無障礙 ::: 符號微調 */
.access-key {
    opacity: 0.5;
    font-size: 0.8rem;
    transition: opacity 0.2s;
}

.access-key:hover {
    opacity: 1;
}



/* 標籤樣式優化 */
.tech-label {
    color: var(--tech-dark);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* 在標籤前加上一個裝飾小方塊 */
.tech-label::before {
    content: "";/*在文字數字或圖片前要添加東西時使用*/
    display: inline-block;
    width: 4px;
    height: 14px;
    background-color: var(--tech-blue);
    margin-right: 8px;
    border-radius: 2px;
}

/*輸入框樣式*/
.tech-input {
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
}

.tech-input:focus {
    border-color: var(--tech-blue);
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(87, 125, 224, 0.15);
    color: var(--tech-dark);
}

/*必填欄位*/
.text-danger-custom {
    color: #ff4d4f;
    margin-left: 4px;
}

/* 佔位符文字顏色 */
.tech-input::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.tech-textarea {
    border: 1.5px solid #dfe1e7;
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
    resize: none; /* 禁止手動調整大小 */
}

.tech-textarea:focus {
    border-color: var(--tech-purple);
    box-shadow: 0 0 0 0.25rem rgba(91, 67, 115, 0.1);
    background-color: #fff;
}

/*地圖選取按鈕*/
.btn-map-picker {
    background: linear-gradient(135deg, var(--tech-purple), var(--tech-dark));
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-map-picker:hover {
    filter: brightness(1.2);
    color: white;
    box-shadow: 0 4px 12px rgba(91, 67, 115, 0.3);
}


/* 下拉選單+間距 */
.select-group {
    transition: transform 0.2s;
}

.select-group:hover {
    transform: translateY(-1px);
}


.tech-select-group {
    border: 1.5px solid #e0e0e0;
    border-radius: 0; /* 移除中間圓角 */
    margin-left: -1.5px; /* 邊框重疊處理 */
    padding: 10px 15px;
    color: var(--tech-dark);
    background-color: #fdfdfd;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 只有最後一個選單保有右側圓角 */
.tech-select-group:last-child {
    border-radius: 0 8px 8px 0 !important;
}


/* 聚焦效果：同步 tech-input 的亮藍光暈 */
.tech-select-group:focus {
    border-color: var(--tech-blue);
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(87, 125, 224, 0.15);
    z-index: 5;
    outline: none;
}


/* --- 手機版自適應調整 --- */
@media (max-width: 768px) {
    /*強制 input-group select垂直排列 */
    #select_gu .input-group .tech-select-group{
        flex-direction: column !important;
    }

    /*修正圖標*/
    #select_gu .tech-input-icon {
        border-radius: 8px 8px 0 0 !important;
        border-right: 1.5px solid #e0e0e0 !important; /* 補回右邊框 */
        border-bottom: none !important;
        justify-content: center;
        padding: 10px;
    }

    /*修正選單元件樣式 */
    #select_gu .tech-select-group {
        margin-left: 0 !important; /* 移除負邊距 */
        margin-top: -1.5px; /* 改為與上方邊框重疊 */
        width: 100% !important; /* 強制滿寬 */
        border-left: 1.5px solid #e0e0e0 !important; /* 補回左邊框 */
    }

    /*手機版圓角重新定義 */
    #select_gu .tech-select-group:not(:last-child) {
        border-radius: 0 !important;
    }

    #select_gu .tech-select-group:last-child {
        border-radius: 0 0 8px 8px !important;
    }
	
	/*路燈編號群組*/
	#number_gu .input-group{
        flex-direction: column !important;
    }
	#number_gu .tech-input-icon {
        border-radius: 8px 8px 0 0 !important;
        border-right: 1.5px solid #e0e0e0 !important; /* 補回右邊框 */
        border-bottom: none !important;
        justify-content: center;
        padding: 10px;
    }
	#number_gu .tech-input {
        margin-left: 0 !important; /* 移除負邊距 */
        margin-top: -1.5px; /* 改為與上方邊框重疊 */
        width: 100% !important; /* 強制滿寬 */
        border-left: 1.5px solid #e0e0e0 !important; /* 補回左邊框 */
    }
	#number_gu .tech-select-group {
        margin-left: 0 !important; /* 移除負邊距 */
        margin-top: -1.5px; /* 改為與上方邊框重疊 */
        width: 100% !important; /* 強制滿寬 */
        border-left: 1.5px solid #e0e0e0 !important; /* 補回左邊框 */
    }
	#number_gu .btn-map-picker {
        width: 100% !important; /* 強制滿寬 */
		height: 40px;
		border-radius: 0 0 8px 8px!important;
    }
	#number_gu .tech-input:not(:last-child) {
        border-radius: 0 !important;
    }

    #number_gu .tech-input:last-child {
        border-radius: 0 0 8px 8px !important;
    }
}












/* 地圖頁設定 */
.tech-select {
    border: 1.5px solid #eef0f5;
    padding: 10px 12px;
    color: var(--tech-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-select:focus {
    border-color: var(--tech-purple);
    box-shadow: 0 0 0 0.25rem rgba(91, 67, 115, 0.1);
}

.tech-select-label {
    background-color: #fff !important;
    border: 1.5px solid #eef0f5;
    border-right: none;
    border-radius: 8px 0 0 8px !important;
    color: var(--tech-dark);
    font-weight: 700 !important;
    min-width: 100px;
    justify-content: center;
}


/* 定位查詢按鈕 (亮藍主色) */
.btn-tech-outline {
    background-color: transparent;
    border: 2px solid var(--tech-blue); /* 預設亮藍邊框 */
    color: var(--tech-blue);
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

/* 懸停時：產生紫色邊框與陰影 */
.btn-tech-outline:hover {
    border-color: var(--tech-purple); /* 變為紫色框 */
    color: var(--tech-purple);
    background-color: rgba(91, 67, 115, 0.05); /* 極淡紫色背景 */
    box-shadow: 0 0 15px rgba(91, 67, 115, 0.3); /* 紫色霓虹發光感 */
    transform: translateY(-2px);
}

/* 進階查詢按鈕 */
.btn-tech-search {
    background-color: var(--tech-dark); 
    border: 2px solid var(--tech-dark);
    color: white;
    font-weight: 700;
    padding: 8px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-tech-search:hover {
    background-color: var(--tech-dark);
    border-color: var(--tech-purple);
    box-shadow: 0 0 15px rgba(91, 67, 115, 0.5);
    color: white;
    transform: translateY(-2px);
}


.tech-panel-card {
    border: 1px solid rgba(87, 125, 224, 0.15);
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(18, 24, 79, 0.08) !important;
}

.tech-panel-card .card-body {
    padding: 0 !important;
}

.panel-image-container {
    padding: 0;
    line-height: 0;
	position: relative;
}

.panel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}


/* 懸浮按鈕*/
.map-controls-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

.map-control-btn {
    width: 42px; /* 手機版稍微放大，方便手指點擊 */
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(18, 24, 79, 0.15);
    border-radius: 8px;
    color: var(--tech-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}
/*
.map-control-btn:hover {
    background-color: #fff;
    color: var(--tech-blue);
    border-color: var(--tech-purple);
    box-shadow: 0 0 12px rgba(91, 67, 115, 0.4);
    transform: scale(1.05);
}
*/

/* 「搜尋附近」專屬：長方形膠囊樣式 (常駐文字) */
.btn-search-nearby-fixed {
    width: auto !important; /* 寬度依內容撐開 */
    padding: 0 12px;
    background: rgba(18, 24, 79, 0.85); /* 使用深色底，與上方功能按鈕區隔 */
    color: #ffffff;
    border: 1px solid var(--tech-purple);
}

.btn-search-nearby-fixed i {
    font-size: 0.9rem;
    color: var(--tech-blue); 
}

/* 按鈕內的文字：極小、清晰、常駐 */
.control-text-fixed {
    font-size: 10px; /* 極小化但清晰 */
    font-weight: 600;
    margin-right: 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: #fff;
    line-height: 1.2;
}

.map-control-btn i {
    transition: transform 0.2s;
}

.map-control-btn:active {
    transform: scale(0.95);
}



/* 手機版微調 (螢幕寬度小於 576px) */
@media (max-width: 576px) {
    .map-controls-wrapper {
        top: 10px;
        left: 10px;
        gap: 6px;
    }
    .map-control-btn {
        width: 38px;
        height: 38px;
    }
    .control-text-fixed {
        font-size: 9px; /* 手機版再微縮 */
    }
}


.control-divider {
    height: 1px;
    background: rgba(18, 24, 79, 0.1);
    margin: 4px 0;
}

.panel-info-container {
    background: linear-gradient(135deg, #fdfdfd, #f4f7fc); 
    border-left: 1px solid rgba(18, 24, 79, 0.05);
    /*display: flex;*/
    flex-direction: column;
    justify-content: space-between;
    padding: 25px !important;
}


.info-table-box {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.tech-info-table {
    margin-bottom: 0;
}
.tech-info-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.tech-info-table tr:last-child td {
    border-bottom: none;
}


.tech-info-label {
    color: var(--tech-dark);
    font-weight: 700;
    white-space: nowrap;
    width: 35%;
}


.lamp-id-highlight {
    color: var(--tech-purple); 
    font-weight: bold;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .panel-image-container img {
        border-radius: 16px 16px 0 0 !important; 
    }
    .panel-info-container {
        border-left: none;
        border-top: 1px solid rgba(18, 24, 79, 0.05);
        border-radius: 0 0 16px 16px !important; 
    }
}