/* 书源管理平台样式 */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    font-weight: 600;
}

.table th {
    border-top: none;
    font-weight: 600;
}

.btn {
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* 模态框样式 */
.modal-content {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 表单样式 */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 表格样式 */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    color: #6c757d;
}

/* 加载动画 */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* 分享链接样式 */
.share-link {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* 代码块样式 */
pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    font-size: 0.875rem;
}

/* 标签样式 */
.badge {
    font-size: 0.75rem;
}

/* 导航栏样式 */
.navbar-nav .nav-link {
    font-weight: 500;
}

/* 页脚样式 */
footer {
    margin-top: auto;
}

/* 确保页面最小高度 */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
