﻿.fullWidth {
    width: 100%;
}
.qrcode {
    position: relative;
    top: 40px;
    text-align: right;
    cursor: pointer;
    font-weight: 700;
    height: 0;
    z-index: 100;
}
.print {
    position: absolute;
    color: #fff;
    border-radius: 22px;
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
}

span {
    font-size: 0.75rem;
}

@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none) {
    .print_isNormal {
        right: 150px;
    }
}
/* 執業狀態非「正常」者不顯示 QRcode，列印圖示沒有 QRcode 按鈕可以靠，
   必須自己定位，否則會被推到容器右緣外（比照舊站 .print_unNormal { right: 10px }） */
.print_unNormal {
    right: 10px;
}
.print .printer_icon {
    width: 20px;
    height: 20px;
}
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}
.qrcode .el-popover__reference {
    margin-left: 50px;
    margin-right: 24px;
    padding: 5px 15px;
    font-size: 1.125rem !important;
    color: #fff;
    line-height: 1.25rem;
    border-radius: 22px;
    background-color: #f0b603;
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
}
.qrcode .qrcode_icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.qrcode-canvas {
    width: 240px;
    height: 270px;
    margin: 0 auto;
    display: block;
}
.lawyerTitle {
    height: 100%;
    position: relative;
    top: -45px;
    margin: 0 auto;
}
.lawyer-title-menu {
    background-color: #fff;
    border-bottom: none;
}
.PreviousPage, .print {
    padding: 5px 15px;
    font-size: 1.125rem !important;
    line-height: 1.25rem;
    background-color: #f0b603;
}

.PreviousPage {
    cursor: pointer;
    color: #35435c;
    border-radius: 22px 22px 0 0;
}
.lawyerTitle .el-menu--horizontal .el-menu-item.is-active {
    width: 68%;
    background-color: #fff;
    border-bottom: 2px solid #f0b603 !important;
    margin: 0 15% 0 14%;
}
.lawyerTitle .el-menu--horizontal .el-menu-item {
    cursor: unset !important;
    border-bottom: 2px solid #f0b603 !important;
    background-color: #f8f8f8;
}
.lawyerTitle .el-menu-item {
    width: 70%;
    height: 90px !important;
    font-size: 1.25rem;
    letter-spacing: 0;
    line-height: 5.625rem !important;
    font-weight: 700;
}
.CertData {
    width: 100%;
    height: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
    .CertData .lawyerInfo {
        position: relative;
        padding: 24px;
        background-color: #fff;
        -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    }
        .CertData .lawyerInfo .el-row {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        }
            .CertData .lawyerInfo .el-row .el-col:nth-child(odd) {
                font-weight: 700;
                color: #172133;
            }

            .CertData .lawyerInfo .el-row .el-col:first-child {
                padding: 12px 0 12px 0;
            }

            .CertData .lawyerInfo .el-row .el-col {
                padding: 16px 0 16px 0;
                border-bottom: 1px solid #e3e3e3;
            }
                .CertData .lawyerInfo .el-row .el-col:first-child span {
                    font-size: 1.125rem;
                }

                .CertData .lawyerInfo .el-row .el-col span {
                    float: left;
                    font-size: 1rem;
                    line-height: 1.5rem;
                }
@media only screen and (min-width: 768px) {
    .CertData .el-col-sm-4 {
        width: 16.66667%;
    }
}
@media only screen and (min-width: 992px) {
    .CertData .el-col-md-3 {
        width: 12.5%;
    }
}
.el-col-20 {
    width: 83.33333%;
}
@media only screen and (min-width: 768px) {
    .el-col-sm-20 {
        width: 83.33333%;
    }
}
@media only screen and (min-width: 992px) {
    .el-col-md-21 {
        width: 86.5%;
    }
}
.CertData .lawyerInfo .el-row .el-col span {
    float: left;
    font-size: 1rem;
    line-height: 1.5rem;
}
@media only screen and (min-width: 768px) {
    .CertData .el-col-sm-6 {
        width: 25%;
    }
}
@media only screen and (min-width: 992px) {
    .CertData .el-col-md-7 {
        width: 29.16667%;
    }
}
.custom-text {
    /* eudc = 造字區 U+E000–U+F8FF（site.css 的 @font-face）；
       MingLiU-ExtB 系列補 Unicode 擴充 B 區（U+20000–U+2A6DF），
       LYDB 有 3 位律師的姓名落在這一區，造字檔涵蓋不到。 */
    font-family: eudc, "\65B0\7D30\660E\9AD4", "MingLiU-ExtB", "PMingLiU-ExtB", Verdana, Generva, Arial, Helvetica, sans-serif;
    line-height: 1.2;
}
@media only screen and (min-width: 992px) {
    .el-col-md-0 {
        display: none;
        width: 0;
    }
}
.CertData .lawyerInfo .lawyerImage {
    position: absolute;
    top: 60px;
    left: 85%;
    width: 15%;
    height: 220px;
    border: 1px solid #000;
    background-color: #fff;
}
    .CertData .lawyerInfo .lawyerImage .picImage {
        max-height: 220px;
        max-width: 100%;
        transform: rotate(0deg); /* 確保不旋轉 */
    }
@media only screen and (min-width: 768px) {
    .el-col-sm-10 {
        width: 39.66667%;
    }
}
@media only screen and (min-width: 992px) {
    .el-col-md-11 {
        width: 43.83333%;
    }
}
.CertData .lawyerInfo .mail {
    width: 75%;
    word-break: break-word;
    text-align: left;
}
.span_textalign {
    text-align: left;
}
.CertData .lawyerInfo .el-row .el-col span a {
    font-weight: 700;
    color: #f0b603;
    text-decoration: none;
}
.link, .link span {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    float: left;
    padding: 0 10px;
    cursor: pointer;
    background-color: #f0b603;
    border-radius: 15px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
    .link span {
        color: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-size: 0.9375rem !important;
    }
.divHash {
    overflow: hidden;
}
/* 資料雜湊值的內容。舊站是 <span class="span_clickAdvancedSearch3"><a>…</a></span>，
   會被本檔 .CertData .lawyerInfo .el-row .el-col span a { font-weight:700 } 命中；
   新站的巢狀順序相反（<a><span>…</span></a>），那條規則打不到，所以在這裡補上字重 */
.span_clickAdvancedSearch3 {
    color: #f0b603;
    font-weight: 700;
}
.CertData .lawyerInfo .el-row .el-col:nth-last-child(-n+2) {
    border-bottom: none;
}
.divlimits {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
/* Custom QR Code Popover Styling */
.qrcodePopover {
    transform-origin: center top;
    z-index: 2009 !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    margin-top: 10px;
    width: auto !important;
    text-align: center;
}
.qrcodePopoverText {
    color: #f0b603 !important;
    font-weight: bold;
    margin-top: 5px;
    font-size: 0.875rem;
}
.qrcodePopover {
    position: absolute !important;
}
/* QRcode popover 的「下載」「分享」列：比照舊站 Lawyer.vue 非 scoped 的 .qrcodePopover 樣式與
   Element UI 24 格柵欄（el-col span=10 offset=2 ／ span=8 offset=4）—— 下載靠左、分享靠右、同一列。
   本站 .el-row 的 display:flex 只在 site.css 的 @media print 裡有定義，螢幕模式下 .el-col 是普通區塊、
   會上下堆疊，.el-col-10 / -8 / -offset-* 也沒有螢幕版寬度，所以這裡自己補一套、只作用在 popover 內。 */
.qrcodePopover .el-row {
    display: flex;
    margin-top: 10px; /* 舊站 .qrcodePopover .el-row { margin-top: 10px } */
}
.qrcodePopover .el-col-10 { flex: 0 0 41.66667%; max-width: 41.66667%; }
.qrcodePopover .el-col-offset-2 { margin-left: 8.33333%; }
.qrcodePopover .el-col-8 { flex: 0 0 33.33333%; max-width: 33.33333%; }
.qrcodePopover .el-col-offset-4 { margin-left: 16.66667%; }
/* 兩顆按鈕本體：舊站 a 與 div 都是 $deep_text_color #172133、粗體、無底線。
   #download 是 <a>，不明寫會吃到 bootstrap 的藍色連結色＋底線，跟旁邊的「分享」不一樣。
   字級刻意用 px：舊站這一段本來就是 16px / 18px !important 的絕對值，且本站 root 是 14px，
   用 rem 會整體縮水；svg 圖示的 width/height 是 1.5em，跟著這裡的 font-size 放大成 24px。 */
.qrcodePopover #download,
.qrcodePopover #download:hover,
.qrcodePopover #download:focus,
.qrcodePopover .share {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #172133;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
/* 文字：舊站 .qrcodePopover span { font-size:16px !important; line-height:18px; font-weight:bold }
   —— !important 是要蓋掉本檔開頭的全域 span { font-size: 0.75rem } */
.qrcodePopover .el-col span {
    font-size: 16px !important;
    line-height: 18px;
    font-weight: 700;
}
.qrcodePopover .feather {
    flex-shrink: 0;
}
/* 區塊鏈驗證橫幅樣式 */
.verify-banner {
    background-color: #f1b300;
    padding: 20px 40px;
    margin-top: 10px; /* 比照舊站 .CertData .verifyDescript { margin-top: 10px } */
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    color: white;
    border-radius: 2px;
}
.verify-banner-wrap {
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
}
.verify-icon-box {
    width: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}
.verify-icon-box img {
    max-width: 4.5rem;
    max-height: 72px;
    filter: brightness(0) invert(1);
}
.verify-banner-text {
    font-weight: 700; /* 比照舊站 .CertData .verifyDescript span */
}
.verify-banner-text span {
    font-size: 1.375rem;
    line-height: 1.5;
}
.verify-banner-btn-box {
    display: flex;
    align-items: flex-end;
}
.verify-banner-btn {
    background-color: white;
    color: #f1b300;
    border: none;
    padding: 10px 40px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 20px;
}

/* 區塊鏈驗證 Modal 樣式 */
/* 覆蓋整個畫面的半透明背景，預設隱藏 */
.chain-verify-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
}
.chain-verify-modal.is-open {
    display: block;
}

/* Modal 的置中容器 */
.chain-verify-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
/* Modal 內部白底對話框 */
/* max-height + overflow 是保險：畫面高度不足時對話框自己捲動，不會上下超出視窗 */
.chain-verify-modal-content {
    background: white;
    border-radius: 8px;
    width: 540px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 30px;
    position: relative;
    box-sizing: border-box;
}
/* 關閉按鈕（右上交 X） */
.chain-verify-modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: none;
    background: none;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
/* 頂部標題區域容器 */
.chain-verify-modal-header {
    text-align: center;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
/* 標題區左側 LOGO */
/* 舊站 .verifyDialog .logo img 換算後約 112x140；本站對話框整體再收斂一級，
   取 120px 高（約 96px 寬），比原本的 100px 大、又不會把彈窗撐出畫面 */
.chain-verify-modal-logo {
    height: 120px;
}
/* 標題區文字容器 */
.chain-verify-modal-header-text {
    text-align: left;
}
/* 主標題樣式 */
.chain-verify-modal-header-text h3 {
    margin: 0;
    color: #666;
    font-weight: normal;
}
/* 律師title強調樣式 */
/* 「律師」二字要跟後面的姓名同字級同字重，比照舊站 .verifyText .bigboldText { font-size:25px; font-weight:700 }
   —— 舊站是「律師」和姓名共用同一個 bigboldText class */
.chain-verify-modal-header-text h3.bold-title {
    margin: 10px 0;
    color: #35435C;
    font-size: 1.5625rem; /* 25px */
    font-weight: 700;
}
/* 律師姓名強調樣式（只針對姓名的 span；標籤 span 各自跟隨所在行的字級） */
.chain-verify-modal-header-text span.custom-text {
    font-size: 1.5625rem;
    font-weight:700;
    color: #35435C;
}
/* 區塊鏈發行日期小字 */
.chain-verify-modal-header-text span.chain-verify-date {
    color: #35435C;
    font-size: 1rem;
    font-weight:normal
}
/* 標題區的標籤欄（「律師」「區塊鏈發行日期」）
   兩個標籤共用同一個固定寬度，後面的姓名與日期才會從同一個 x 位置起排；
   「區塊鏈發行日期」7 個全形字 = 7rem，再留 0.5rem 當標籤與內容的間距。
   用 rem 不用 em，是因為兩行字級不同（25px / 16px），em 會算出不同寬度。
   font-size / font-weight 要明寫 inherit：本檔開頭有全域 span { font-size: 0.75rem }，
   不明寫的話「律師」會被壓成 12px，而不是跟著 h3.bold-title 的 25px。 */
.chain-verify-modal-header-text .chain-verify-label {
    display: inline-block;
    min-width: 7.5rem;
    white-space: nowrap;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
/* 標題與內容之間的分隔線 */
.chain-verify-modal-separator {
    border-top: 1px solid #ccc;
    margin: 14px 0 26px 0;
}
/* 驗證三步驟的中央容器 */
/* 比照舊站 .verifyDialogContent { height:250px; margin: 0 0 0 43% }
   —— 步驟區不置中，而是從對話框寬度的 43% 起算、往右填滿，
   下方的 .chain-verify-footer 用同樣的 43% 才會跟這一區切齊 */
.chain-verify-steps-container {
    position: relative;
    margin: 0 0 0 43%;
    padding-left: 50px;
    box-sizing: border-box;
}
/* 垂直連線，負責顯示進度條背景 */
.chain-verify-line {
    position: absolute;
    left: 11px;
    top: 15px;
    bottom: 28px;
    width: 12px;
    background-color: #eee;
    z-index: 1;
}
.chain-verify-line-progress-1 {
    background: linear-gradient(to bottom, #008000 33%, #eee 33%);
}
.chain-verify-line-progress-2 {
    background: linear-gradient(to bottom, #008000 66%, #eee 66%);
}
.chain-verify-line-complete {
    background: #008000;
}

/* 各步驟的列容器，負責項目對齊 */
.chain-verify-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 26px;
    position: relative;
    z-index: 2;
}
.chain-verify-step-spaced {
    margin-bottom: 34px;
}

/* 最後成果結果的列容器 */
.chain-verify-step-final {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: -5px;
    z-index: 2;
}
/* 最後成果結果的列容器 */
.chain-verify-icon-container {
    position: absolute;
    left: -50px;
    background: white;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 將最終結果圖案定位在線上的大容器 */
.chain-verify-icon-container-large {
    position: absolute;
    left: -55px;
    background: white;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 完成時替換用的打勾（或打叉）圖案 */
.chain-verify-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    border: 4px solid transparent;
}
.chain-verify-icon.is-visible {
    display: block;
}
.chain-verify-icon.success {
    border-color: #008000;
}
.chain-verify-icon.fail {
    border-color: red;
}
/* 完成時替換用的最終大圖案 */
.chain-verify-icon-large {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    border: 6px solid transparent;
}
.chain-verify-icon-large.is-visible {
    display: block;
}
.chain-verify-icon-large.success {
    border-color: #008000;
}
.chain-verify-icon-large.fail {
    border-color: red;
}
/* 等待中呈現的灰色空心小圓圈 */
.chain-verify-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #ccc;
    background: white;
}
/* 等待中呈現的灰色空心大圓圈 */
.chain-verify-circle-large {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 6px solid #ccc;
    background: white;
}
.chain-verify-hidden {
    display: none;
}

/* 各步驟右側文字區域容器 */
.chain-verify-step-text {
    padding-top: 2px;
    text-align:left;
}
/* 各步驟大字標題樣式 */
.chain-verify-step-text h4 {
    color: #aaa;
    margin: 0;
    font-weight: bold;
    font-size: 1.375rem;
    text-align:left;
}
/* 各步驟下方說明小字 */
.chain-verify-step-text span {
    color: #aaa;
    font-size: 1rem;
    text-align:left;
}
/* 最終結果文字容器 */
.chain-verify-step-text-final {
    padding-top: 5px;
}
/* 最終結果大標題（例如：驗證屬實） */
.chain-verify-step-text-final h3 {
    color: #aaa;
    margin: 0;
    font-weight: bold;
    font-size: 2rem;
}
/* 下方 Etherscan 連結區域
   原本是 text-align:right，三行都是區塊元素、各自靠右，左緣就會參差不齊。
   改成與上方 .chain-verify-steps-container 同寬同起點並靠左，三行左緣才會對齊
   （舊站也是 .el-dialog__footer { margin:0 0 0 43%; text-align:left } 這個做法） */
.chain-verify-footer {
    margin: 22px 0 0 43%;
    padding-left: 50px;
    box-sizing: border-box;
    text-align: left;
    font-size: 0.875rem;
}

/* 窄畫面時 43% 會把內容擠到只剩一點寬度，改為貼齊左側 */
@media only screen and (max-width: 767px) {
    .chain-verify-steps-container,
    .chain-verify-footer {
        margin-left: 0;
    }
    /* 窄畫面時 LOGO 會擠壓右側標題文字，再縮一級 */
    .chain-verify-modal-logo {
        height: 90px;
    }
}
/* Etherscan 區域上方的提示小語 */
.chain-verify-footer p {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 1rem;
}
/* Etherscan 連結樣式：是連結，加底線 */
.chain-verify-footer a {
    color: #f0b603;
    text-decoration: underline;
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 5px;
}
/* 去除下方最後一個連結的 marginBottom */
.chain-verify-footer a:last-child {
    margin-bottom: 0;
}
/* 這一區在螢幕上原本沒有任何 flex/float：
   .el-row 的 display:flex 只寫在 @media print 裡（site.css），
   .CertData .lawyerInfo .el-row 那條又只作用在基本資料區，這一區是 .lawyerCert 的直接子層，
   所以三個 .el-col 都是普通區塊元素，會上下堆疊；.el-col-12 甚至沒有定義寬度。
   這裡補回舊站的橫向排列（舊站是 Element UI 的 .el-col { float:left }）。 */
.issue-info-chain {
    margin-top: 10px; /* 比照舊站 .CertData .issueInfo { margin-top: 10px } */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.issue-info-chain > .el-col-6 {
    flex: 0 0 25%;
    max-width: 25%;
}
.issue-info-chain > .el-col-12 {
    flex: 0 0 50%;
    max-width: 50%;
}
/* 欄位名稱與內容之間、整區上下的空白過大的原因：
   這區的文字是 12px（lawyer.css 的 span { font-size: 0.75rem }），
   但 .el-col 本身的 font-size 是繼承來的 1rem(16px)，行高 strut 因此是 16 × 1.5 = 24px，
   12px 的字塞在 24px 的行框裡，上下就各多出 6px。把容器字級對齊內容即可收斂。 */
.issue-info-chain > .el-col {
    font-size: 0.75rem;
    line-height: 1.5;
    /* site.css 有全域的 *{ box-sizing: content-box !important }，
       在 content-box 下 25% 不含 .plr-25 的左右各 2.5px，三欄合計會超過 100% 而把第三欄擠到下一行。
       這裡改回 border-box，讓 padding 算進 25%/50% 裡面。 */
    box-sizing: border-box !important;
}
/* 三項的「內容」加粗、深色、連結不加底線（標題維持原樣），比照舊站
   .CertData .issueInfo .el-row .el-col .el-row .el-col:nth-child(2)
   與 .CertData .issueInfo span a { font-weight:700; color:#172133; text-decoration:none } */
.issue-info-chain .chain-value {
    font-weight: 700;
    color: #172133;
}
.issue-info-chain a.chain-value {
    text-decoration: none;
    word-break: break-all; /* 舊站 .lawyerCert .issueInfo … :nth-child(2) 的 word-break */
    /* 本檔上方有 span { font-size: 0.75rem }，另外兩欄是 span 所以是 12px，
       交易序號是 <a> 沒被命中，會吃到 body 的 1rem(16px) 而撐大換行，這裡補齊 */
    font-size: 0.75rem;
}
.issue-info-chain a.chain-value:hover {
    color: #172133;
    text-decoration: underline;
}
.chain-verify-step-text h4.chain-verify-color-success,
.chain-verify-step-text span.chain-verify-color-success,
.chain-verify-step-text-final h3.chain-verify-color-success,
.chain-verify-footer p.chain-verify-color-success {
    color: #008000;
}
.chain-verify-step-text h4.chain-verify-color-muted,
.chain-verify-step-text span.chain-verify-color-muted,
.chain-verify-step-text-final h3.chain-verify-color-muted,
.chain-verify-footer p.chain-verify-color-muted {
    color: #666;
}
.chain-verify-step-text h4.chain-verify-color-fail,
.chain-verify-step-text span.chain-verify-color-fail,
.chain-verify-step-text-final h3.chain-verify-color-fail,
.chain-verify-footer p.chain-verify-color-fail {
    color: red;
}

.page-main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: normal;
}

/* site.css 全域 content-box：xs 的 25%+75%、sm 的 16.67%+83.33% 再加上 .plr-25 的左右 2.5px 就超過一列，
   值會被擠到下一行、之後每列的標籤／值整個錯位。桌機版（md）是靠 12.5%+86.5%=99% 留出空間才沒事；
   992px 以下改 border-box 讓兩格剛好 100%。 */
@media only screen and (max-width: 991px) {
    .CertData .lawyerInfo .el-row .el-col {
        box-sizing: border-box !important;
    }
}

/* ===== 律師基本資料頁手機版 =====
   標記上 el-col 帶的 el-col-xs-* 是舊站 Element UI 的柵欄（<768px 生效），本站只補了 sm/md，
   xs 沒定義，手機上就落回 el-col-4/6/10（16%/25%/41%），四格擠在一列。
   欄寬比照 Element UI 的 xs 柵欄；其餘規則來源是舊站 LawyerCert.vue 的 max-width:$screen-md-min 與 500px 兩段。 */
@media only screen and (max-width: 767px) {
    .CertData .el-col-xs-6 {
        width: 25%;
    }

    .CertData .el-col-xs-18 {
        width: 75%;
    }

    .CertData .el-col-xs-24 {
        width: 100%;
    }

    /* 姓名的值：舊站 xs=6 是因為後面還接一個 xs=12 的照片格把該列補滿；本站沒有那一格，
       若仍是 25%，後面的「英文姓名」標籤會擠上同一列，之後每列的標籤／值就整個錯位。改成 75% 補滿該列。 */
    .CertData .el-col-6.el-col-xs-6 {
        width: 75%;
    }

    /* 舊站在手機另有一個 xs=12 的照片格、底下這格 xs=0 隱藏；本站只有底下這一格，
       所以不隱藏，改讓它零高度，照片仍以 absolute 貼在姓名列右側（舊站 500px 以下：top 80px / left 80% / width 20% / 高 100px） */
    .CertData .lawyerInfo .el-row .el-col.el-col-xs-0 {
        padding: 0 !important;
        border-bottom: none;
        height: 0;
    }

    .CertData .lawyerInfo .lawyerImage {
        top: 70px;
        left: 78%;
        width: 20%;
        height: auto;
        max-height: 100px;
        border: 0;
        text-align: center;
    }

        .CertData .lawyerInfo .lawyerImage .picImage {
            max-height: 100px;
            max-width: 100%;
        }

    .lawyerCert {
        margin: 0 10px;
    }

    .CertData .lawyerInfo {
        padding: 16px;
        text-align: left;
    }

    .CertData .lawyerInfo .mail {
        width: 100% !important;
    }

    /* 雜湊值、電子郵件等長字串要能斷行，不然會被 .divHash 的 overflow:hidden 截掉 */
    .CertData .lawyerInfo .el-row .el-col span a,
    .CertData .lawyerInfo .el-row .el-col a,
    .span_clickAdvancedSearch3 {
        word-break: break-all;
    }

    /* 區塊鏈驗證橫幅：文字與按鈕改上下排，按鈕置中（舊站 .verifyDescript .el-button { display:flex; margin:0 auto }） */
    .verify-banner {
        flex-direction: column;
        padding: 20px;
    }

    .verify-banner-text span {
        font-size: 1.125rem;
    }

    .verify-banner-btn-box {
        justify-content: center;
        margin-top: 15px;
    }

    .verify-banner-btn {
        margin-left: 0;
        width: auto;
    }
}

/* 資料雜湊值／區塊鏈交易序號的滑鼠提示：bootstrap Tooltip 套 customClass，外觀比照舊站 Element UI 的深色 el-tooltip */
.chain-tooltip-popper {
    --bs-tooltip-bg: #303133;
    --bs-tooltip-color: #fff;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-font-size: 14px;
    --bs-tooltip-padding-x: 10px;
    --bs-tooltip-padding-y: 8px;
    --bs-tooltip-border-radius: 4px;
    --bs-tooltip-max-width: 320px;
}

/* 資料雜湊值的 <a> 裡面是被上面 .el-col span { float:left } 浮動的 span，inline 的 <a> 包不住浮動元素、
   自己會縮成零寬的空盒子，Tooltip 以它定位就跑到文字右端之外。讓 <a> 也 float:left 建立 BFC 把 span 包住，
   <a> 的盒子才等於文字範圍，提示會對準雜湊值正上方。 */
.divHash a.chain-tooltip {
    float: left; /* 用 float 而不是 inline-block：同樣能包住浮動的 span，但不會被父層 text-align:center 拉到中間 */
    max-width: 100%;
}
