@charset "utf-8";
/* 電腦版彈窗共用樣式：與新版內頁（css/inner-modern.css）同一套色彩、圓角與按鈕 */
body.popup-modern {
    margin: 0;
    padding: 16px;
    background: #fff;
    color: #172033;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

body.popup-modern a {
    color: #075ea8;
}

body.popup-modern a:focus-visible,
body.popup-modern button:focus-visible,
body.popup-modern input:focus-visible,
body.popup-modern select:focus-visible,
body.popup-modern textarea:focus-visible {
    outline: 2px solid #0d7cd7;
    outline-offset: 2px;
}

/* 卡片 */
body.popup-modern .panel {
    margin: 0 0 16px;
    border: 1px solid #d9dee5;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

body.popup-modern .panel > .panel-heading {
    padding: 12px 18px;
    border-bottom: 1px solid #d9dee5;
    border-radius: 0;
    background: #f5f9fd;
    color: #172033;
    font-size: 16px;
    font-weight: 600;
}

body.popup-modern .panel > .panel-heading .fa,
body.popup-modern .panel > .panel-heading .glyphicon {
    margin-right: 6px;
    color: #0d7cd7;
}

body.popup-modern .panel > .panel-body {
    padding: 16px 18px;
}

body.popup-modern .breadcrumb {
    margin: 0 0 12px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #5a6475;
    font-size: 14px;
}

/* 表格 */
body.popup-modern .table {
    margin-bottom: 0;
    font-size: 15px;
}

body.popup-modern .table > tbody > tr > td,
body.popup-modern .table > tbody > tr > th,
body.popup-modern .table > thead > tr > th {
    padding: 10px 12px;
    border-top: 1px solid #edf1f5;
    vertical-align: middle;
}

body.popup-modern .table > tbody > tr:first-child > td,
body.popup-modern .table > tbody > tr:first-child > th {
    border-top: 0;
}

body.popup-modern .table > tbody > tr.active > td,
body.popup-modern .table > tbody > tr > td.active,
body.popup-modern .table > tbody > tr.info > td,
body.popup-modern .table > tbody > tr > td.info,
body.popup-modern .table > tbody > tr.success > td,
body.popup-modern .table > tbody > tr > td.success,
body.popup-modern .table > tbody > tr.warning > td,
body.popup-modern .table > tbody > tr > td.warning {
    background: #f5f9fd;
}

/* 表單 */
body.popup-modern .form-control,
body.popup-modern input[type="text"],
body.popup-modern input[type="password"],
body.popup-modern input[type="email"],
body.popup-modern input[type="tel"],
body.popup-modern select,
body.popup-modern textarea {
    min-height: 42px;
    padding: 6px 14px;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: none;
    color: #172033;
    font-size: 15px;
}

body.popup-modern .form-control:focus,
body.popup-modern input[type="text"]:focus,
body.popup-modern input[type="password"]:focus,
body.popup-modern select:focus,
body.popup-modern textarea:focus {
    border-color: #0d7cd7;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(13, 124, 215, 0.16);
}

body.popup-modern .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

body.popup-modern .input-group-btn > .btn {
    border-radius: 0 10px 10px 0;
}

/* 按鈕 */
body.popup-modern .btn,
body.popup-modern input[type="button"],
body.popup-modern input[type="submit"] {
    display: inline-flex;
    min-height: 42px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #d9dee5;
    border-radius: 999px;
    background: #fff;
    background-image: none;
    box-shadow: none;
    color: #172033;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-shadow: none;
    cursor: pointer;
}

body.popup-modern .btn-xs,
body.popup-modern .btn-sm {
    min-height: 34px;
    padding: 0 14px;
    font-size: 14px;
}

body.popup-modern .btn-primary,
body.popup-modern .btn-info,
body.popup-modern .btn-main,
body.popup-modern input[type="submit"] {
    border-color: #0d7cd7;
    background: #0d7cd7;
    color: #fff;
}

body.popup-modern .btn-primary:hover,
body.popup-modern .btn-info:hover,
body.popup-modern .btn-main:hover,
body.popup-modern input[type="submit"]:hover {
    border-color: #075ea8;
    background: #075ea8;
    color: #fff;
}

body.popup-modern .btn-success {
    border-color: #16845b;
    background: #16845b;
    color: #fff;
}

body.popup-modern .btn-warning {
    border-color: #f2a900;
    background: #f2a900;
    color: #2c2810;
}

body.popup-modern .btn-danger {
    border-color: #c9302c;
    background: #c9302c;
    color: #fff;
}

body.popup-modern .btn[disabled],
body.popup-modern .btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* 分頁 */
body.popup-modern .pagination > li > a,
body.popup-modern .pagination > li > span {
    min-width: 38px;
    padding: 8px 12px;
    border-color: #d9dee5;
    color: #075ea8;
    text-align: center;
}

body.popup-modern .pagination > .active > a,
body.popup-modern .pagination > .active > span {
    border-color: #0d7cd7;
    background: #0d7cd7;
    color: #fff;
}

/* 標籤與提示 */
body.popup-modern .label {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

body.popup-modern .alert {
    border-radius: 12px;
}

body.popup-modern img {
    max-width: 100%;
    height: auto;
}

body.popup-modern .thumbnail {
    border-color: #d9dee5;
    border-radius: 12px;
}

/* 舊的「關閉視窗」圖片按鈕 */
body.popup-modern img[src*="close_bt"],
body.popup-modern img[src*="closebt"],
body.popup-modern img[src*="close.gif"] {
    max-width: none;
}

body.popup-modern .btn-main2 {
    border-color: #f2a900;
    background: #f2a900;
    color: #2c2810 !important;
}

/* 關閉視窗 */
body.popup-modern .popup-close-row {
    margin: 16px 0 0;
    text-align: center;
}

/* 說明條列 */
body.popup-modern .popup-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.popup-modern .popup-list > li {
    padding: 12px 0;
    border-top: 1px solid #edf1f5;
}

body.popup-modern .popup-list > li:first-child {
    padding-top: 0;
    border-top: 0;
}

body.popup-modern .popup-list b.popup-term {
    color: #075ea8;
}

body.popup-modern .popup-note {
    display: block;
    margin-top: 4px;
    color: #5a6475;
    font-size: 14px;
}
