/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 文件夹和文件卡片样式 */
.folder-card, .file-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.folder-card:hover, .file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.folder-card {
    border-left: 4px solid #ffc107;
}

.file-card {
    border-left: 4px solid #6c757d;
}

.file-card:hover {
    border-left-color: #0d6efd;
}

/* 加载动画样式 */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
}

.loading-progress-text {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #666;
}

/* 错误UI样式 */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* 模态框样式调整 */
.modal-backdrop.show {
    opacity: 0.5;
}

.modal-dialog.modal-xl {
    max-width: 90%;
}

.table-responsive {
    max-height: 60vh;
    overflow-y: auto;
}
