body {
    background-image: url('/static/bg.jpg');  /* 确保路径正确 */
    background-size: cover;  /* 保持比例，覆盖整个背景 */
    background-position: center;  /* 居中显示 */
    background-repeat: no-repeat;  /* 不重复 */
    min-height: 100vh;  /* 最小高度为视口高度 */
    display: flex;
    align-items: center;
    justify-content: center;  /* 居中对齐 */
    background-color: transparent;  /* 设置为透明 */
    color: white;  /* 设置默认字体颜色为白色 */
}

.card {
    background-color: rgba(33, 37, 41, 0.8);  /* 半透明深色背景 */
    color: white;  /* 确保卡片内文字为白色 */
}

.table th, .table td {
    color: white !important;  /* 强制设置表格标题和内容文字为白色 */
}

.table thead th {
    color: white !important;  /* 强制设置表头文字为白色 */
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;  /* 输入框文字为白色 */
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;  /* 聚焦时文字为白色 */
}

.form-label {
    color: white;  /* 标签文字为白色 */
}

/* 确保所有按钮文字为白色 */
.btn {
    color: white !important;  /* 强制设置按钮文字为白色 */
}
