:root {
    --navy: #25265E;
    --navy-dark: #0F172A;
    --white: #ffffff;
    --green: #00C28C;
    --green-light: #45D7A3;
    --green-lighter: #007e681a;
    --green-dark: #007E68;
    --yellow: #FFC800;
    --teal: #2086A7;
    --orange: #FF8807;
    --red: #E7405B;
    --blue: #255fef;
    --purple: #4A4AF4;
    --grey-lighter: #37597b08;
    --grey-light: #f3f3f3;
    --grey: #e1e3e5;
    --font-primary: #292D32;
    --font-black: #1e1e1e;
    --font-secondary: #98A6AD;
    --font-steel-grey: #677788;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, PingFang TC, Noto Sans TC, Microsoft Yahei, Helvetica Neue, Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--font-primary);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
}

ol,
ul {
    padding-left: 0rem;
    margin-bottom: 0rem;
    list-style: none;
}

p {
    margin-bottom: 0;
}

img {
    width: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    scroll-behavior: smooth;
}
:target {
    scroll-margin-top: 4rem;
}

/* Navi */
#navbar_top {
    background: var(--white);
    border: 1px solid var(--grey-light);
    box-shadow: 0px 15px 20px -20px rgb(0 0 0 / 10%);
    position: sticky;
    top: 0;
    z-index: 22;
}

.navbar-brand {
    width: 130px;
}

/* Desktop Navigation Menu */
.navMenuWrapper {
    flex-grow: 1;
    justify-content: center;
    margin: 0 0.5rem;
}


.navMenuWrapper .navbar-nav {
    flex-direction: row;
    gap: 0.5rem;
}

.navMenuWrapper .nav-item .nav-link {
    color: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    transition: 0.15s linear;
    white-space: nowrap;
}

.navMenuWrapper .nav-item .nav-link:hover {
    background: var(--grey-light);
    color: var(--font-primary);
}

.navMenuWrapper .nav-item .dropdown-toggle::after {
    margin-left: 0.35rem;
}


/* Mobile Navigation */
.mobileNavWrapper {
    gap: 0.5rem;
}

.mobileNavWrapper .dropdown button {
    color: var(--font-primary);
    background: var(--white);
    display: flex;
    align-items: center;
    border: none;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    transition: 0.15s linear;
}

.mobileNavWrapper .dropdown button:hover {
    background: var(--grey-light);
}

.navbar-toggler {
    border: none;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Offcanvas Menu Styles */
.offcanvas {
    width: 280px !important;
}

.offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--grey-light);
}

.offcanvas-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--font-primary);
}

.offcanvas-body {
    padding: 1rem;
}

@media (min-width: 992px) {
    /* Hide the offcanvas menu once the desktop layout is active */
    .navbar-expand-lg .offcanvas {
        display: none !important;
    }
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
    gap: 0;
}

.offcanvas-body .nav-item {
    border-bottom: 1px solid var(--grey-light);
}

.offcanvas-body .nav-item:last-child {
    border-bottom: none;
}

.offcanvas-body .nav-link {
    color: var(--font-primary);
    padding: 1rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.15s linear;
}

.offcanvas-body .nav-link:hover {
    color: var(--green-dark);
}

.offcanvas-body .nav-link.collapsed i {
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.offcanvas-body .nav-link:not(.collapsed) i {
    transform: rotate(-180deg);
    transition: transform 0.2s ease;
}

.languageWrap {
    display: none;
}

.ctaWrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .75rem;
}

.ctaWrap .dropdown button,
.languageWrap .dropdown button {
    color: var(--font-primary);
    background: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: .9rem;
    gap: .25rem;
    border: none;
    padding: .55rem .75rem;
    border-radius: 8px;
    font-weight: 500;
    line-height: unset;
    transition: 0.15s linear;
}

.ctaWrap .dropdown button:hover,
.languageWrap .dropdown button:hover {
    background: var(--grey-light);
}

.ctaWrap .dropdown .btn.show,
.languageWrap .dropdown .btn.show {
    background: var(--grey-light);
}

.dropdown .dropdown-menu {
    border: 1px solid var(--grey-lighter);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    margin-top: .5rem;
}

.dropdown .dropdown-menu .dropdown-item {
    font-size: .85rem;
    font-weight: 500;
    line-height: 2;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--green-dark);
    background-color: var(--green-lighter);
}

.dropdown-item.active {
    color: #ffffff;
    background-color: var(--green-dark);
}

.btn_login {
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    transition: 0.15s linear;
    border: none;
    padding: .5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.btn_login:hover {
    background: var(--green-dark);
}

/* Hero Section */

.heroContainer {
    background: url(../img/img_hero_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroWrapper {
    margin: 1rem;
    width: 50%;
}

.heroTitle {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
}

.heroTitleWrapper p {
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: .5rem;
    color: var(--white);
}

.mainSearchWrapper {
    background: var(--white);
    margin-top: 1.5rem;
    padding: .5rem;
    border-radius: 12px;
    display: flex;
}

.mainSearchWrapper .form-control {
    border: none;
    font-size: 1.125rem;
}

.mainSearchWrapper .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

.btn_search {
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    transition: 0.15s linear;
    border: none;
    padding: .75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.btn_search:hover {
    background: var(--green-dark);
}

/* Category Section */
.categoryWrapper {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.categoryWrapper li {
    padding: 1rem;
    border: 1px solid var(--grey-light);
    background: var(--white);
    border-radius: 12px;
    width: 100%;
}

.categoryTitle {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: 1rem;
    position: relative;
    color: var(--font-primary);
}

.categorySubTitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--font-primary);
    margin-bottom: .5rem;
    padding-left: .5rem;
}

.categoryListWrapper {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem;
}

.categoryListWrapper a {
    text-decoration: none;
    padding: .25rem .5rem;
    color: var(--font-steel-grey);
    font-size: .9rem;
    border-radius: 6px;
    line-height: 1.5;
    transition: 0.15s linear;
}

.categoryListWrapper a:hover {
    background-color: var(--grey-light);
    color: var(--font-primary);
}

.categoryListWrapper a.active {
    background-color: var(--grey-light);
    color: var(--font-primary);
}

.districtWrapper {
    width: 100%;
    padding: .5rem;
    background: var(--grey-lighter);
    margin: .5rem 0;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem;
}

.districtWrapper a {
    text-decoration: none;
    padding: .25rem .5rem;
    color: var(--font-steel-grey);
    font-size: .9rem;
    border-radius: 6px;
    line-height: 1.5;
    border: 1px solid transparent;
    transition: 0.15s linear;
}

.districtWrapper a:hover {
    background-color: var(--white);
    color: var(--font-primary);
    border: 1px solid var(--grey-light);
}

.districtWrapper a.active {
    background-color: var(--white);
    color: var(--font-primary);
    border: 1px solid var(--grey-light);
}

.btnBackWrapper {
    width: 100%;
    margin-top: .5rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.btnBackWrapper .btn_back {
    border: none;
    padding: .25rem .5rem;
    background: var(--white);
    color: var(--font-steel-grey);
    font-size: .9rem;
    border-radius: 6px;
    line-height: 1.5;
    transition: 0.15s linear;
}

.btnBackWrapper .btn_back:hover {
    background-color: var(--grey-light);
    color: var(--font-primary);
}


/* Footer Section */

footer {
    padding: 3rem;
    background: var(--font-primary);
}

.footerWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: .85rem;
    font-weight: 400;
    color: var(--white);
    line-height: 2;
}

.termsLink {
    display: flex;
    gap: .5rem;
}

.termsLink a,
.contactWrapper a {
    color: var(--white);
    font-weight: 400;
    transition: 0.15s linear;
}

.contactWrapper a {
    text-decoration: none;
}

.termsLink a:hover,
.contactWrapper a:hover {
    color: var(--green);
}

.contactWrapper {
    text-align: start;
}

/* Navbar Search  */
.navSearchWrapper {
    display: flex;
    gap: .5rem;
    border: 1px solid var(--grey);
    padding: .4rem;
    border-radius: 12px;
    background: var(--grey-lighter);
    width: 40%;
}

.navSearchWrapper .form-control {
    border: none;
    font-size: .9rem;
    background: transparent;
    padding: 0 .5rem;
    line-height: 1;
}

.navSearchWrapper .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

.navSearchWrapper .btn_search {
    padding: .5rem .75rem;
    font-weight: 600;
    font-size: .9rem;
}

.spSearchWrapper {
    display: none;
}

/* Result List Section */
.searchKeywordWrapper,
.searchKeywordWrapper h1 {
    font-size: 1.25rem;
    color: var(--font-primary);
    font-weight: 400;
    line-height: 1.25;
}

.searchKeywordWrapper span {
    margin: 0 .25rem;
    font-weight: 800;
}

.resultListContainer {
    padding: 2rem 0px;
    background: var(--grey-lighter);
}

.resultList {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resultList li {
    padding: 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    background: var(--white);
    position: relative;
}

.resultList li:hover {
    border: 1px solid var(--grey);
    box-shadow: 0px 15px 20px -20px rgb(0 0 0 / 15%);
    cursor: pointer;
}

.resultList li a {
    text-decoration: none;
    color: var(--font-primary);
    transition: 0.15s linear;
}

.resultList li a:hover {
    text-decoration: none;
    color: var(--green);
}

.corpTitleWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey-light);
}

.corpLogoWrapper {
    width: auto;
    overflow: hidden;
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.corpLogoWrapper img {
    width: auto;
    height: 100%;
}

.corpTitle {
    /* width: 80%; */
    flex-grow: 1;
}

.corpName, .corpName h1 {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 800;
    color: var(--font-primary);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    margin: 0;
}

.corpStatus {
    font-size: .7rem;
    padding: .1rem .25rem;
    background: var(--font-black);
    color: var(--white);
    border-radius: 4px;
    white-space: nowrap;
}

.corpStatus.active {
    background: var(--blue);
}

.corpCategory {
    display: flex;
    gap: .5rem;
    margin-top: .25rem;
}

.corpCategory span {
    font-size: .75rem;
    color: var(--font-steel-grey);
    line-height: 1;
}

.corpCategory span:first-child {
    border-right: 1px solid var(--grey);
    padding-right: 0.5rem;
}

.followWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.updateTimeWrapper {
    font-size: .7rem;
    white-space: nowrap;
    line-height: 1.6;
}

.updateTimeWrapper a {
    color: var(--green-dark);
}

.updateTimeWrapper a:hover {
    color: var(--green);
}

.updateTimeWrapper span {
    font-weight: 600;
    color: var(--green-dark);
    display: block;
}

.btn_follow {
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: 8px;
    background: var(--green-dark);
    font-weight: 500;
    transition: 0.15s linear;
    font-size: .9rem;
    border: none;
    white-space: nowrap;
}

.btn_follow:hover {
    background: var(--green);
}

.btn_follow.active {
    background: var(--navy-dark);
}

.followMobileWrapper {
    display: none;
}

.corpDetailWrapper dt {
    font-size: .85rem;
    margin-bottom: .25rem;
    color: var(--font-steel-grey);
    font-weight: 400;
}

.corpDetailWrapper dd {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--font-primary);
    font-weight: 500;
}

.corpDetailWrapper dd.sText {
    font-size: .9rem;
}

.corpDetailWrapper dd i {
    font-size: .8rem;
}

.corpDetailWrapper a {
    text-decoration: none;
    color: var(--font-primary);
    transition: 0.15s linear;
}

.corpDetailWrapper a:hover {
    color: var(--green);
}

.corpDetailWrapper dd .btn_modal {
    color: var(--green);
    transition: 0.15s linear;
    border: none;
    background: transparent;
    padding: 0;
}

.corpDetailWrapper dd .btn_modal i {
    font-size: 1rem;
}

.corpDetailWrapper dd .btn_modal:hover {
    color: var(--green-dark);
}

.corpDetailWrapper h2 {
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 600;
    position: relative;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.corpDetailWrapper h2.sectionTitle {
    line-height: 1.5;
}

.corpDetailWrapper h2.sectionTitle a {
    color: var(--green-dark);
}

.corpDetailWrapper h2.sectionTitle a:hover {
    color: var(--green);
}

/* Pagination */
.listPagination {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.listPagination li {
    border-radius: 8px;
    border: 1px solid var(--grey);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0.25rem;
    position: relative;
    background: var(--white);
    padding: .25rem .75rem;
}

.listPagination li.disabled {
    opacity: .5;

}

.listPagination li.disabled:hover {
    border: 1px solid var(--grey-light);
    background: var(--white);
    cursor: not-allowed;
}

.listPagination li:hover {
    background: var(--green-dark);
    border: 1px solid var(--green-dark);
}

.listPagination li:hover a {
    color: var(--white);
}

.listPagination li a {
    text-decoration: none;
    color: var(--font-primary);
}

.listPagination li.current {
    background: var(--green-dark);
    border: 1px solid var(--green-dark);
    color: var(--white);
}

.listPagination li.jumperdots {
    border: none;
    background: transparent;
}

.listPagination li.jumperdots:hover {
    background: transparent;
    color: var(--font-primary);
    cursor: default;
}


.listPagination li.current a {
    color: var(--white);
}

/* Notice */
.noticeWrapper {
    padding: .75rem;
    text-align: center;
    background: var(--green-dark);
    color: var(--white);
    font-size: .9rem;
    line-height: 1.5;
}

/* Modal Style */
.modal-dialog {
    width: 500px;
    margin: 0 auto;
}

.modal-content {
    border: none;
    border-radius: 16px;
}

.modal-header {
    padding: 0.75rem 0;
    justify-content: center;
    border-bottom: 1px solid var(--grey-light);
}

.modal-footer {
    border-top: 1px solid var(--grey-light);
    padding: .75rem;
}

.modal-content .modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
}

.modal-header .btn-close {
    margin: unset;
    position: absolute;
    right: 10px;
    font-size: .8rem;
    margin: unset;
}

.modal-body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.btn_secondary {
    background: #ffffff;
    border: 1px solid #E7EAF3;
    border-radius: 8px;
    color: var(--font-primary);
    padding: 0.5rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    transition: 0.2s linear;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.btn_secondary:hover {
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
}

/* Company Page */
.corpDetailContainer {
    padding: 2rem 0px;
    background: var(--grey-lighter);
}

/* Side List */
.sidebarWraper {
    position: sticky;
    top: 5rem;
    overflow-y: auto;
    height: calc(100vh - 6rem);
}

.sidebarWraper::-webkit-scrollbar {
    width: 4px;
    height: 0;
    background-color: transparent;
}

.sidebarWraper:hover::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
}

.sidebarWraper:hover::-webkit-scrollbar-thumb {
    background-color: #ced2d9;
    border-radius: 6px;
}

.sidebarTitle {
    font-size: .8rem;
    font-weight: 600;
    color: var(--font-primary);
    padding-left: .5rem;
    margin-top: 1.5rem;
}

.sideList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    margin: 0.5rem 0 1rem 0;
}

.sideList a {
    text-decoration: none;
    font-size: .9rem;
    color: var(--font-steel-grey);
    line-height: 1;
    padding: .25rem .5rem;
    transition: 0.2s linear;
    font-weight: 400;
}

.sideList a:hover {
    color: var(--green-dark);
}

.sideList a.active {
    border-left: 2px solid var(--green-dark);
    border-radius: 0;
    color: var(--green-dark);
    line-height: 1;
    padding: 0 .5rem;
    margin: .25rem 0;
    font-weight: 500;
}

.corpContentWrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

/* Info Card */
.mainCard,
.infoCard {
    padding: 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    background: var(--white);
    position: relative;
    height: 100%;
}

.sectionTitle {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    position: relative;
    margin-top: 2rem;
    margin-bottom: 0;
}

.infoTitle {
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
    padding-left: .75rem;
    border-radius: 0px;
    margin-bottom: 1rem;
    position: relative;
}

.sectionTitle a,
.infoTitle a {
    color: var(--green-dark);
    transition: 0.2s linear;
}

.sectionTitle a:hover,
.infoTitle a:hover {
    color: var(--green);
}

.infoSubTitle {
    font-size: .9rem;
    line-height: 1rem;
    font-weight: 500;
    padding: .25rem .5rem;
    background: var(--font-primary);
    color: var(--white);
}

.infoTitle::before {
    position: absolute;
    content: '';
    width: 4px;
    height: 100%;
    border-radius: 3px;
    background: var(--green-dark);
    left: 0;
}

.employeeSummary {
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: .75rem;
}

/* large table Overlay Style */
.tableSection {
    position: relative;
}

.infoTableContainer {
    position: relative;
    overflow: hidden;
}

.tableShadow::before {
    content: '';
    width: 20%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
    z-index: 9;
}


.infoTableWrapper::-webkit-scrollbar {
  width: 14px;
  background-color: #ffffff;
}

.infoTableWrapper::-webkit-scrollbar-thumb {
  background: var(--grey);
  border-radius: 10px;
  border: 5px solid rgba(255, 255, 255, 0);
  background-clip: padding-box;
}

/* table Style */
.infoTableWrapper  {
    overflow-x: auto;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.infoTableWrapper .table {
    margin-bottom: 0;
}

.infoTableWrapper .table th {
    background: #F8FAFD;
    color: var(--font-steel-grey);
    font-size: .8rem;
    font-weight: 500;
    text-align: left;
    padding: .75rem;
    vertical-align: middle;
    border-bottom: 0;
    white-space: nowrap;
    line-height: 1.5;
    position: sticky;
    top: 0;
    z-index: 9;
}

.infoTableWrapper .table td {
    color: var(--font-primary);
    font-size: .85rem;
    font-weight: 500;
    text-align: left;
    padding: .75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--grey-light);
    white-space: nowrap;
    line-height: 1.5;
}

.largeCol {
    min-width: 15rem;
    white-space: normal !important;
    word-break: break-word;
    box-sizing: border-box;
}

.infoTableWrapper .last td {
    border-bottom: none;
}

.infoTableWrapper .subTotal td {
    border-bottom: 1px solid var(--font-black);
}

.infoTableWrapper .table td a {
    color: var(--font-primary);
    text-decoration: none;
    transition: 0.2s linear;
}

.infoTableWrapper .table td a:hover {
    color: var(--green);
    text-decoration: underline;
}

.infoList {
    list-style: none;
    font-size: .85rem;
    line-height: 1.5;
    padding-top: .75rem;
    color: var(--font-primary);
    max-height: 400px;
    overflow-y: auto;
}

.infoList::-webkit-scrollbar {
    width: 14px;
    background-color: #ffffff;
}
  
.infoList::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
}

.infoList li {
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: .75rem;
}

.infoList li a {
    color: var(--font-primary);
    text-decoration: none;
    transition: 0.2s linear;
}

.infoList li a:hover {
    color: var(--green);
    text-decoration: underline;
}

.infoList li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.timelineWrapper {
    list-style: none;
    padding: 1rem 0;
    position: relative;
    overflow-y: auto;
    max-height: 430px;
}

.timelineWrapper::-webkit-scrollbar {
    width: 14px;
    background-color: #ffffff;
}
  
.timelineWrapper::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
}

.iconListWrapper {
    list-style: none;
    padding: .75rem 0 0 0;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.iconListWrapper::-webkit-scrollbar {
    width: 14px;
    background-color: #ffffff;
}
  
.iconListWrapper::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
}

.iconListWrapper li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    z-index: 1;
    position: relative;
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: .75rem;
}

.iconListWrapper li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.timelineWrapper::after {
    content: '';
    background: var(--grey-light);
    width: 1px;
    height: 100%;
    left: 15.5px;
    position: absolute;
    top: 0;
    z-index: 0;
}

.timelineWrapper li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    z-index: 1;
    position: relative;
    margin-bottom: 1rem;
}

.timelineWrapper li:last-child {
    margin-bottom: 0;
}

.listIconWrapper {
    background: #055160;
    padding: .5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.lawColor {
    background: var(--navy);
}

.noticeColor {
    background: var(--red);
}

.newsColor {
    background: var(--blue);
}

.reportColor {
    background: var(--bs-teal);
}

.infoWrapper .info {
    font-size: .9rem;
    color: var(--font-primary);
    margin-bottom: .25rem;
    line-height: 1.5;
    font-weight: 500;
}

.infoWrapper .info a {
    color: var(--font-primary);
    text-decoration: none;
    transition: 0.2s linear;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.infoWrapper .info a.no-webkit {
    display: inline;
}

/* 商工變更登記（#history，舊名公司歷程）：一個日期底下有多筆變更，圖示改對齊區塊頂端（其他區塊維持上下置中） */
#history .timelineWrapper li {
    align-items: flex-start;
}

#history .timelineWrapper .listIconWrapper {
    margin-top: .1rem;
}

/* 原本的 ::after 線是 height: 100%，在 overflow-y: auto 的容器裡只有可視高度，捲動後就斷掉；
   改成每個 li 各畫一段接到下一個節點，長度跟著內容走 */
#history .timelineWrapper::after {
    display: none;
}

#history .timelineWrapper li::before {
    content: '';
    position: absolute;
    left: 15.5px;
    top: 0;
    bottom: -1rem;
    width: 1px;
    background: var(--grey-light);
    z-index: -1;
}

#history .timelineWrapper li:last-child::before {
    display: none;
}

.infoWrapper .historyGroup {
    margin-bottom: .35rem;
}

.infoWrapper .historyCategory {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    color: #055160;
    background: var(--grey-light);
    border-radius: 4px;
    padding: 0 .4rem;
    margin-bottom: .15rem;
}

.infoWrapper .historyChange {
    font-weight: 400;
    overflow-wrap: anywhere;
}

.infoWrapper .info a:hover {
    color: var(--green);
    text-decoration: underline;
}

.infoWrapper .infoDate {
    font-size: .7rem;
    color: var(--font-secondary);
    line-height: 1;
    font-weight: 500;
}

.infoWrapper .infoDate span {
    position: relative;
    padding-right: .4rem;
    margin-right: .4rem;
    font-weight: 500;
    color: var(--font-secondary);
}

.infoWrapper .infoDate span::before {
    content: '';
    position: absolute;
    width: 1px;
    height: .7rem;
    background: var(--grey-light);
    right: 0;
}

.trademarkWrapper {
    width: auto;
    overflow: hidden;
    border-radius: 6px;
    height: 48px;
    background: var(--grey);
}

.trademarkWrapper img {
    width: auto;
    height: 48px;
}

/* Mobile Scrollspy */
.tabListContainer {
    display: none;
}

.tabListContainer .navbar {
    padding: 0;
}

.tabListWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-y: auto;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0 1rem;
}

.tabListWrapper a {
    white-space: nowrap;
    padding: .75rem 0;
    font-size: .9rem;
    font-weight: 500;
    color: var(--font-steel-grey);
    border-bottom: 2.5px solid var(--white);
}

.tabListWrapper .nav-link:focus,
.tabListWrapper .nav-link:hover {
    border-bottom: 2.5px solid var(--green-dark);
    color: var(--font-primary);
}

.tabListWrapper a.active {
    border-bottom: 2.5px solid var(--green-dark);
    color: var(--font-primary);
}

.tabListWrapper::-webkit-scrollbar {
    width: 4px;
    height: 0;
}

.tabListWrapper:hover::-webkit-scrollbar {
    width: 4px;
    background-color: #fff;
    border-radius: 3px;
}

.tabListWrapper:hover::-webkit-scrollbar-thumb {
    background-color: #ced2d9;
}

.popover {
    --bs-popover-border-color: transparent;
    background: var(--font-primary);
    -webkit-box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 5%);
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 5%);
}

.popover-body {
    font-size: .7rem;
    padding: .2rem .4rem;
    color: var(--white);
}

.popover .popover-arrow::after {
    border-top-color: var(--font-primary);
}

.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,
.bs-popover-top>.popover-arrow::after {
    border-top-color: var(--font-primary);
}


/* Summarize */
.summarizeCardContainer {
    border-radius: 12px;
    box-shadow: 0 8px 16px -8px rgb(0 25 255 / 1%), 0 16px 24px -6px rgb(53 255 186 / 4%);
    padding: 1px;
    position: relative;

}


/* Breadcrumb Styles */
.breadcrumb {
    font-weight: 400;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--green-dark);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* Category Icon */
.categoryTitle .bi-geo-alt-fill {
    color: var(--green-dark);
    margin-right: 0.5rem;
}

/* Category List Wrapper */
.categoryListWrapper.district-list {
    margin-top: 1rem;
}

/* District Link Items */
.categoryListWrapper.district-list a {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* No Results Section */
.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results .bi-inbox {
    font-size: 3rem;
    color: var(--grey);
    display: block;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--font-secondary);
}


@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

.animation-spin:before {
    animation: spin 12s linear infinite;
    background-image: linear-gradient(var(--rotate), rgb(0 194 140 / 10%) 24%, rgb(111 255 244 / 50%) 48%, rgb(124 200 255 / 25%) 65%, rgb(171 238 255 / 10%) 77%);
    border-radius: 11px;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

@keyframes spin {
    0% {
        --rotate: 0deg
    }

    50% {
        --rotate: 180deg
    }

    to {
        --rotate: 360deg
    }
}

.summarizeCardWrapper {
    background: url(../img/img_summerize_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1rem;
    border-radius: 11px;
}

.summarizeTitleWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--green-lighter);
}

.summarizeTitle {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 800;
    color: var(--font-primary);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.summarizeTitleWrapper span {
    display: flex;
    gap: .2rem;
    background: #ba0000;
    padding: .25rem .5rem;
    font-size: .7rem;
    border-radius: 6px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(162deg, #15ffd7 1%, #0864ca 50.53%, #6104ad 99.95%);
}

.summarizeTitleWrapper span img {
    width: 12px;
}

.summarizeSubTitle {
    font-size: .8rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: .75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .25rem;
}

.summarizeSubTitle img {
    width: 14px;
}

.summarizeListWrapper {
    list-style: none;
    font-size: .9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.summarizeListWrapper li {
    line-height: 1.5;
}

.summarizeListWrapper li::before {
    content: "-  ";
    color: var(--green);
}

.summarizeListWrapper li a {
    transition: 0.15s linear;
    color: var(--green-dark);
    text-decoration: underline;
}

.summarizeListWrapper li a:hover {
    color: var(--green);
    text-decoration: underline;
}

.loanMoreWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.loanMoreBtn {
    border: none;
    padding: .4rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--font-primary);
    color: var(--white);
    transition: 0.15s linear;
}

.loanMoreBtn:hover {
    background: var(--green-dark);
}

.summarizeWrapper{
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.15s linear;
}

.summarizeWrapper.expanded{
    max-height: none;
}


/* Financial Report Tab */
.financialReportWrapper,
.ieReportWrapper {
    margin: 0;
}

.financialReportWrapper .nav,
.ieReportWrapper .nav {
    margin: 1rem 0;
    overflow-x: auto;
    gap: .5rem;
}

.financialReportWrapper .nav-tabs,
.ieReportWrapper .nav-tabs {
    border-bottom: 0;
}

.financialReportWrapper .nav-link,
.ieReportWrapper .nav-link {
    margin: 0;
    border-radius: 8px;
    border: 1px solid var(--grey-light);
    color: var(--font-primary);
    font-size: .8rem;
    padding: 0.4rem 1rem;
    transition: 0.15s linear;
    background-color: var(--white);
}

.financialReportWrapper .nav-link:hover,
.ieReportWrapper .nav-link:hover {
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
}

.financialReportWrapper .nav-link.active,
.financialReportWrapper .show>.nav-link,
.ieReportWrapper .nav-link.active,
.ieReportWrapper .show>.nav-link {
    color: var(--white);
    background: var(--green-dark);
    border: 1px solid var(--green-dark);
    font-weight: 600;
}

#myTabContent {
    position: relative;
}

.swipeBtnWrapper {
    position: absolute;
    z-index: 11;
    right:5px ;
    top: -10px;
}

.swipeBtn {
    border: none;
    background: var(--font-primary);
    font-size: .7rem;
    color: var(--white);
    padding: .25rem .5rem;
    border-radius: 6px 6px 0 6px;
    font-weight: 600;
    transition: 0.15s linear;
    gap: .25rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.swipeBtn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right:0;
    width: 0px;
   height: 0px;
   border-style: solid;
   border-width: 0 6px 6px 0;
   border-color: transparent var(--font-primary) transparent transparent;
   transform: rotate(0deg);
   transition: 0.15s linear;
}

.swipeBtn:hover {
    background: var(--green-dark);
}

.swipeBtn:hover::after {
    border-color: transparent var(--green-dark) transparent transparent;
}

.financialReportWrapper .tab-content>.active,
.ieReportWrapper .tab-content>.active {
    margin: 2rem 0;
}

.financialTableWrapper {
    overflow-x: auto;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.financialTableWrapper .table {
    margin-bottom: 0;
    min-width: 600px;
}

.financialTableWrapper tr>th:first-child {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 10;
    width: 160px;
    box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
    -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
    -moz-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
}

.financialTableWrapper tr>td:first-child {
    position: sticky;
    left: 0;
    box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
    -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
    -moz-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.035) inset;
}

.financialTableWrapper .table th {
    position: sticky;
    top: 0;
    z-index: 9;
    background: #F8FAFD;
    color: var(--font-steel-grey);
    font-size: .8rem;
    font-weight: 500;
    text-align: left;
    padding: .75rem;
    vertical-align: middle;
    border-bottom: 0;
    line-height: 1.5;
}

.financialTableWrapper .table td {
    color: var(--font-primary);
    font-size: .85rem;
    font-weight: 500;
    text-align: left;
    padding: .75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--grey-light);
    line-height: 1.5;
}

.financialTableWrapper .last td {
    border-bottom: none;
}

/* large table Overlay Style */
.financialTableWrapper::-webkit-scrollbar {
    width: 14px;
    background-color: #ffffff;
}

.financialTableWrapper::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 10px;
    border: 5px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
}

/* BACK TO TOP */
#backtoTopBtn {
    background-color: var(--green-dark);
    width: 40px;
    height: 40px;
    text-align: center;
    position: fixed;
    bottom: 16px;
    right: 16px;
    transition: 0.15s linear;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

#backtoTopBtn:hover {
    background-color: var(--green);
}

#backtoTopBtn i {
    color: var(--white);
    font-size: 1.5rem;
}

#backtoTopBtn.show {
    opacity: 1;
    visibility: visible;
}

.viewLargeWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
} 

.viewLargeBtn {
    border: 1px solid var(--grey-light);
    background: var(--white);
    padding: 0.25rem .5rem;
    font-size: 0.8rem;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .25rem;
    color: var(--font-primary);
    transition: 0.15s linear;
    margin-top: 1rem;
}

.viewLargeBtn i{
    font-size: 0.7rem;
}

.viewLargeBtn:hover {
    border: 1px solid var(--green-dark);
    background: var(--green-dark);
    color: var(--white);
}

#Modal-financial .modal-dialog {
    width: 90%;
    max-width: 90%;
    height: 100vh;
}

#Modal-financial .modal-body .financialTableWrapper {
    max-height: 65vh;
}

#Modal-financial .financialTableWrapper tr > th:first-child {
    width: 30%;
}


#Modal-subscribe .modal-body {
    padding: 2rem;
}

#Modal-subscribe .modal-dialog {
    width: 400px;
    margin: 0 auto;
}

.subscribeModelImgWrapper {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.subscribeTitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--font-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.subscribeSubtitle {
    font-size: .9rem;
    font-weight: 400;
    color: var(--font-steel-grey);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.subscribeSubtitle span {
    font-weight: 700;
}

.subscribeFormWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.subscribeFormWrapper .form-control {
    border: 1px solid var(--grey-light);
    border-radius: 8px;
    font-size: .9rem;
    padding: .75rem 1rem;
}

.subscribeFormWrapper .form-control:focus {
    background-color: var(--white);
    border-color: var(--green-dark);
    box-shadow: 0 0 0 .25rem var(--green-lighter);
}

.btnSubscribe {
    border: none;
    white-space: nowrap;
    border-radius: 8px;
    padding: .5rem 3rem;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--white);
    background: var(--green);
    font-weight: 500;
    transition: 0.15s linear;
}

.btnSubscribe:hover , .btnSubscribe:focus {
    background: var(--green-dark);
}

.btnCloseModal {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    color: var(--grey);
    z-index: 9;
}

.btnCloseModal:hover {
    transition: 0.15s linear;
    color: var(--font-secondary);
}

.subscribeFixedWrapper {
    position: fixed;
    right: 0;
    top: 30%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    z-index: 12;
}

.fixedBtnWrapper {
    display: flex;
        flex-direction: column;
        justify-content: center;
}

.btnSubscribeFixed {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: .75rem ;
    border-radius: 8px 0 0 0;
    background: var(--green-dark);
    color: var(--white);
    font-weight: 600;
    font-size: .6rem;
    gap: .25rem;
    transition: 0.15s linear;
}

.btnSubscribeFixed:hover {
    background: var(--green);
}

.btnSubscribeFixed i{
    font-size: 1rem;
}

.btnDownload {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: .75rem ;
    border-radius: 0 0 0 8px;
    background: #3d4edd;
    color: var(--white);
    font-weight: 600;
    font-size: .6rem;
    gap: .25rem;
    transition: 0.15s linear;
}

.btnDownload:hover {
    background: #4558ff;
}

.btnDownload img {
    width: 16px;
}

.btnDownload.download-unavailable {
    background: var(--font-steel-grey);
}

.subscribeNoteWrapper {
    width: 150px;
    padding: .75rem;
    font-size: .8rem;
    line-height: 1.5;
    background: rgb(0 0 0 / 70%);
    border-radius: 12px 0 12px 12px;
    backdrop-filter: blur(6px);
    color: var(--white);
    position: relative;
    display: none;
}

.subscribeNoteWrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 12px 12px 0 0;
    border-color: rgb(0 0 0 / 70%) transparent transparent transparent;
}

.subscribeNoteWrapper span {
    color: var(--green-light);
    font-weight: 600;
    margin-right: .2rem;
}

.btnKnown {
    border: none;
    border-radius: 6px;
    background: var(--green-dark);
    font-size: .75rem;
    font-weight: 600;
    color: var(--white);
    margin-top: .5rem;
    padding: .25rem .5rem;
    transition: 0.15s linear;
    display: block;
}

.btnKnown:hover {
    background: var(--green);
}

.highlightText {
    color: var(--green-dark);
}

.modalWidth .modal-dialog {
    width: 450px;
    margin: 0 auto;
}

#Modal-download .modal-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reportContentWrapper {
    padding: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: url(../img/img_report_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.reportContent {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--font-primary);
}

.reportContent span {
    font-weight: 600;
    margin: 0 .25rem;
    color: var(--green-dark);
}

#Modal-email .modal-body , #Modal-account .modal-body {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.promoWrapper {
    position: relative;
}

.promoContentWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}

.promoTag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .25rem;
}

.discountTag {
    background: linear-gradient(140deg, #fd3c3c 45%, #c01d1d 100%);
    padding: .2rem .4rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--white);
    border-radius: 6px;
    text-align: center;
}

.ogPrice {
    font-size: .9rem;
    color: var(--font-steel-grey);
    font-weight: 400;
}

.ogPrice span {
    text-decoration: line-through;
}

.promoPrice {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(180deg, #1AAB87 45%, #017E68 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.promoPrice span {
    font-size: 2.2rem;
}

.paymentWrapper {
    border-radius: 16px 16px 0 0;
    margin-top: -1rem;
    background: var(--white);
    padding: 1rem;
    z-index: 9;
    position: relative;
}

.purchaseCompanyWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
}

.vat {
    font-size: .6rem;
    padding: .2rem .4rem;
    background: #00c28b1a;
    border-radius: 6px;
    color: var(--green);
    font-weight: 700;
}

.purchaseCompany {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--font-primary);
    width: 90%;
    line-height: 1.5;
    text-align: center;
}

.purchaseStepWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.purchaseStep {
    width: 100%;
}

.stepContentWrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
    font-size: .85rem;
    color: var(--font-primary);
    line-height: 1.5;
}

.stepContentTitle {
    white-space: nowrap;
    color: var(--green-dark);
    font-weight: 500;
}

.stepContent span{
    font-weight: 700;
}

.paymentDetailWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    margin: .5rem 0 0 0;
    background: var(--grey-lighter);
    padding: .5rem;
    border-radius: 8px;
}

.qrcodeImgWrapper {
    width: 80px;
    padding: .1rem;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--grey-light);
}

.paymentDetail {
    font-size: .9rem;
    line-height: 1.6;
}

.paymentDetail span {
    font-weight: 700;
}

.btnCopy {
    border: none;
    padding: 0;
    font-size: .85rem;
    background: transparent;
    margin: 0 .25rem;
    color: var(--green-dark);
    transition: 0.15s linear;
}

.btnCopy:hover {
    color: var(--green);
}

.accountInfoWrapper {
    margin: 1rem 0;
}

.purchaseNotice {
    font-size: .85rem;
    line-height: 1.5;
    color: var(--green-dark);
}

.btnPurchase {
    width: 100%;
    padding: .75rem 0;
    border: 1px solid var(--green-dark);
    border-radius: 8px;
    background: var(--green-dark);
    transition: 0.15s linear;
    color: var(--white);
    font-size: .9rem;
}

.btnPurchase:hover {
    background: var(--green);
    border: 1px solid var(--green);
}

.btnEdit {
    width: 100%;
    padding: .75rem 0;
    border: 1px solid var(--grey);
    border-radius: 8px;
    background: var(--white);
    transition: 0.15s linear;
    color: var(--font-primary);
    font-size: .9rem;
    font-weight: 500;
}

.btnEdit:hover {
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
}

.reportImgWrapper {
    position: absolute;
    right: 36px;
    bottom: -16px;
    width: 140px;
}

#Modal-confirm .modal-dialog , #Modal-sent .modal-dialog {
    width: 400px;
    margin: 0 auto;
}

#Modal-confirm .modal-body {
    padding: 1.5rem;
}

.orderInfo {
    list-style: none;
    margin: 2rem 0;
    gap: .75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.orderInfo li {
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: .5rem;
}

.orderInfo li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.orderInfoTitle {
    font-size: .8rem;
    margin-bottom: .5rem;
    color: var(--font-steel-grey);
}

.orderInfoContent {
    font-size: .95rem;
    color: var(--font-primary);
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
}

.orderInfoContent span {
    background: var(--green-dark);
    color: var(--white);
    padding: .2rem .4rem;
    font-size: .65rem;
    border-radius: 4px;
    line-height: 1;
}

.orderBtnWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .5rem;
}

#Modal-sent .modal-body {
    padding: 3rem 2rem 1.5rem 2rem;
}

.doneImgWrapper {
    position: absolute;
    width: 72px;
    top: -36px;
    left: calc(50% - 36px);
}

.suspendDownloadTitle span {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    -webkit-text-fill-color: transparent;
    background: linear-gradient(180deg, #1AAB87 45%, #017E68 100%);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0 .25rem;
}

#Modal-suspend-download .reportImgWrapper {
    width: 100px;
}

/* Owner */
.corpDetailWrapper a.owner-link {
    color: var(--green-dark);
    font-weight: bold;
    text-decoration: underline;
  }

.corpDetailWrapper a.owner-link:hover {
    color: var(--green);
}

/* 員工人數模糊 */
.chart-container {
    position: relative;
    width: 100%;
}

.chart-wrapper {
    position: relative;
    width: 100%;
}

.blur-mask {
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 90%, rgba(255,255,255,0) 100%);
    position: absolute;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 10;
    pointer-events: none;
}

.purchase-report-prompt {
    position: absolute;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 11;
    pointer-events: auto;
}

.infoCard .purchase-report-prompt a,
.table-blur-overlay .blur-message a {
    color: var(--green-dark);
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.infoCard .purchase-report-prompt a:hover,
.table-blur-overlay .blur-message a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* 表格模糊 */
.blurred {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

.table-blur-overlay {
    position: relative;
}

.blur-message {
    display: none;
    position: absolute;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0 ,0 , 0.15);
    text-align: center;
    white-space: nowrap;
    z-index: 11;
}

.blur-active .blur-message {
    display: block;
}


/* terms, privacy */
.termsHero {
    background: var(--green);
    text-align: center;
    padding: 4rem 0;
}

.termsTitle {
    font-size: 1.6rem;
    color: var(--white);
}

.termContainer {
    margin-bottom: 2rem;
}

.termContainer .version{
    font-size: .7rem;
    text-align: end;
    margin-bottom: 1.5rem;
    color: var(--font-secondary);
}

.termContainer p {
    text-align: justify;
    font-size: .9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.termContainer h3 {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.termContainer ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    list-style-type: decimal;
}

.termContainer ol li {
    text-align: justify;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: .25rem;
}

.termContainer a {
    color: var(--green);
    text-decoration: none;
}


@media only screen and (max-width: 1199.98px) {
    .languageWrap {
        display: flex;
        gap: .5rem;
    }

    .ctaWrap {
        display: none;
    }
}


@media (hover: hover) and (min-width: 992px) {
    .navMenuWrapper .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


@media only screen and (max-width: 992px) {

    /* Hero Section */

    .heroContainer {
        height: 50vh;
    }

    .sidebarWraper {
        display: none;
    }

    .corpDetailContainer {
        padding: 0;
    }

    .corpContentWrapper {
        margin: 2rem 0;
    }

    .breadcrumb-company{
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .tabListContainer {
        display: block;
        position: sticky;
        top: 67px;
        z-index: 12;
        background: var(--white);
        padding: 0;
        border-bottom: 1px solid var(--grey-light);
        box-shadow: 0px 12px 20px 0px rgba(0, 0, 0, 0.02);
    }

    #Modal-financial .modal-body .financialTableWrapper {
        max-height: 60vh;
    }

    .languageWrap {
        display: flex;
        gap: .5rem;
    }

    .ctaWrap {
        display: none;
    }
    
    .navMenuWrapper {
        display: none;
    }

    .offcanvas {
        display: flex;
    }
}

@media only screen and (max-width: 768px) {
    /* Navi */

    .navbar-brand {
        width: 110px;
    }


    /* Hero Section */

    .heroContainer {
        height: 45vh;
    }

    .heroWrapper {
        margin: 2rem;
        width: 75%;
    }

    .followWrapper {
        display: none;
    }

    .followMobileWrapper {
        display: block;
        margin-bottom: 1.5rem;
    }

    .followMobileWrapper .btn_follow {
        width: 100%;
    }

    .updateTimeWrapper {
        text-align: center;
        margin-top: .5rem;
    }

    .updateTimeWrapper span {
        display: inline-block;
    }

    /* Category Section */

    .categoryWrapper {
        flex-direction: column;
        gap: 2rem;
    }


}

@media only screen and (max-width: 600px) {
    #navbar_top {
        box-shadow: none;
    }

    /* Hero Section */

    .heroContainer {
        height: 70vh;
    }

    .heroWrapper {
        width: 100%;
    }

    .heroTitle {
        font-size: 1.6rem;
    }

    .heroTitleWrapper p {
        font-size: 1rem;
    }

    .btn_search {
        padding: .75rem 1rem;
    }

    /* Footer Section */

    .footerWrapper {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .termsWrapper {
        text-align: left;
    }

    .termsLink {
        justify-content: start;
    }

    .contactWrapper {
        text-align: left;
    }

    /* Navbar Search  */

    .navSearchWrapper {
        display: none;
    }

    /* Mobile Search */

    .spSearchWrapper {
        display: flex;
        gap: .25rem;
        padding: 1rem;
        border-bottom: 1px solid var(--grey-light);
        position: sticky;
        top: 60px;
        background: var(--white);
        z-index: 21;
        box-shadow: 0px 12px 20px 0px rgba(0, 0, 0, 0.02);
    }

    .spSearchWrapper .form-control {
        border: none;
        font-size: 1rem;
        background: var(--grey-light);
        padding: .75rem .75rem .75rem 2.5rem;
        line-height: 1;
        border-radius: 10px;
    }

    .spSearchWrapper .form-control:focus {
        border-color: transparent;
        box-shadow: none;
    }

    .spSearchIcon {
        position: absolute;
        font-size: 0.9rem;
        top: calc(50% - 0.55rem);
        left: 2rem;
        color: var(--font-steel-grey);
        padding: 0;
        border-style: none;
        background-color: transparent;
    }

    /* Modal Style */
    .modal-dialog {
        width: 90%;
        margin: 0 auto;
    }

    .tabListContainer {
        top: 139px;
    }


    #Modal-financial .modal-content {
        height: 90vh;
    }

    #Modal-financial .modal-body .financialTableWrapper {
        max-height: calc(100vh - 15.5rem);
    }

    #Modal-subscribe .modal-dialog {
        width: 80%;
        margin: 0 auto;
    }

    .modalWidth .modal-dialog {
        width: 85%;
        margin: 0 auto;
    }

    #Modal-confirm .modal-dialog , #Modal-sent .modal-dialog {
        width: 85%;
        margin: 0 auto;
    }

    .discountTag {
        font-size: .7rem;
        padding: .2rem .5rem;
    }

    .ogPrice {
        font-size: .8rem;
    }

    .promoPrice {
        font-size: 3.2rem;
    }

    .promoPrice span {
        font-size: 2rem;
    }

    .reportImgWrapper {
        width: 110px;
        right: 24px;
    }

    .paymentDetail {
        font-size: .75rem;
    }

    .btnCopy {
        font-size: .75rem;
    }

    #Modal-suspend-download .reportImgWrapper {
        width: 80px;
    }

    .suspendDownloadTitle span {
        font-size: 0.9rem;
    }

    #Modal-suspend-download .promoContentWrapper{
        gap: 0rem;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 934px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
    #Modal-financial .modal-body .financialTableWrapper {
        max-height: 50vh;
    }
}


@media only screen and (min-device-width: 667px) and (max-device-width: 934px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {

    /* Hero Section */
    .heroContainer {
        height: 75vh;
    }

    .heroWrapper {
        margin: 2rem;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 768px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {

    /* Hero Section */
    .heroContainer {
        height: 50vh;
    }
}

@media screen and (min-width: 1440px) {
    .heroContainer {
        height: 65vh;
    }
}

@media screen and (min-width: 1920px) {
    .heroContainer {
        height: 70vh;
    }
}

@media screen and (min-width: 3840px) {
    .heroContainer {
        height: 50vh;
    }
}

/* ==========================================================================
   公司歷程 /zh/<統編>/timeline（原名公司紀事）
   型別分四個色系：登記（basic/director/manager）、風險（verdict/rejected/labor/pollution）、
   營運（pcc）、財務（property）。顏色用 --type-color / --type-tint 兩個變數，chip 與事件標籤共用。
   ========================================================================== */
/* chip 沒有型別時的灰色預設；要排在 .timeline-type--* 之前，兩者同權重、後者才蓋得過 */
.timeline-chip { --type-color: var(--font-steel-grey); --type-tint: var(--grey-light); }
.timeline-type--registry { --type-color: #055160; --type-tint: #e6f0f2; }
.timeline-type--risk     { --type-color: var(--navy); --type-tint: #e9e9f3; }
.timeline-type--business { --type-color: var(--teal); --type-tint: #e4f1f6; }
.timeline-type--finance  { --type-color: var(--blue); --type-tint: #e7edfd; }

.timeline-card {
    padding: 1.5rem 2rem 2rem;
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 .5rem;
}

.timeline-title__tag {
    display: inline-block;
    margin-left: .6rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green-dark);
    vertical-align: .1em;
}

.timeline-summary {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--font-steel-grey);
    margin: 0 0 .25rem;
}

.timeline-updated {
    display: inline-block;
    margin-left: .5rem;
}

.timeline-sources {
    font-size: .75rem;
    line-height: 1.6;
    color: var(--font-secondary);
    margin: 0;
}

/* 篩選列：跟著捲動，停在 navbar 下方（#navbar_top sticky, z-index 22） */
.timeline-filter {
    position: sticky;
    top: 4rem;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .75rem 0;
    margin-bottom: .5rem;
    background: var(--white);
    border-top: 1px solid var(--grey-light);
    border-bottom: 1px solid var(--grey-light);
}

.timeline-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    flex: 1 1 auto;
    min-width: 0;
}

.timeline-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--grey);
    border-radius: 999px;
    background: var(--white);
    padding: .25rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--font-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s linear, border-color .15s linear, background .15s linear;
}

.timeline-chip__count {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    opacity: .85;
}

/* 類型旁的註記，例如 政府標案（得標）：跟類型名稱同字級同粗細，只把全形括號的左側空隙收緊 */
.timeline-chip__note {
    margin-left: -.2rem;
}

.timeline-chip.is-active {
    color: var(--type-color);
    border-color: var(--type-color);
    background: var(--type-tint);
}

.timeline-chip:hover:not(:disabled) {
    border-color: var(--type-color);
    color: var(--type-color);
}

.timeline-chip:focus-visible,
.timeline-filter__action:focus-visible,
.timeline-event__link:focus-visible,
.timeline-event__owner:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.timeline-chip:disabled {
    cursor: not-allowed;
    opacity: .45;
    border-style: dashed;
}

.timeline-filter__actions {
    display: flex;
    gap: .75rem;
    flex: 0 0 auto;
}

.timeline-filter__action {
    border: none;
    background: none;
    padding: 0;
    font-size: .8rem;
    font-weight: 600;
    color: var(--font-steel-grey);
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}

.timeline-filter__action:hover {
    color: var(--green-dark);
}

/* 月份區塊：左欄放日期、右欄放事件，中間一條細線當時間軸 */
.timeline-month {
    padding: 1.25rem 0 .5rem;
    border-top: 1px solid var(--grey-light);
}

.timeline-month:first-of-type {
    border-top: none;
}

.timeline-month__title {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: 0 0 .75rem;
    font-size: 1rem;
    line-height: 1;
}

.timeline-month__year {
    font-size: .8rem;
    font-weight: 600;
    color: var(--font-secondary);
    font-variant-numeric: tabular-nums;
}

.timeline-month__num {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--font-black);
    font-variant-numeric: tabular-nums;
}

.timeline-month__count {
    margin-left: auto;
    font-size: .75rem;
    font-weight: 500;
    color: var(--font-secondary);
}

.timeline-day {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    column-gap: 1.25rem;
    padding: .4rem 0;
}

.timeline-day__date {
    text-align: right;
    padding-right: 1.25rem;
    padding-top: .15rem;
    border-right: 1px solid var(--grey);
    font-size: .85rem;
    font-weight: 600;
    color: var(--font-steel-grey);
    font-variant-numeric: tabular-nums;
}

.timeline-day__events {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.timeline-event {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .6rem;
    font-size: .9rem;
    line-height: 1.6;
}

.timeline-event__type {
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--type-color);
    background: var(--type-tint);
    border-radius: 4px;
    padding: 0 .4rem;
    white-space: nowrap;
}

.timeline-event__text {
    flex: 1 1 18rem;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--font-primary);
}

.timeline-event__owner {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
}

.timeline-event__owner:hover {
    color: var(--green);
    text-decoration: underline;
}

.timeline-event__link {
    color: var(--font-secondary);
    font-size: .8rem;
    margin-left: .15rem;
    text-decoration: none;
}

.timeline-event__link:hover {
    color: var(--green-dark);
}

.timeline-event__note {
    flex: 1 0 100%;
    font-size: .75rem;
    color: var(--font-secondary);
}

.timeline-empty {
    padding: 2.5rem 0;
    margin: 0;
    text-align: center;
    font-size: .9rem;
    color: var(--font-secondary);
}

.timeline-truncated {
    margin-top: 1.5rem;
    padding: .9rem 1.1rem;
    border-radius: 8px;
    background: var(--grey-lighter);
    font-size: .8rem;
    line-height: 1.7;
    color: var(--font-steel-grey);
}

.timeline-truncated ul {
    margin: 0;
}

.timeline-truncated a {
    color: var(--green-dark);
    font-weight: 600;
}

/* 公司頁的公司歷程預覽卡 */
.timeline-preview__title {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}

.timeline-preview__total {
    font-size: .8rem;
    font-weight: 500;
    color: var(--font-secondary);
    margin-left: .25rem;
}

.timeline-preview__more {
    margin-left: auto;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.timeline-preview__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.timeline-preview__item {
    display: grid;
    grid-template-columns: 5.5rem auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: .6rem;
    font-size: .9rem;
    line-height: 1.6;
}

.timeline-preview__date {
    font-size: .85rem;
    font-weight: 600;
    color: var(--font-steel-grey);
    font-variant-numeric: tabular-nums;
}

.timeline-preview__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--font-primary);
}

.timeline-preview__empty {
    margin: 0;
    font-size: .9rem;
    color: var(--font-secondary);
}

@media only screen and (max-width: 992px) {
    .timeline-preview__item {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: .1rem;
    }

    .timeline-preview__date {
        grid-column: 1 / -1;
        font-size: .75rem;
    }

    .timeline-preview__text {
        white-space: normal;
    }

    .timeline-card {
        padding: 1rem 1rem 1.5rem;
        margin: 1.5rem 0;
    }

    /* 手機版搜尋列 .spSearchWrapper 本身是 sticky（top 60px, z-index 21），篩選列再 sticky 會被它蓋住 */
    .timeline-filter {
        position: static;
        flex-wrap: nowrap;
        gap: .5rem;
    }

    /* 手機版 chip 一列橫向捲動 */
    .timeline-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: .1rem;
    }

    .timeline-chips::-webkit-scrollbar {
        display: none;
    }

    .timeline-filter__actions {
        flex-direction: column;
        gap: .2rem;
    }

    .timeline-day {
        grid-template-columns: 3.25rem minmax(0, 1fr);
        column-gap: .75rem;
    }

    .timeline-day__date {
        padding-right: .75rem;
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-chip {
        transition: none;
    }
}
