/* NTP 服务器地址大全 - 页面样式 */
/* 作者：文字行走 | 网站：http://www.dc6i.cn */

.ntp-servers-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px;
    color: #1e2a3a;
}

/* 页面头部样式 */
.ntp-servers-page .page-header {
    margin-bottom: 28px;
    text-align: center;
}

.ntp-servers-page .page-header h1 {
    font-size: 1.9rem;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #1f6392, #2c7cb6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.ntp-servers-page .page-header .sub {
    color: #5f6c7a;
    border-left: 3px solid #2c7cb6;
    padding-left: 14px;
    margin-top: 6px;
    font-size: 0.9rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* 卡片区块 */
.ntp-servers-page .section-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 32px;
    overflow: hidden;
    transition: all 0.2s;
}

.ntp-servers-page .tabletitle {
    font-size: 1.35rem;
    font-weight: 600;
    padding: 16px 24px 8px 24px;
    border-left: 4px solid #2c7cb6;
    background: #ffffff;
    margin: 0;
    color: #0f3b5c;
    letter-spacing: -0.2px;
}

/* 表格容器 - 支持横向滚动 */
.ntp-servers-page .table-wrapper {
    overflow-x: auto;
    padding: 0 16px 16px 16px;
}

.ntp-servers-page .layui-table {
    width: 100%;
    margin: 0;
    background-color: #ffffff;
    border-radius: 16px;
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0;
}

.ntp-servers-page .layui-table thead tr th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e4663;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 12px;
    white-space: nowrap;
}

.ntp-servers-page .layui-table tbody tr td {
    padding: 12px 12px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
    word-break: break-word;
}

.ntp-servers-page .layui-table tbody tr:hover td {
    background-color: #fafcff;
}

/* 地址块样式 */
.ntp-servers-page .server-address {
    display: inline-block;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 24px;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin: 0 4px 6px 0;
    transition: all 0.1s ease;
    color: #1f6392;
    cursor: pointer;
    user-select: all;
}

.ntp-servers-page .server-address:hover {
    background: #e2edf9;
    transform: translateY(-1px);
}

.ntp-servers-page .server-address.copied {
    background: #d1fae5;
    color: #065f46;
}

.ntp-servers-page .address-group {
    line-height: 1.65;
}

.ntp-servers-page .remark-text {
    font-size: 0.75rem;
    color: #6c7a8a;
    margin-left: 4px;
}

/* 关于介绍板块 */
.ntp-servers-page .resttips {
    background: #f8fafd;
    border-radius: 24px;
    padding: 18px 24px;
    margin-top: 16px;
    border: 1px solid #eef3fc;
}

.ntp-servers-page .resttips .span_c5a0dab011 {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1f6392;
    display: block;
    margin-bottom: 12px;
}

.ntp-servers-page .resttips p {
    margin: 10px 0;
    line-height: 1.55;
    color: #2d4059;
    font-size: 0.9rem;
}

.ntp-servers-page .tips-note {
    background: #eef5ff;
    border-left: 4px solid #2c7cb6;
    padding: 12px 18px;
    border-radius: 16px;
    margin-top: 20px;
}

.ntp-servers-page footer {
    text-align: center;
    font-size: 0.8rem;
    color: #6c7e99;
    margin-top: 32px;
    border-top: 1px solid #e2edf2;
    padding-top: 20px;
}

/* 复制提示 */
.ntp-servers-page .copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.ntp-servers-page .copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 680px) {
    .ntp-servers-page {
        padding: 16px 12px;
    }
    .ntp-servers-page .tabletitle {
        font-size: 1.2rem;
        padding: 14px 16px 4px 16px;
    }
    .ntp-servers-page .table-wrapper {
        padding: 0 12px 12px 12px;
    }
    .ntp-servers-page .server-address {
        font-size: 0.8rem;
    }
}
