/* ============================================================
   about_business.css - 業務範圍獨立樣式
   ============================================================ */

/* ============================================================
   頁面容器
   ============================================================ */
.about-business-page .main-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem;
    height: auto;
    min-height: 80vh;
}

.about-business-page .section-business {
    padding: 0.5rem 0;
}

/* ============================================================
   頁面標題
   ============================================================ */
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    background: linear-gradient(135deg, #1a3c5e, #2a5f8a);
    color: white;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f263b;
    letter-spacing: 1px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a3c5e, #6f8aa3);
    margin: 0.5rem auto 0.8rem;
    border-radius: 4px;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-hint {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* ============================================================
   業務表格容器
   ============================================================ */
.business-tables {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* ============================================================
   表格包裝器
   ============================================================ */
.business-table-wrapper {
    background: white;
    border-radius: 18px;
    border: 1px solid #e6edf5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s ease;
}

.business-table-wrapper:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* ============================================================
   表格標題區
   ============================================================ */
.table-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8fafc, #f1f4f9);
    border-bottom: 1px solid #e6edf5;
}

.table-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a3c5e;
    border-radius: 12px;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s;
}

.business-table-wrapper:hover .table-icon {
    transform: scale(1.05) rotate(-5deg);
}

.table-title-group {
    flex: 1;
}

.table-title-group h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f263b;
}

.table-title-group p {
    font-size: 0.8rem;
    color: #6f8aa3;
    margin-top: 2px;
}

.table-badge {
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    background: #1a3c5e;
    color: white;
    flex-shrink: 0;
}

.table-badge.badge-data {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.table-badge.badge-security {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* ============================================================
   表格本體
   ============================================================ */
.table-scroll {
    overflow-x: auto;
    padding: 0 4px;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #f1f4f9;
    border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.business-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}

.business-table thead {
    background: #f8fafc;
}

.business-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: #1a3c5e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e6edf5;
}

.business-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f4f9;
}

.business-table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.005);
}

.business-table tbody tr:last-child {
    border-bottom: none;
}

.business-table tbody td {
    padding: 14px 20px;
    color: #1e2b3c;
    vertical-align: middle;
}

/* 服務圖標 */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f0f4fa;
    border-radius: 6px;
    color: #1a3c5e;
    font-size: 0.8rem;
    margin-right: 8px;
    transition: all 0.3s;
}

.business-table tbody tr:hover .service-icon {
    background: #1a3c5e;
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

/* ============================================================
   標籤
   ============================================================ */
.tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 500;
    margin: 2px 3px;
}

.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-green { background: #dcfce7; color: #15803d; }
.tag-purple { background: #ede9fe; color: #7c3aed; }
.tag-orange { background: #fef3c7; color: #d97706; }
.tag-red { background: #fee2e2; color: #dc2626; }

/* ============================================================
   表格底部
   ============================================================ */
.table-footer {
    display: flex;
    gap: 24px;
    padding: 12px 24px;
    background: #fafbfc;
    border-top: 1px solid #e6edf5;
}

.table-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6f8aa3;
}

.table-stat i {
    color: #1a3c5e;
    font-size: 0.85rem;
}

/* ============================================================
   服務流程
   ============================================================ */
.process-section {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #e6edf5;
}

.process-section h3 {
    text-align: center;
    font-size: 1.3rem;
    color: #0f263b;
    margin-bottom: 20px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.process-step {
    background: white;
    padding: 16px 20px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #e6edf5;
    min-width: 110px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.process-step:hover {
    border-color: #1a3c5e;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.step-num {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #1a3c5e;
    opacity: 0.3;
    margin-bottom: 2px;
}

.process-step i {
    font-size: 1.5rem;
    color: #1a3c5e;
    margin: 4px 0;
}

.process-step h4 {
    font-size: 0.85rem;
    color: #0f263b;
}

.process-step p {
    font-size: 0.65rem;
    color: #6f8aa3;
}

.process-arrow {
    color: #cbd5e1;
    font-size: 1.2rem;
}

/* ============================================================
   響應式設計
   ============================================================ */
@media (max-width: 992px) {
    .table-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 18px;
    }

    .table-title-group h3 {
        font-size: 1rem;
    }

    .business-table {
        font-size: 0.8rem;
        min-width: 500px;
    }

    .business-table thead th,
    .business-table tbody td {
        padding: 10px 14px;
    }

    .process-flow {
        gap: 4px;
    }

    .process-step {
        min-width: 80px;
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
	
	.about-business-page .section-business {
	padding-bottom: 5rem;
	}

    .about-business-page .main-content {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-hint {
        font-size: 0.8rem;
    }

    .business-tables {
        gap: 20px;
    }

    .table-header {
        padding: 12px 16px;
        gap: 10px;
    }

    .table-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .table-title-group h3 {
        font-size: 0.9rem;
    }

    .table-title-group p {
        font-size: 0.7rem;
    }

    .table-badge {
        font-size: 0.55rem;
        padding: 3px 12px;
    }

    .business-table {
        font-size: 0.7rem;
        min-width: 420px;
    }

    .business-table thead th,
    .business-table tbody td {
        padding: 8px 12px;
    }

    .service-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .tag {
        font-size: 0.55rem;
        padding: 1px 8px;
    }

    .table-footer {
        padding: 10px 16px;
        gap: 16px;
        flex-wrap: wrap;
    }

    .table-stat {
        font-size: 0.7rem;
    }

    .process-step {
        min-width: 60px;
        padding: 10px 12px;
    }

    .process-step i {
        font-size: 1.2rem;
    }

    .process-step h4 {
        font-size: 0.7rem;
    }

    .process-step p {
        font-size: 0.55rem;
    }

    .process-arrow {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.2rem;
    }

    .page-badge {
        font-size: 0.65rem;
        padding: 3px 12px;
    }

    .section-hint {
        font-size: 0.7rem;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-badge {
        align-self: flex-start;
    }

    .business-table {
        font-size: 0.65rem;
        min-width: 360px;
    }

    .business-table thead th,
    .business-table tbody td {
        padding: 6px 10px;
    }

    .service-icon {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        margin-right: 4px;
    }

    .tag {
        font-size: 0.5rem;
        padding: 1px 6px;
        margin: 1px 2px;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-step {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 435px) {
	.business-table {
        font-size: 0.6rem;
    }
}

@media (max-width: 410px) {
	.business-table {
        font-size: 0.55rem;
    }
}