* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f2f6fc;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 30px 20px;
    color: #1f2d3d;
}

.phone-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 头部区域 — 居中布局 */
.header-area {
    text-align: center;
    margin-bottom: 32px;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1c6e4b;
    margin-bottom: 6px;
}

.sub {
    color: #54708f;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* 搜索框居中 + 适当宽度 */
.search-wrapper {
    background: white;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 4px 20px;
    border: 1px solid #dce8f0;
    transition: all 0.2s;
    max-width: 500px;
    margin: 0 auto 12px auto;
}

.search-wrapper:focus-within {
    border-color: #2c9e6e;
    box-shadow: 0 0 0 3px rgba(44, 158, 110, 0.1);
}

.search-icon {
    color: #8aa4bc;
    font-size: 1.1rem;
    margin-right: 8px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
    color: #1e4663;
}

.search-input::placeholder {
    color: #b7ccdf;
}

.clear-btn {
    background: #eef3f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: #5f7f9e;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.clear-btn:hover {
    background: #d9e4ef;
    color: #2c5a7a;
}

.search-stats {
    font-size: 0.8rem;
    color: #2c9e6e;
    background: #e6f4ef;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 30px;
    margin-top: 4px;
}

/* 卡片式表格 */
.card-section {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    overflow-x: auto;
}

.table-title {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 18px 24px 8px 24px;
    color: #0a5b7c;
    border-left: 5px solid #2c9e6e;
    background: #fefefe;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 660px;
}

.modern-table th {
    background: #f8fafd;
    color: #1e4663;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
}

.modern-table td {
    padding: 12px 12px;
    border-bottom: 1px solid #ecf3f9;
    text-align: center;
    vertical-align: top;
    background-color: #ffffff;
}

.modern-table tr:hover td {
    background-color: #f9fefb;
}

.phone-num {
    font-family: 'SF Mono', 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 600;
    color: #1a6d4c;
    background: #eff8f2;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.1s;
}

.phone-num:active {
    background: #cde6db;
}

.dept-name {
    font-weight: 500;
    color: #2c3e4e;
}

/* 无结果提示行 */
.no-match-row td {
    background-color: #fef8e7;
    color: #b16e2e;
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.info-footer {
    background: #eef5f9;
    border-radius: 20px;
    padding: 20px 28px;
    margin-top: 20px;
    border-left: 4px solid #2c9e6e;
}

.info-footer h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1b4d6e;
    margin-bottom: 12px;
}

.info-footer p {
    margin: 8px 0;
    font-size: 0.85rem;
    color: #2c4b66;
}

.update-badge {
    text-align: right;
    font-size: 0.7rem;
    color: #7890a5;
    margin-top: 16px;
    border-top: 1px solid #dce5ec;
    padding-top: 12px;
}

.copy-tip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e2f3c;
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.2s;
    backdrop-filter: blur(8px);
}

@media (max-width: 680px) {
    body {
        padding: 16px 12px;
    }
    .main-title {
        font-size: 1.5rem;
    }
    .table-title {
        font-size: 1.2rem;
        padding: 14px 18px 6px 18px;
    }
    .modern-table th, .modern-table td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    .search-wrapper {
        max-width: 94%;
    }
}
