/* assets/css/style.css */

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 容器 */
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* 标题 */
h1, h2, h3, h4 {
  margin-bottom: 20px;
  color: #222;
}

/* 链接 */
a {
  color: #0066cc;
}
a:hover {
  text-decoration: underline;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table th,
table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
table th {
  background: #f8f8f8;
}

/* 表单元素 */
input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* 错误提示 */
.error {
  padding: 10px;
  background: #ffdddd;
  border: 1px solid #dd4444;
  margin-bottom: 15px;
  border-radius: 4px;
}

/* Markdown 渲染内容 */
.content {
  margin-top: 20px;
}
.content img {
  max-width: 100%;
  height: auto;
}

/* 覆盖 Bootstrap 的 .bg-light 主背景色，如需自定义可在这里调整 */
body.bg-light {
  background-color: #f9f9f9 !important;
}
