﻿/* =========================================
   family-maid.css
   1. 全域 / 頁面背景
   2. tab21 家庭幫傭申請資格
   3. tab22 家庭幫傭申請條件
   4. tab23 家庭幫傭應備文件
   5. tab24 家庭幫傭聘僱費用
   6. RWD
   ========================================= */

/* =========================================
   1. 全域 / 頁面背景
   ========================================= */

.page-helper-kai .visual-title,
.page-helper-kai .breadcrumb,
.page-helper-kai .nav-tabs .nav-link,
.page-helper-kai .demo-wrapper,
.page-helper-kai .demo-wrapper h3,
.page-helper-kai .demo-wrapper h4,
.page-helper-kai .demo-wrapper h5,
.page-helper-kai .demo-wrapper h6,
.page-helper-kai .demo-wrapper p,
.page-helper-kai .demo-wrapper li,
.page-helper-kai .card-header a,
.page-helper-kai .card-block,
.page-helper-kai .table,
.page-helper-kai .table th,
.page-helper-kai .table td {
    font-family: "DFKai-SB", "BiauKai", "KaiTi", serif;
}

.page-helper-kai .content-wrapper {
    background: #f5f7fb;
    padding-top: 32px;
    padding-bottom: 56px;
}

.page-helper-kai .content-block {
    background: transparent;
}

.page-helper-kai .tab-content {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 24px 20px 32px;
}

#tab21,
#tab22,
#tab23,
#tab24 {
    background: transparent;
}

/* =========================================
   2. tab21 家庭幫傭申請資格
   ========================================= */

#tab21 .demo-wrapper.content-block.text-center {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab21 .demo-wrapper.content-block.text-center > h3 {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
}

#tab21 .divider-double-border {
    margin-bottom: 32px;
}

#tab21 .helper-grid-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab21 .helper-section-block + .helper-section-block {
    margin-top: 36px;
}

#tab21 .helper-section-title {
    margin: 0 0 18px 0;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #374151;
}

#tab21 .helper-grid {
    display: grid;
    gap: 24px;
}

#tab21 .helper-grid-single {
    grid-template-columns: 1fr;
}

#tab21 .helper-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab21 .helper-card-header {
    background: linear-gradient(135deg, #4f46e5, #5b4df0);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

#tab21 .helper-card-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab21 .helper-card-body p {
    margin: 0 0 14px 0;
}

#tab21 .helper-card-body p:last-child {
    margin-bottom: 0;
}

/* tab21 - 國外雇主資格條列 */

#tab21 .helper-card-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

#tab21 .helper-card-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

#tab21 .helper-card-section-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

#tab21 .helper-card-section-desc {
    margin: 0 0 12px 0;
}

#tab21 .helper-card-translation {
    margin-top: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.85;
}

#tab21 .helper-card-translation p {
    margin: 0;
}

/* tab21 - 求才流程卡 */

#tab21 .helper-process-box {
    margin-top: 14px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

#tab21 .helper-process-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

#tab21 .helper-process-text {
    margin: 0;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
}

#tab21 .helper-process-alert {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

/* =========================================
   3. tab22 家庭幫傭申請條件
   ========================================= */

#tab22 .demo-wrapper {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab22 .demo-wrapper > h3,
#tab22 .demo-wrapper > .element-heading {
    text-align: center;
}

#tab22 .helper-condition-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab22 .helper-condition-card,
#tab22 .helper-condition-table-panel,
#tab22 .helper-condition-note-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab22 .helper-condition-card {
    margin-bottom: 24px;
}

#tab22 .helper-condition-header,
#tab22 .helper-condition-table-header,
#tab22 .helper-condition-note-header {
    background: linear-gradient(135deg, #4f46e5, #5b4df0);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

#tab22 .helper-condition-body,
#tab22 .helper-condition-table-body,
#tab22 .helper-condition-note-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab22 .helper-condition-body p,
#tab22 .helper-condition-note-body p {
    margin: 0 0 12px 0;
}

#tab22 .helper-condition-body p:last-child,
#tab22 .helper-condition-note-body p:last-child {
    margin-bottom: 0;
}

#tab22 .helper-condition-alert {
    color: #d60000;
    font-weight: 700;
}

#tab22 .helper-condition-subsection {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

#tab22 .helper-condition-subsection:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

#tab22 .helper-condition-subtitle {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

#tab22 .helper-condition-table-title {
    margin: 0 0 18px 0;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #374151;
}

#tab22 .helper-condition-table-body .data-table {
    margin: 0;
}

#tab22 .helper-condition-table-body .table {
    width: 100%;
    margin-bottom: 0;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.75;
    border-collapse: collapse;
}

#tab22 .helper-condition-table-body .table thead th,
#tab22 .helper-condition-table-body .table .bg-secondary {
    background: #ff6436 !important;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
    border-color: #ff6436 !important;
}

#tab22 .helper-condition-table-body .table th,
#tab22 .helper-condition-table-body .table td {
    padding: 16px 14px;
    vertical-align: middle;
    border-color: #e5e7eb;
}

#tab22 .helper-condition-table-body .table tbody td,
#tab22 .helper-condition-table-body .table tbody th {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

#tab22 .helper-condition-table-body .table tbody tr:nth-child(even) {
    background: #fafafa;
}

#tab22 .helper-condition-table-body .table tbody td:nth-child(2) {
    text-align: left;
    line-height: 1.9;
}

#tab22 .helper-condition-table-body .table tbody td:last-child,
#tab22 .helper-condition-table-body .table thead th:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
}

#tab22 .helper-condition-note-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab22 .helper-condition-note-list li {
    margin-bottom: 10px;
    line-height: 1.9;
}

#tab22 .helper-condition-note-list li:last-child {
    margin-bottom: 0;
}

#tab22 .helper-condition-priority {
    margin-top: 16px;
    padding: 16px 18px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

#tab22 .helper-condition-priority p {
    margin: 0 0 10px 0;
    color: #d60000;
    font-weight: 700;
}

#tab22 .helper-condition-priority p:last-child {
    margin-bottom: 0;
}

/* =========================================
   4. tab23 家庭幫傭應備文件
   ========================================= */

#tab23 .demo-wrapper.content-block.text-center {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab23 .demo-wrapper.content-block.text-center > h3 {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
}

#tab23 .divider-double-border {
    margin-bottom: 32px;
}

#tab23 .maid-doc-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab23 .maid-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

#tab23 .maid-doc-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
}

#tab23 .maid-doc-card-header {
    background: linear-gradient(135deg, #4f46e5, #5b4df0);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

#tab23 .maid-doc-card-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab23 .maid-doc-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab23 .maid-doc-list li {
    margin-bottom: 14px;
    line-height: 1.9;
}

#tab23 .maid-doc-list li:last-child {
    margin-bottom: 0;
}

#tab23 .maid-doc-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

/* tab23 收尾微調 */

#tab23 .maid-doc-section + .maid-doc-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

#tab23 .maid-doc-section-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

#tab23 .maid-doc-section-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

#tab23 .maid-doc-section-note + .maid-doc-section-title {
    margin-top: 16px;
}

/* =========================================
   5. tab24 家庭幫傭聘僱費用
   ========================================= */

#tab24 .demo-wrapper.content-block.pb-0 {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

#tab24 .demo-wrapper.content-block.pb-0 > h3 {
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
}

#tab24 .maid-fee-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#tab24 .maid-fee-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

#tab24 .maid-fee-summary-card,
#tab24 .maid-fee-table-panel,
#tab24 .maid-fee-analysis-panel {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#tab24 .maid-fee-summary-card-header,
#tab24 .maid-fee-table-panel-header,
#tab24 .maid-fee-analysis-header {
    background: linear-gradient(135deg, #4f46e5, #5b4df0);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}

#tab24 .maid-fee-summary-card-body,
#tab24 .maid-fee-table-panel-body,
#tab24 .maid-fee-analysis-body {
    padding: 24px 28px;
    color: #374151;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
}

#tab24 .maid-fee-summary-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab24 .maid-fee-summary-list li {
    margin-bottom: 12px;
    line-height: 1.9;
}

#tab24 .maid-fee-summary-list li:last-child {
    margin-bottom: 0;
}

#tab24 .maid-fee-section-title {
    margin: 30px 0 16px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #374151;
}

#tab24 .maid-fee-alert {
    margin: 20px auto 24px;
    padding: 18px 20px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #d60000;
    border-radius: 12px;
    line-height: 1.8;
    text-align: center;
    font-size: 16px;
}

#tab24 .maid-fee-alert p {
    margin: 0 0 10px 0;
}

#tab24 .maid-fee-alert p:last-child {
    margin-bottom: 0;
}

#tab24 .maid-fee-table-panel-body .data-table,
#tab24 .maid-fee-analysis-table {
    margin: 0;
}

#tab24 .maid-fee-table-panel-body .table,
#tab24 .maid-fee-analysis-table .table {
    width: 100%;
    margin-bottom: 0;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.75;
    border-collapse: collapse;
}

#tab24 .maid-fee-table-panel-body .table thead th,
#tab24 .maid-fee-table-panel-body .table .bg-secondary,
#tab24 .maid-fee-analysis-table .table thead th {
    background: #ff6436 !important;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
    border-color: #ff6436 !important;
}

#tab24 .maid-fee-table-panel-body .table th,
#tab24 .maid-fee-table-panel-body .table td,
#tab24 .maid-fee-analysis-table .table th,
#tab24 .maid-fee-analysis-table .table td {
    padding: 14px 12px;
    vertical-align: middle;
    border-color: #e5e7eb;
}

#tab24 .maid-fee-table-panel-body .table tbody td,
#tab24 .maid-fee-table-panel-body .table tbody th,
#tab24 .maid-fee-analysis-table .table tbody td,
#tab24 .maid-fee-analysis-table .table tbody th {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

#tab24 .maid-fee-table-panel-body .table tbody tr:nth-child(even),
#tab24 .maid-fee-analysis-table .table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* tab24 費用分析卡 */

#tab24 .maid-fee-analysis-panel {
    margin-bottom: 28px;
}

#tab24 .maid-fee-analysis-formula {
    margin-bottom: 22px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
}

#tab24 .maid-fee-analysis-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

#tab24 .maid-fee-analysis-equation {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.8;
}

#tab24 .maid-fee-analysis-subtitle {
    margin: 0 0 14px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

#tab24 .maid-fee-analysis-note-list {
    margin: 0;
    padding-left: 1.4em;
}

#tab24 .maid-fee-analysis-note-list li {
    margin-bottom: 10px;
    line-height: 1.9;
}

#tab24 .maid-fee-analysis-note-list li:last-child {
    margin-bottom: 0;
}

/* =========================================
   6. RWD
   ========================================= */

@media (max-width: 992px) {
    #tab23 .maid-doc-grid,
    #tab24 .maid-fee-summary-grid {
        grid-template-columns: 1fr;
    }
}