* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局自定义鼠标指针 - 使用简单路径 */
html, body {
    cursor: url('/static/images/mouse1.png'), auto !important;
}

/* 确保所有元素都继承鼠标指针样式 */
* {
    cursor: inherit !important;
}

/* 为交互元素特别指定 */
a, button, input, textarea, select {
    cursor: url('/static/images/mouse1.png'), pointer !important;
}


.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

/* 让图片高度与父div一致，宽度自适应 */
img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* 自定义滚动条样式 - 适用于WebKit浏览器（Chrome, Safari等） */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #45b06cff;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a9a5b;
}

/* 自定义滚动条样式 - 适用于Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #45b06cff #f1f1f1;
}

/* 为HTML和Body元素确保滚动条样式应用 */
html, body {
    scrollbar-width: thin;
    scrollbar-color: #45b06cff #f1f1f1;
}
