body { margin: 0; background-color: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.content-container { max-width: 1400px; margin: 0 auto; padding: 20px; }

/* 标题样式 */
#title { font-size: 18px; font-weight: 600; color: #1e293b; margin: 0 0 20px 0; display: flex; align-items: center; }
#title .curr { display: inline-block; padding: 4px 12px; border-radius: 6px; background: #e0e7ff; color: #4338ca; margin-left: 10px; font-size: 14px; }

/* 顶部按钮栏 */
.btn_list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 20px; }
.btn_list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; color: #475569; text-decoration: none; font-size: 14px; transition: all 0.2s; }
.btn_list a:hover { background: #f1f5f9; border-color: #cbd5e1; color: #0f172a; transform: translateY(-1px); }
.btn_list span { color: #cbd5e1; display: none; } /* 隐藏原来的分隔符 */

/* 搜索框 */
.searchBox { display: flex; gap: 10px; align-items: center; padding: 16px; margin-bottom: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.searchBox .layui-input-inline { margin: 0; }

/* 文件夹列表 */
.folder-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-bottom: 20px; }
.folder-item { display: block; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #334155; text-align: center; text-decoration: none; transition: all 0.2s; }
.folder-item:hover { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

/* 操作栏 */
.img-edit { display: flex; gap: 15px; align-items: center; padding: 12px 20px; margin-bottom: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 10px; z-index: 100; }

/* 图片列表 Grid 布局 */
.img-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; width: 100%; }

/* 单个图片卡片 */
.img-item { 
    display: flex; flex-direction: column; 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 10px; 
    overflow: hidden; 
    transition: all 0.3s ease; 
    position: relative; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.img-item:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* 状态颜色边框 */
.img-item.private { border-left: 4px solid #f59e0b; background: #fffbeb; }
.img-item.member { border-left: 4px solid #ef4444; background: #fef2f2; }
.img-item.public { border-left: 4px solid #10b981; background: #fff; }

.img-item .img-wrapper { 
    width: 100%; 
    height: 180px; 
    background: #f8fafc; 
    display: flex; align-items: center; justify-content: center; 
    overflow: hidden;
    position: relative;
}
.img-item img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    transition: transform 0.3s;
}
.img-item:hover img { transform: scale(1.05); }

.img-item .info { padding: 12px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.img-item .title { font-size: 14px; color: #334155; margin-bottom: 8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.img-item .actions { 
    display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.05); 
}
.action-btn { 
    border: none; background: transparent; cursor: pointer; color: #64748b; font-size: 18px; padding: 4px; border-radius: 4px; transition: color 0.2s;
}
.action-btn:hover { color: #0f172a; background: rgba(0,0,0,0.05); }

.checkbox-wrapper { position: absolute; top: 10px; left: 10px; z-index: 10; }

/* 保留旧的样式，以防万一 */
.ui-state-highlight {
    border: 1px solid #fcefa1;
    background: #fbf9ee 50% 50% repeat-x;
    color: #363636;
}
.draggable {
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
    width: 130px;
    height: 180px;
    padding: 0.5em;
    float: left;
    margin: 3px 3px 3px 0;
}
