/* ============================================
   鞋码尺寸对照表工具样式
   ============================================ */

/* 鞋码对照表容器 */
.size-conversion-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 单个表格区域 */
.size-table {
    margin-bottom: 40px;
}

.size-table h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.size-table h2 i {
    color: #4285f4;
}

/* 表格容器（横向滚动） */
.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 表格样式 */
.size-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: center;
}

.size-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.size-table thead th {
    padding: 16px 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #495057;
}

/* 斑马纹效果 */
.size-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.size-table tbody tr:hover {
    background-color: #e7f3ff;
    transition: background-color 0.2s ease;
}

/* 第一列（中国码）加粗 */
.size-table tbody td:first-child {
    font-weight: 600;
    color: #333;
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板端 */
@media (max-width: 768px) {
    .size-table h2 {
        font-size: 1.4rem;
    }

    .size-table thead th {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .size-table tbody td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* 手机端 */
@media (max-width: 480px) {
    .size-table {
        margin-bottom: 30px;
    }

    .size-table h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .size-table thead th {
        padding: 10px 6px;
        font-size: 0.75rem;
    }

    .size-table tbody td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}
