/* 个人文件分享站 - 自定义样式 */
:root{
    --primary:#0d6efd;
    --bg:#f0f2f5;
}
html,body{height:100%;}
body{
    background:var(--bg);
    display:flex;
    flex-direction:column;
    min-height:100vh;
}
main{flex:1 0 auto;}

/* 文件卡片（大图标视图） */
.file-card{
    border:none;
    border-radius:12px;
    transition:transform .15s ease, box-shadow .15s ease;
    overflow:hidden;
}
.file-card:hover{
    transform:translateY(-3px);
    box-shadow:0 .5rem 1rem rgba(0,0,0,.12)!important;
}
.file-card .card-body{cursor:default;}
.file-icon{
    font-size:3.2rem;
    line-height:1;
}

/* 表格行悬停 */
.table-hover tbody tr:hover{cursor:default;}

/* 面包屑 */
.breadcrumb a{color:var(--primary);text-decoration:none;}
.breadcrumb a:hover{text-decoration:underline;}

/* 拖拽上传高亮 */
.border-primary{border:2px solid var(--primary)!important;}

/* 复选框对齐 */
.form-check-input{cursor:pointer;}

/* 模态框圆角 */
.modal-content{border-radius:12px;border:none;}

/* 按钮统一圆角 */
.btn{border-radius:.375rem;}

/* 友好滚动条 */
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:#c1c7d0;border-radius:5px;}
::-webkit-scrollbar-thumb:hover{background:#a8b0bb;}

/* 移动端图标缩小 */
@media (max-width:576px){
    .file-icon{font-size:2.4rem;}
}

/* 空状态 */
.text-muted.fs-1{opacity:.6;}

/* 卡片头部 */
.card-header{border-bottom:1px solid #eee;}
