a.xmd-link {
    color: #0084ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.xmd-link:hover {
    color: #0071da;
    text-decoration: none;
}

a.xmd-link:active {
    color: #0056a7;
}


a.xmd-link-blank {
    color: #0084ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.xmd-link-blank:hover {
    color: #0071da;
    text-decoration: none;
}

a.xmd-link-blank:active {
    color: #0056a7;
}

.xmd-code {
    padding: 0.3em 0.4em;
    line-height: 2;
    margin: 0;
    font-size: 100%;
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.xmd-hr {
    display: inline-block;
    height: 1.5px;
    width: 100%;
    margin: 1.5rem 0;
    padding: 0;
    border: none;
    background-color: #e5e7eb; /* 浅灰色分割线，可根据需要调整颜色 */
    overflow: hidden;
    box-sizing: content-box;
}

.xmd-strong {
    font-weight: bold;
    color: inherit;
}

.xmd-bold-italic {
    font-weight: bold;
    font-style: italic;
}

.xmd-italic {
    font-style: italic;
}

.xmd-gray-italic {
    font-style: italic;
    color: #888;
}

.xmd-bold-gray-italic {
    font-weight: bold;
    color: #888; /* 灰色 */
    font-style: italic;
}

.xmd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.xmd-table th, .xmd-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.xmd-table th {
    background-color: #f2f2f2;
}

.xmd-underline {
    text-decoration: underline;
}

.xmd-strikethrough {
    text-decoration: line-through;
}

.xmd-highlight {
    background-color: yellow;
    color: black;
    padding: 3px 4px; /* 增加内边距使背景色范围更大 */
    border-radius: 3px; /* 圆角 */
    display: inline-block; /* 确保内边距正确应用 */
}



/* 移除列表项的默认标记 */
.xmd-tasklist {
  list-style: none;
  padding-left: 0;
}

.xmd-tasklist li {
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 8px; /* 增加列表项之间的间距 */
}

/* 复选框基础样式 */
.xmd-tasklist .xmd-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
  cursor: default;
  position: relative;
  box-sizing: border-box;
}

/* 选中状态样式 - 蓝色背景 */
.xmd-tasklist .xmd-checkbox[data-checked="true"] {
  background-color: #2563eb; /* 蓝色背景 */
  border: 2px solid #2563eb; /* 蓝色边框，保持原有宽度 */
}

/* 居中的对勾标记 */
.xmd-tasklist .xmd-checkbox[data-checked="true"]::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* 未选中状态样式 - 灰色窄边框 */
.xmd-tasklist .xmd-checkbox[data-checked="false"] {
  background-color: transparent;
  border: 1px solid #9ca3af; /* 灰色窄边框（1px） */
}


.xmd-align-center {
    display: block;
    text-align: center;
}

.xmd-align-left {
    display: block;
    text-align: left;
}

.xmd-align-right {
    display: block;
    text-align: right;
}